kubernetes/vendor/sigs.k8s.io/kustomize/api/types/var.go

type Var

type Target

// GVK returns the Gvk object in Target
func (t *Target) GVK() resid.Gvk {}

type FieldSelector

// defaulting sets reference to field used by default.
func (v *Var) Defaulting() {}

// DeepEqual returns true if var a and b are Equals.
// Note 1: The objects are unchanged by the VarEqual
// Note 2: Should be normalize be FieldPath before doing
// the DeepEqual. spec.a[b] is supposed to be the same
// as spec.a.b
func (v Var) DeepEqual(other Var) bool {}

type VarSet

// NewVarSet returns an initialized VarSet
func NewVarSet() VarSet {}

// AsSlice returns the vars as a slice.
func (vs *VarSet) AsSlice() []Var {}

// Copy returns a copy of the var set.
func (vs *VarSet) Copy() VarSet {}

// MergeSet absorbs other vars with error on name collision.
func (vs *VarSet) MergeSet(incoming VarSet) error {}

// MergeSlice absorbs a Var slice with error on name collision.
// Empty fields in incoming vars are defaulted.
func (vs *VarSet) MergeSlice(incoming []Var) error {}

// Merge absorbs another Var with error on name collision.
// Empty fields in incoming Var is defaulted.
func (vs *VarSet) Merge(v Var) error {}

// AbsorbSet absorbs other vars with error on (name,value) collision.
func (vs *VarSet) AbsorbSet(incoming VarSet) error {}

// AbsorbSlice absorbs a Var slice with error on (name,value) collision.
// Empty fields in incoming vars are defaulted.
func (vs *VarSet) AbsorbSlice(incoming []Var) error {}

// Absorb absorbs another Var with error on (name,value) collision.
// Empty fields in incoming Var is defaulted.
func (vs *VarSet) Absorb(v Var) error {}

// Contains is true if the set has the other var.
func (vs *VarSet) Contains(other Var) bool {}

// Get returns the var with the given name, else nil.
func (vs *VarSet) Get(name string) *Var {}

type byName

func (v byName) Len() int           {}

func (v byName) Swap(i, j int)      {}

func (v byName) Less(i, j int) bool {}