Documentation ¶
Index ¶
- func CreateObjectsFromDirectory(rootPath string) ([]client.Object, error)
- func CreateTypedObjectFromYamlByte[T generics.Object, PT generics.PObject[T], L generics.ObjList[T], ...](yamlBytes []byte, _ func(T, PT, L, PL)) PT
- func CustomizedObjFromYaml[T generics.Object, PT generics.PObject[T], L generics.ObjList[T], ...](filePath string, signature func(T, PT, L, PL)) (PT, error)
- func CustomizedObjectListFromYaml[T generics.Object, PT generics.PObject[T], L generics.ObjList[T], ...](yamlfile string, signature func(T, PT, L, PL)) ([]PT, error)
- func GetTypedResourceObjectBySignature[T generics.Object, PT generics.PObject[T], L generics.ObjList[T], ...](objects []client.Object, _ func(T, PT, L, PL), matchers ...MatchResourceFunc) PT
- func HelmTemplate(helmPath string, helmOutput string) error
- func NewComponentTemplateRenderCmd(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- func NewWorkflowTemplateRender(helmTemplateDir string, opts RenderedOptions, ...) (*templateRenderWorkflow, error)
- func RandomString(n int) string
- type Handler
- type MatchResourceFunc
- type RenderedOptions
- type ResourceHandler
- type ResourceMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomizedObjFromYaml ¶
func HelmTemplate ¶
func NewWorkflowTemplateRender ¶
func NewWorkflowTemplateRender(helmTemplateDir string, opts RenderedOptions, clusterDef, clusterVersion string) (*templateRenderWorkflow, error)
func RandomString ¶
Types ¶
type MatchResourceFunc ¶
func WithResourceName ¶
func WithResourceName(name string) MatchResourceFunc
type RenderedOptions ¶
type ResourceHandler ¶
type ResourceHandler struct { Matcher []ResourceMatcher Handler Handler }
type ResourceMatcher ¶
Click to show internal directories.
Click to hide internal directories.