import "istio.io/istio/pkg/config/schema"
Code generated for package schema by go-bindata DO NOT EDIT. (@generated) sources: metadata.yaml
generate.go get.go metadata.gen.go schema.go
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:
data/ foo.txt img/ a.png b.png
then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
AssetNames returns the names of the assets.
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
RestoreAsset restores an asset under the given directory
RestoreAssets restores an asset under the given directory recursively
type DirectTransformSettings struct {
// contains filtered or unexported fields
}
DirectTransformSettings configuration
func (d *DirectTransformSettings) Equal(o *DirectTransformSettings) bool
func (d *DirectTransformSettings) Mapping() map[collection.Name]collection.Name
Mapping from source to destination
func (d *DirectTransformSettings) Type() string
Type implements TransformSettings
type Metadata struct {
// contains filtered or unexported fields
}
Metadata is the top-level container.
Build strongly-typed Metadata from parsed AST.
Get returns the contained resources.yaml file, in parsed form.
MustGet calls Get and panics if it returns and error.
ParseAndBuild parses the given metadata file and returns the strongly typed schema.
func (m *Metadata) AllCollections() collection.Schemas
AllCollections is all known collections
AllCollectionsInSnapshots returns an aggregate list of names of collections that will appear in the specified snapshots.
AllSnapshots returns all known snapshots
func (m *Metadata) DirectTransformSettings() *DirectTransformSettings
DirectTransformSettings is a temporary convenience function for getting the Direct TransformSettings config. As the infrastructure is generified, then this method should disappear.
func (m *Metadata) KubeCollections() collection.Schemas
KubeCollections is collections for Kubernetes.
func (m *Metadata) TransformSettings() []TransformSettings
TransformSettings is all known transformSettings
type Snapshot struct { Name string Collections []collection.Name Strategy string }
Snapshot metadata. Describes the snapshots that should be produced.
TransformSettings is configuration that is supplied to a particular transform.
Path | Synopsis |
---|---|
ast | |
codegen | |
collection | |
collections | |
fuzz | |
gvk | |
resource | |
snapshots |
Package schema imports 13 packages (graph) and is imported by 16 packages. Updated 2021-01-19. Refresh now. Tools for package owners.