Documentation ¶
Index ¶
- Constants
- func NodeToUnstructured(n *kyaml.RNode) unstructured.Unstructured
- type Engine
- type EngineOptsFn
- type FilterFn
- type RenderOptsFn
- func WithAnnotation(name string, value string) RenderOptsFn
- func WithAnnotations(values map[string]string) RenderOptsFn
- func WithFilter(value FilterFn) RenderOptsFn
- func WithFilters(values ...FilterFn) RenderOptsFn
- func WithKustomizationFileName(value string) RenderOptsFn
- func WithKustomizationOverlayPath(value string) RenderOptsFn
- func WithLabel(name string, value string) RenderOptsFn
- func WithLabels(values map[string]string) RenderOptsFn
- func WithNamespace(value string) RenderOptsFn
- func WithPlugin(value resmap.Transformer) RenderOptsFn
Constants ¶
View Source
const ( DefaultKustomizationFileName = "kustomization.yaml" DefaultKustomizationFilePath = "default" )
Variables ¶
This section is empty.
Functions ¶
func NodeToUnstructured ¶
func NodeToUnstructured(n *kyaml.RNode) unstructured.Unstructured
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine(opts ...EngineOptsFn) *Engine
func (*Engine) Render ¶
func (e *Engine) Render(path string, opts ...RenderOptsFn) ([]unstructured.Unstructured, error)
type EngineOptsFn ¶
type EngineOptsFn func(engine *Engine)
func WithEngineFS ¶
func WithEngineFS(value filesys.FileSystem) EngineOptsFn
func WithEngineRenderOpts ¶
func WithEngineRenderOpts(values ...RenderOptsFn) EngineOptsFn
type RenderOptsFn ¶
type RenderOptsFn func(*renderOpts)
func WithAnnotation ¶
func WithAnnotation(name string, value string) RenderOptsFn
func WithAnnotations ¶
func WithAnnotations(values map[string]string) RenderOptsFn
func WithFilter ¶
func WithFilter(value FilterFn) RenderOptsFn
func WithFilters ¶
func WithFilters(values ...FilterFn) RenderOptsFn
func WithKustomizationFileName ¶
func WithKustomizationFileName(value string) RenderOptsFn
func WithKustomizationOverlayPath ¶
func WithKustomizationOverlayPath(value string) RenderOptsFn
func WithLabel ¶
func WithLabel(name string, value string) RenderOptsFn
func WithLabels ¶
func WithLabels(values map[string]string) RenderOptsFn
func WithNamespace ¶
func WithNamespace(value string) RenderOptsFn
func WithPlugin ¶
func WithPlugin(value resmap.Transformer) RenderOptsFn
Click to show internal directories.
Click to hide internal directories.