Documentation ¶
Index ¶
- type KCLRun
- type RepositorySpec
- type TemplateImpl
- func (t *TemplateImpl) Concurrency() int
- func (t *TemplateImpl) IncludeCRDs() bool
- func (t *TemplateImpl) IncludeNeeds() bool
- func (t *TemplateImpl) IncludeTransitiveNeeds() bool
- func (t *TemplateImpl) OutputDir() string
- func (t *TemplateImpl) OutputDirTemplate() string
- func (t *TemplateImpl) PostRenderer() string
- func (t *TemplateImpl) Set() []string
- func (t *TemplateImpl) SkipCleanup() bool
- func (t *TemplateImpl) SkipDeps() bool
- func (t *TemplateImpl) SkipNeeds() bool
- func (t *TemplateImpl) SkipTests() bool
- func (t *TemplateImpl) Validate() bool
- func (t *TemplateImpl) Values() []string
- type TemplateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KCLRun ¶
type KCLRun struct { config.KCLRun `json:",inline" yaml:",inline"` Repositories []RepositorySpec `yaml:"repositories,omitempty"` }
KCLRun is a custom resource to provider Helm kcl config including KCL source and params.
type RepositorySpec ¶
type RepositorySpec struct { Name string `yaml:"name,omitempty"` Path string `yaml:"path,omitempty"` URL string `yaml:"url,omitempty"` CaFile string `yaml:"caFile,omitempty"` CertFile string `yaml:"certFile,omitempty"` KeyFile string `yaml:"keyFile,omitempty"` Username string `yaml:"username,omitempty"` Password string `yaml:"password,omitempty"` Managed string `yaml:"managed,omitempty"` OCI bool `yaml:"oci,omitempty"` PassCredentials string `yaml:"passCredentials,omitempty"` SkipTLSVerify string `yaml:"skipTLSVerify,omitempty"` }
RepositorySpec that defines values for a helm repo
type TemplateImpl ¶
type TemplateImpl struct {
*TemplateOptions
}
TemplateImpl is impl for applyOptions
func NewTemplateImpl ¶
func NewTemplateImpl(t *TemplateOptions) *TemplateImpl
NewTemplateImpl creates a new TemplateImpl
func (*TemplateImpl) Concurrency ¶
func (t *TemplateImpl) Concurrency() int
Concurrency returns the concurrency
func (*TemplateImpl) IncludeCRDs ¶
func (t *TemplateImpl) IncludeCRDs() bool
IncludeCRDs returns the include crds
func (*TemplateImpl) IncludeNeeds ¶
func (t *TemplateImpl) IncludeNeeds() bool
IncludeNeeds returns the include needs
func (*TemplateImpl) IncludeTransitiveNeeds ¶
func (t *TemplateImpl) IncludeTransitiveNeeds() bool
IncludeTransitiveNeeds returns the include transitive needs
func (*TemplateImpl) OutputDir ¶
func (t *TemplateImpl) OutputDir() string
OutputDir returns the output dir
func (*TemplateImpl) OutputDirTemplate ¶
func (t *TemplateImpl) OutputDirTemplate() string
OutputDirTemplate returns the output dir template
func (*TemplateImpl) PostRenderer ¶
func (t *TemplateImpl) PostRenderer() string
PostRenderer returns the PostRenderer.
func (*TemplateImpl) SkipCleanup ¶
func (t *TemplateImpl) SkipCleanup() bool
SkipCleanup returns the skip cleanup
func (*TemplateImpl) SkipDeps ¶
func (t *TemplateImpl) SkipDeps() bool
SkipDeps returns the skip deps
func (*TemplateImpl) SkipNeeds ¶
func (t *TemplateImpl) SkipNeeds() bool
SkipNeeds returns the skip needs
func (*TemplateImpl) SkipTests ¶
func (t *TemplateImpl) SkipTests() bool
SkipTests returns the skip tests
func (*TemplateImpl) Validate ¶
func (t *TemplateImpl) Validate() bool
Validate returns the validate
type TemplateOptions ¶
type TemplateOptions struct { // File is the file flag File string // Set is the set flag Set []string // Values is the values flag Values []string // OutputDir is the output dir flag OutputDir string // OutputDirTemplate is the output dir template flag OutputDirTemplate string // Concurrency is the concurrency flag Concurrency int // Validate is the validate flag Validate bool // IncludeCRDs is the include crds flag IncludeCRDs bool // SkipTests is the skip tests flag SkipTests bool // SkipNeeds is the skip needs flag SkipNeeds bool // IncludeNeeds is the include needs flag IncludeNeeds bool // IncludeTransitiveNeeds is the include transitive needs flag IncludeTransitiveNeeds bool // SkipDeps is the skip deps flag SkipDeps bool // SkipCleanup is the skip cleanup flag SkipCleanup bool // Propagate '--post-renderer' to helmv3 template and helm install PostRenderer string }
TemplateOptions is the options for the build command
func NewTemplateOptions ¶
func NewTemplateOptions() *TemplateOptions
NewTemplateOptions creates a new Apply