kubernetes/vendor/sigs.k8s.io/kustomize/api/resmap/reswrangler.go

type resWrangler

func newOne() *resWrangler {}

// Clear implements ResMap.
func (m *resWrangler) Clear() {}

// DropEmpties quickly drops empty resources.
// It doesn't use Append, which checks for Id collisions.
func (m *resWrangler) DropEmpties() {}

// Size implements ResMap.
func (m *resWrangler) Size() int {}

func (m *resWrangler) indexOfResource(other *resource.Resource) int {}

// Resources implements ResMap.
func (m *resWrangler) Resources() []*resource.Resource {}

// Append implements ResMap.
func (m *resWrangler) Append(res *resource.Resource) error {}

// append appends without performing an Id check
func (m *resWrangler) append(res *resource.Resource) {}

// Remove implements ResMap.
func (m *resWrangler) Remove(adios resid.ResId) error {}

// Replace implements ResMap.
func (m *resWrangler) Replace(res *resource.Resource) (int, error) {}

// AllIds implements ResMap.
func (m *resWrangler) AllIds() (ids []resid.ResId) {}

// Debug implements ResMap.
func (m *resWrangler) Debug(title string) {}

type IdMatcher

// GetByIndex implements ResMap.
func (m *resWrangler) GetByIndex(i int) *resource.Resource {}

// GetIndexOfCurrentId implements ResMap.
func (m *resWrangler) GetIndexOfCurrentId(id resid.ResId) (int, error) {}

type IdFromResource

func GetCurrentId(r *resource.Resource) resid.ResId {}

// GetMatchingResourcesByCurrentId implements ResMap.
func (m *resWrangler) GetMatchingResourcesByCurrentId(
	matches IdMatcher) []*resource.Resource {}

// GetMatchingResourcesByAnyId implements ResMap.
func (m *resWrangler) GetMatchingResourcesByAnyId(
	matches IdMatcher) []*resource.Resource {}

func (m *resWrangler) filteredById(
	matches IdMatcher, idGetter IdFromResource) []*resource.Resource {}

// GetByCurrentId implements ResMap.
func (m *resWrangler) GetByCurrentId(
	id resid.ResId) (*resource.Resource, error) {}

// GetById implements ResMap.
func (m *resWrangler) GetById(
	id resid.ResId) (*resource.Resource, error) {}

type resFinder

func demandOneMatch(
	f resFinder, id resid.ResId, s string) (*resource.Resource, error) {}

// GroupedByCurrentNamespace implements ResMap.
func (m *resWrangler) GroupedByCurrentNamespace() map[string][]*resource.Resource {}

// ClusterScoped implements ResMap.
func (m *resWrangler) ClusterScoped() []*resource.Resource {}

func (m *resWrangler) groupedByCurrentNamespace() map[string][]*resource.Resource {}

// GroupedByOriginalNamespace implements ResMap.
func (m *resWrangler) GroupedByOriginalNamespace() map[string][]*resource.Resource {}

func (m *resWrangler) groupedByOriginalNamespace() map[string][]*resource.Resource {}

// AsYaml implements ResMap.
func (m *resWrangler) AsYaml() ([]byte, error) {}

// ErrorIfNotEqualSets implements ResMap.
func (m *resWrangler) ErrorIfNotEqualSets(other ResMap) error {}

// ErrorIfNotEqualLists implements ResMap.
func (m *resWrangler) ErrorIfNotEqualLists(other ResMap) error {}

type resCopier

// ShallowCopy implements ResMap.
func (m *resWrangler) ShallowCopy() ResMap {}

// DeepCopy implements ResMap.
func (m *resWrangler) DeepCopy() ResMap {}

// makeCopy copies the ResMap.
func (m *resWrangler) makeCopy(copier resCopier) ResMap {}

// SubsetThatCouldBeReferencedByResource implements ResMap.
func (m *resWrangler) SubsetThatCouldBeReferencedByResource(
	referrer *resource.Resource) (ResMap, error) {}

// getNamespacesForRoleBinding returns referenced ServiceAccount namespaces
// if the resource is a RoleBinding
func getNamespacesForRoleBinding(r *resource.Resource) (map[string]bool, error) {}

// AppendAll implements ResMap.
func (m *resWrangler) AppendAll(other ResMap) error {}

// appendAll appends all the resources, error on Id collision.
func (m *resWrangler) appendAll(list []*resource.Resource) error {}

// AbsorbAll implements ResMap.
func (m *resWrangler) AbsorbAll(other ResMap) error {}

// AddOriginAnnotation implements ResMap.
func (m *resWrangler) AddOriginAnnotation(origin *resource.Origin) error {}

// RemoveOriginAnnotation implements ResMap
func (m *resWrangler) RemoveOriginAnnotations() error {}

// AddTransformerAnnotation implements ResMap
func (m *resWrangler) AddTransformerAnnotation(origin *resource.Origin) error {}

// RemoveTransformerAnnotations implements ResMap
func (m *resWrangler) RemoveTransformerAnnotations() error {}

func (m *resWrangler) appendReplaceOrMerge(res *resource.Resource) error {}

// AnnotateAll implements ResMap
func (m *resWrangler) AnnotateAll(key string, value string) error {}

// Select returns a list of resources that
// are selected by a Selector
func (m *resWrangler) Select(s types.Selector) ([]*resource.Resource, error) {}

// ToRNodeSlice returns a copy of the resources as RNodes.
func (m *resWrangler) ToRNodeSlice() []*kyaml.RNode {}

// DeAnchor implements ResMap.
func (m *resWrangler) DeAnchor() (err error) {}

// ApplySmPatch applies the patch, and errors on Id collisions.
func (m *resWrangler) ApplySmPatch(selectedSet *resource.IdSet, patch *resource.Resource) error {}

func (m *resWrangler) RemoveBuildAnnotations() {}

// ApplyFilter implements ResMap.
func (m *resWrangler) ApplyFilter(f kio.Filter) error {}