Versions in this module Expand all Collapse all v1 v1.12.2 Jun 4, 2021 v1.12.1 May 27, 2021 Changes in this version + var Scheme = runtime.NewScheme() + func DecodeYAMLToJSON(node *yaml.RNode, v interface{}) error + func FieldPath(p string, data map[string]string) ([]string, error) + func PreserveFieldMatcherPath(fieldMatcher yaml.FieldMatcher) yaml.Filter + type CommentClearer struct + Name string + func ClearFieldComment(name string, lineComment string) CommentClearer + func (f CommentClearer) Filter(rn *yaml.RNode) (*yaml.RNode, error) + type ExperimentMigrationFilter struct + func (f *ExperimentMigrationFilter) Filter(node *yaml.RNode) (*yaml.RNode, error) + func (f *ExperimentMigrationFilter) MigrateExperimentV1alpha1(node *yaml.RNode) (*yaml.RNode, error) + func (f *ExperimentMigrationFilter) MigrateExperimentV1beta1(node *yaml.RNode) (*yaml.RNode, error) + type FieldRenamer struct + From string + To string + func RenameField(from, to string) FieldRenamer + func (f FieldRenamer) Filter(rn *yaml.RNode) (*yaml.RNode, error) + type HasFilter struct + Filters []yaml.Filter + func Has(filters ...yaml.Filter) HasFilter + func (f HasFilter) Filter(rn *yaml.RNode) (*yaml.RNode, error) + type IntOrString struct + func (is *IntOrString) UnmarshalYAML(value *yaml.Node) error + type ObjectList corev1.List + func (o *ObjectList) Write(nodes []*yaml.RNode) error + type ObjectSlice []runtime.Object + func (os ObjectSlice) Read() ([]*yaml.RNode, error) + type TeeMatchedFilter struct + Filters []yaml.Filter + PathMatcher yaml.PathMatcher + func TeeMatched(pathMatcher yaml.PathMatcher, filters ...yaml.Filter) TeeMatchedFilter + func (f TeeMatchedFilter) Filter(rn *yaml.RNode) (*yaml.RNode, error) Other modules containing this package github.com/thestormforge/optimize-controller/v2