nameref

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

Package nameref contains a kio.Filter implementation of the kustomize name reference transformer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	FieldSpec          types.FieldSpec `json:"fieldSpec,omitempty" yaml:"fieldSpec,omitempty"`
	Referrer           *resource.Resource
	Target             resid.Gvk
	ReferralCandidates resmap.ResMap
	// contains filtered or unexported fields
}

Filter will update the name reference

func (Filter) Filter

func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL