Documentation ¶
Index ¶
- Constants
- type ExecPlugin
- func (p *ExecPlugin) Args() []string
- func (p *ExecPlugin) Cfg() []byte
- func (p *ExecPlugin) Config(h *resmap.PluginHelpers, config []byte) error
- func (p *ExecPlugin) ErrIfNotExecutable() error
- func (p *ExecPlugin) Generate() (resmap.ResMap, error)
- func (p *ExecPlugin) Path() string
- func (p *ExecPlugin) Transform(rm resmap.ResMap) error
- func (p *ExecPlugin) UpdateResourceOptions(rm resmap.ResMap) (resmap.ResMap, error)
Constants ¶
View Source
const ( HashAnnotation = "kustomize.config.k8s.io/needs-hash" BehaviorAnnotation = "kustomize.config.k8s.io/behavior" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecPlugin ¶
type ExecPlugin struct {
// contains filtered or unexported fields
}
ExecPlugin record the name and args of an executable It triggers the executable generator and transformer
func NewExecPlugin ¶
func NewExecPlugin(p string) *ExecPlugin
func (*ExecPlugin) Args ¶
func (p *ExecPlugin) Args() []string
func (*ExecPlugin) Cfg ¶
func (p *ExecPlugin) Cfg() []byte
func (*ExecPlugin) Config ¶
func (p *ExecPlugin) Config(h *resmap.PluginHelpers, config []byte) error
func (*ExecPlugin) ErrIfNotExecutable ¶
func (p *ExecPlugin) ErrIfNotExecutable() error
func (*ExecPlugin) Path ¶
func (p *ExecPlugin) Path() string
func (*ExecPlugin) UpdateResourceOptions ¶
updateResourceOptions updates the generator options for each resource in the given ResMap based on plugin provided annotations.
Click to show internal directories.
Click to hide internal directories.