kubernetes/vendor/sigs.k8s.io/kustomize/kyaml/resid/resid.go

type ResId

// NewResIdWithNamespace creates new ResId
// in a given namespace.
func NewResIdWithNamespace(k Gvk, n, ns string) ResId {}

// NewResId creates new ResId.
func NewResId(k Gvk, n string) ResId {}

// NewResIdKindOnly creates a new ResId.
func NewResIdKindOnly(k string, n string) ResId {}

const noNamespace

const noName

const separator

const TotallyNotANamespace

const DefaultNamespace

// String of ResId based on GVK, name and prefix
func (id ResId) String() string {}

func FromString(s string) ResId {}

// FromRNode returns the ResId for the RNode
func FromRNode(rn *yaml.RNode) ResId {}

// GvknEquals returns true if the other id matches
// Group/Version/Kind/name.
func (id ResId) GvknEquals(o ResId) bool {}

// IsSelectedBy returns true if self is selected by the argument.
func (id ResId) IsSelectedBy(selector ResId) bool {}

// Equals returns true if the other id matches
// namespace/Group/Version/Kind/name.
func (id ResId) Equals(o ResId) bool {}

// IsNsEquals returns true if the id is in
// the same effective namespace.
func (id ResId) IsNsEquals(o ResId) bool {}

// IsInDefaultNs returns true if id is a namespaceable
// ResId and the Namespace is either not set or set
// to DefaultNamespace.
func (id ResId) IsInDefaultNs() bool {}

func (id ResId) isPutativelyDefaultNs() bool {}

// EffectiveNamespace returns a non-ambiguous, non-empty
// namespace for use in reporting and equality tests.
func (id ResId) EffectiveNamespace() string {}

// IsEmpty returns true of all of the id's fields are
// empty strings
func (id ResId) IsEmpty() bool {}