import "istio.io/istio/pkg/config/schema/ast"
const Direct = "direct"
Direct transform's name. Used for parsing.
type Collection struct { Name string `json:"name"` VariableName string `json:"variableName"` Description string `json:"description"` Group string `json:"group"` Kind string `json:"kind"` Disabled bool `json:"disabled"` Pilot bool `json:"pilot"` Deprecated bool `json:"deprecated"` }
Collection metadata. Describes basic structure of collections.
DirectTransformSettings configuration
func (d *DirectTransformSettings) Type() string
Type implements TransformSettings
type Metadata struct { Collections []*Collection `json:"collections"` Resources []*Resource `json:"resources"` Snapshots []*Snapshot `json:"snapshots"` TransformSettings []TransformSettings `json:"transforms"` }
Metadata is the top-level container.
Parse and return a yaml representation of Metadata
FindResourceForGroupKind looks up a resource with the given group and kind. Returns nil if not found.
UnmarshalJSON implements json.Unmarshaler
type Resource struct { Group string `json:"group"` Version string `json:"version"` Kind string `json:"kind"` Plural string `json:"plural"` ClusterScoped bool `json:"clusterScoped"` Proto string `json:"proto"` ProtoPackage string `json:"protoPackage"` StatusProto string `json:"statusProto"` StatusProtoPackage string `json:"statusProtoPackage"` Validate string `json:"validate"` Description string `json:"description"` }
Resource metadata for resources contained within a collection.
type Snapshot struct { Name string `json:"name"` Strategy string `json:"strategy"` Collections []string `json:"collections"` VariableName string `json:"variableName"` Description string `json:"description"` }
Snapshot metadata. Describes the snapshots that should be produced.
TransformSettings configuration metadata.
Package ast imports 5 packages (graph) and is imported by 4 packages. Updated 2020-10-20. Refresh now. Tools for package owners.