Documentation
¶
Index ¶
- func IsKonvertFile(item *kyaml.RNode) bool
- type FixNullNodePortsFunction
- type FixNullNodePortsProcessor
- type KonvertFunction
- type KonvertProcessor
- type KustomizerFunction
- type KustomizerProcessor
- type PathAnnotationSetter
- type RemoveBlankAffinitiesFunction
- type RemoveBlankAffinitiesProcessor
- type RemoveBlankAffinity
- type RemoveBlankNamespaceFunction
- type RemoveBlankNamespaceProcessor
- type RemoveBlankPodAffinityTermNamespaces
- type RemoveBlankPodAffinityTermNamespacesFunction
- func (f *RemoveBlankPodAffinityTermNamespacesFunction) Config(rn *kyaml.RNode) error
- func (f *RemoveBlankPodAffinityTermNamespacesFunction) Filter(items []*kyaml.RNode) ([]*kyaml.RNode, error)
- func (f *RemoveBlankPodAffinityTermNamespacesFunction) Name() string
- func (f *RemoveBlankPodAffinityTermNamespacesFunction) SetResourceMeta(meta kyaml.ResourceMeta)
- type RemoveBlankPodAffinityTermNamespacesProcessor
- type RemoveByAnnotationsFunction
- type RemoveByAnnotationsProcessor
- type RenderHelmChartFunction
- type RenderHelmChartProcessor
- type SetKonvertAnnotationsFunction
- type SetKonvertAnnotationsProcessor
- type SetManagedByFunction
- type SetManagedByProcessor
- type SetPathAnnotationFunction
- type SetPathAnnotationProcessor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsKonvertFile ¶ added in v1.0.1
Types ¶
type FixNullNodePortsFunction ¶
type FixNullNodePortsFunction struct {
kyaml.ResourceMeta `json:",inline" yaml:",inline"`
}
func (*FixNullNodePortsFunction) Config ¶
func (f *FixNullNodePortsFunction) Config(rn *kyaml.RNode) error
func (*FixNullNodePortsFunction) Name ¶
func (f *FixNullNodePortsFunction) Name() string
func (*FixNullNodePortsFunction) SetResourceMeta ¶
func (f *FixNullNodePortsFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type FixNullNodePortsProcessor ¶
type FixNullNodePortsProcessor struct{}
func (*FixNullNodePortsProcessor) Process ¶
func (p *FixNullNodePortsProcessor) Process(resourceList *framework.ResourceList) error
type KonvertFunction ¶
type KonvertFunction struct { kyaml.ResourceMeta `json:",inline" yaml:",inline"` Repo string `yaml:"repo,omitempty"` Chart string `yaml:"chart,omitempty"` Version string `yaml:"version,omitempty"` Namespace string `yaml:"namespace,omitempty"` Path string `yaml:"path,omitempty"` Pattern string `yaml:"pattern,omitempty"` Kustomize bool `yaml:"kustomize,omitempty"` Values map[string]interface{} `json:"values,omitempty"` SkipHooks bool `json:"skipHooks,omitempty" yaml:"skipHooks,omityempty"` SkipTests bool `json:"skipTests,omitempty" yaml:"skipTests,omityempty"` KubeVersion string `json:"kubeVersion,omitempty" yaml:"kubeVersion,omitempty"` }
func (*KonvertFunction) Name ¶
func (f *KonvertFunction) Name() string
func (*KonvertFunction) SetResourceMeta ¶
func (f *KonvertFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type KonvertProcessor ¶
type KonvertProcessor struct{}
func (*KonvertProcessor) Process ¶
func (p *KonvertProcessor) Process(resourceList *framework.ResourceList) error
type KustomizerFunction ¶
type KustomizerFunction struct { kyaml.ResourceMeta `json:",inline" yaml:",inline"` Path string `json:"path,omitempty" yaml:"path,omitempty"` Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` ResourceAnnotationName string `json:"resource_annotation_name,omitempty" yaml:"resource_annotation_name,omitempty"` ResourceAnnotationValue string `json:"resource_annotation_value,omitempty" yaml:"resource_annotation_value,omitempty"` }
func (*KustomizerFunction) Name ¶
func (f *KustomizerFunction) Name() string
func (*KustomizerFunction) SetResourceMeta ¶
func (f *KustomizerFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type KustomizerProcessor ¶
type KustomizerProcessor struct{}
func (*KustomizerProcessor) Process ¶
func (p *KustomizerProcessor) Process(resourceList *framework.ResourceList) error
type PathAnnotationSetter ¶
type PathAnnotationSetter struct {
// contains filtered or unexported fields
}
func PathAnnotation ¶
func PathAnnotation(path, pattern string) PathAnnotationSetter
type RemoveBlankAffinitiesFunction ¶
type RemoveBlankAffinitiesFunction struct {
kyaml.ResourceMeta `json:",inline" yaml:",inline"`
}
func (*RemoveBlankAffinitiesFunction) Config ¶
func (f *RemoveBlankAffinitiesFunction) Config(rn *kyaml.RNode) error
func (*RemoveBlankAffinitiesFunction) Name ¶
func (f *RemoveBlankAffinitiesFunction) Name() string
func (*RemoveBlankAffinitiesFunction) SetResourceMeta ¶
func (f *RemoveBlankAffinitiesFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type RemoveBlankAffinitiesProcessor ¶
type RemoveBlankAffinitiesProcessor struct{}
func (*RemoveBlankAffinitiesProcessor) Process ¶
func (p *RemoveBlankAffinitiesProcessor) Process(resourceList *framework.ResourceList) error
type RemoveBlankAffinity ¶
type RemoveBlankAffinity struct{}
type RemoveBlankNamespaceFunction ¶
type RemoveBlankNamespaceFunction struct {
kyaml.ResourceMeta `json:",inline" yaml:",inline"`
}
func (*RemoveBlankNamespaceFunction) Config ¶
func (f *RemoveBlankNamespaceFunction) Config(rn *kyaml.RNode) error
func (*RemoveBlankNamespaceFunction) Name ¶
func (f *RemoveBlankNamespaceFunction) Name() string
func (*RemoveBlankNamespaceFunction) SetResourceMeta ¶
func (f *RemoveBlankNamespaceFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type RemoveBlankNamespaceProcessor ¶
type RemoveBlankNamespaceProcessor struct{}
func (*RemoveBlankNamespaceProcessor) Process ¶
func (p *RemoveBlankNamespaceProcessor) Process(resourceList *framework.ResourceList) error
type RemoveBlankPodAffinityTermNamespaces ¶
type RemoveBlankPodAffinityTermNamespaces struct{}
type RemoveBlankPodAffinityTermNamespacesFunction ¶
type RemoveBlankPodAffinityTermNamespacesFunction struct {
kyaml.ResourceMeta `json:",inline" yaml:",inline"`
}
func (*RemoveBlankPodAffinityTermNamespacesFunction) Config ¶
func (f *RemoveBlankPodAffinityTermNamespacesFunction) Config(rn *kyaml.RNode) error
func (*RemoveBlankPodAffinityTermNamespacesFunction) Name ¶
func (f *RemoveBlankPodAffinityTermNamespacesFunction) Name() string
func (*RemoveBlankPodAffinityTermNamespacesFunction) SetResourceMeta ¶
func (f *RemoveBlankPodAffinityTermNamespacesFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type RemoveBlankPodAffinityTermNamespacesProcessor ¶
type RemoveBlankPodAffinityTermNamespacesProcessor struct{}
func (*RemoveBlankPodAffinityTermNamespacesProcessor) Process ¶
func (p *RemoveBlankPodAffinityTermNamespacesProcessor) Process(resourceList *framework.ResourceList) error
type RemoveByAnnotationsFunction ¶
type RemoveByAnnotationsFunction struct { kyaml.ResourceMeta `json:",inline" yaml:",inline"` Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` }
func (*RemoveByAnnotationsFunction) Config ¶
func (f *RemoveByAnnotationsFunction) Config(rn *kyaml.RNode) error
func (*RemoveByAnnotationsFunction) Filter ¶
any resources that have a matching annotation (k=v) will be removed
func (*RemoveByAnnotationsFunction) Name ¶
func (f *RemoveByAnnotationsFunction) Name() string
func (*RemoveByAnnotationsFunction) SetResourceMeta ¶
func (f *RemoveByAnnotationsFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type RemoveByAnnotationsProcessor ¶
type RemoveByAnnotationsProcessor struct{}
func (*RemoveByAnnotationsProcessor) Process ¶
func (p *RemoveByAnnotationsProcessor) Process(resourceList *framework.ResourceList) error
type RenderHelmChartFunction ¶
type RenderHelmChartFunction struct { kyaml.ResourceMeta `json:",inline" yaml:",inline"` ReleaseName string `json:"releaseName,omitempty" yaml:"releaseName,omitempty"` Repo string `json:"repo,omitempty" yaml:"repo,omitempty"` Chart string `json:"chart,omitempty" yaml:"chart,omitempty"` Version string `json:"version,omitempty" yaml:"version,omitempty"` Values map[string]interface{} `json:"values,omitempty" yaml:"values,omitempty"` Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` SkipHooks bool `json:"skipHooks,omitempty" yaml:"skipHooks,omityempty"` SkipTests bool `json:"skipTests,omitempty" yaml:"skipTests,omityempty"` KubeVersion string `json:"kubeVersion,omitempty" yaml:"kubeVersion,omitempty"` }
func (*RenderHelmChartFunction) Config ¶
func (f *RenderHelmChartFunction) Config(rn *kyaml.RNode) error
func (*RenderHelmChartFunction) Name ¶
func (f *RenderHelmChartFunction) Name() string
func (*RenderHelmChartFunction) SetResourceMeta ¶
func (f *RenderHelmChartFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type RenderHelmChartProcessor ¶
type RenderHelmChartProcessor struct{}
func (*RenderHelmChartProcessor) Process ¶
func (p *RenderHelmChartProcessor) Process(resourceList *framework.ResourceList) error
type SetKonvertAnnotationsFunction ¶
type SetKonvertAnnotationsFunction struct { kyaml.ResourceMeta `json:",inline" yaml:",inline"` Chart string `json:"chart,omitempty" yaml:"chart,omitempty"` Repo string `json:"repo,omitempty" yaml:"repo,omitempty"` }
func (*SetKonvertAnnotationsFunction) Config ¶
func (f *SetKonvertAnnotationsFunction) Config(rn *kyaml.RNode) error
func (*SetKonvertAnnotationsFunction) Name ¶
func (f *SetKonvertAnnotationsFunction) Name() string
func (*SetKonvertAnnotationsFunction) SetResourceMeta ¶
func (f *SetKonvertAnnotationsFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type SetKonvertAnnotationsProcessor ¶
type SetKonvertAnnotationsProcessor struct{}
func (*SetKonvertAnnotationsProcessor) Process ¶
func (p *SetKonvertAnnotationsProcessor) Process(resourceList *framework.ResourceList) error
type SetManagedByFunction ¶
type SetManagedByFunction struct { kyaml.ResourceMeta `json:",inline" yaml:",inline"` Value string `json:"value,omitempty" yaml:"value,omitempty"` }
func (*SetManagedByFunction) Name ¶
func (f *SetManagedByFunction) Name() string
func (*SetManagedByFunction) SetResourceMeta ¶
func (f *SetManagedByFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type SetManagedByProcessor ¶
type SetManagedByProcessor struct{}
func (*SetManagedByProcessor) Process ¶
func (p *SetManagedByProcessor) Process(resourceList *framework.ResourceList) error
type SetPathAnnotationFunction ¶
type SetPathAnnotationFunction struct { kyaml.ResourceMeta `json:",inline" yaml:",inline"` Path string `json:"path,omitempty" yaml:"path,omitempty"` Pattern string `json:"pattern,omitempty" yaml:"pattern,omitempty"` }
not sure why we have a path and a pattern when you can include a path in the pattern :shrug:
func (*SetPathAnnotationFunction) Config ¶
func (f *SetPathAnnotationFunction) Config(rn *kyaml.RNode) error
func (*SetPathAnnotationFunction) Name ¶
func (f *SetPathAnnotationFunction) Name() string
func (*SetPathAnnotationFunction) SetResourceMeta ¶
func (f *SetPathAnnotationFunction) SetResourceMeta(meta kyaml.ResourceMeta)
type SetPathAnnotationProcessor ¶
type SetPathAnnotationProcessor struct{}
func (*SetPathAnnotationProcessor) Process ¶
func (p *SetPathAnnotationProcessor) Process(resourceList *framework.ResourceList) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.