forked from open-telemetry/opentelemetry-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] Move mdatagen code to internal, no public API needed (open-te…
…lemetry#11181) Signed-off-by: Bogdan Drutu <[email protected]>
- Loading branch information
1 parent
8db93c2
commit 2c0941f
Showing
83 changed files
with
120 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
cmd/mdatagen/embeded_templates.go → cmd/mdatagen/internal/embeded_templates.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
// Copyright The OpenTelemetry Authors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package main | ||
package internal // import "go.opentelemetry.io/collector/cmd/mdatagen/internal" | ||
|
||
import "embed" | ||
|
||
// templateFS ensures that the files needed | ||
// TemplateFS ensures that the files needed | ||
// to generate metadata as an embedded filesystem since | ||
// `go get` doesn't require these files to be downloaded. | ||
// | ||
//go:embed templates/*.tmpl templates/testdata/*.tmpl | ||
var templateFS embed.FS | ||
var TemplateFS embed.FS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.