Documentation ¶
Index ¶
- Constants
- func AddAmazonEKSPath(name string, path string)
- func AddAzureAKSPath(name string, path string)
- func AddGoogleGKEPath(name string, path string)
- type Builder
- func (b *Builder) AddCtx(ctx Ctx)
- func (b *Builder) Bool(text string, defaultVal bool) (bool, error)
- func (b *Builder) BuildFuncMap() template.FuncMap
- func (b *Builder) Float64(text string, defaultVal float64) (float64, error)
- func (b *Builder) GetTemplate(name, text string) (*template.Template, error)
- func (b *Builder) Int(text string, defaultVal int64) (int64, error)
- func (b *Builder) RenderTemplate(name string, text string) (string, error)
- func (b *Builder) String(text string) (string, error)
- func (b *Builder) Uint(text string, defaultVal uint64) (uint64, error)
- type BuilderBuilder
- func (bb *BuilderBuilder) BaseBuilder(meta api.ReleaseMetadata) (*Builder, error)
- func (bb *BuilderBuilder) FullBuilder(meta api.ReleaseMetadata, configGroups []libyaml.ConfigGroup, ...) (*Builder, error)
- func (bb *BuilderBuilder) NewBuilder(ctxx ...Ctx) Builder
- func (bb *BuilderBuilder) NewConfigContext(configGroups []libyaml.ConfigGroup, templateContext map[string]interface{}) (*ConfigCtx, error)
- func (bb *BuilderBuilder) NewShipContext() (*ShipContext, error)
- func (bb *BuilderBuilder) NewStaticContext() *StaticCtx
- type ConfigCtx
- type Ctx
- type InstallationContext
- type ShipContext
- type StaticCtx
Constants ¶
View Source
const (
DefaultCharset = "[_A-Za-z0-9]"
)
Variables ¶
This section is empty.
Functions ¶
func AddAmazonEKSPath ¶
AddAmazonEKSPath adds a kubeconfig path to the cache
func AddAzureAKSPath ¶ added in v0.16.0
AddAzureAKSPath adds a kubeconfig path to the cache
func AddGoogleGKEPath ¶
AddGoogleGKEPath adds a kubeconfig path to the cache
Types ¶
type Builder ¶
func (*Builder) BuildFuncMap ¶
func (*Builder) GetTemplate ¶
func (*Builder) RenderTemplate ¶
type BuilderBuilder ¶
func NewBuilderBuilder ¶
func (*BuilderBuilder) BaseBuilder ¶
func (bb *BuilderBuilder) BaseBuilder( meta api.ReleaseMetadata, ) (*Builder, error)
func (*BuilderBuilder) FullBuilder ¶
func (bb *BuilderBuilder) FullBuilder( meta api.ReleaseMetadata, configGroups []libyaml.ConfigGroup, config map[string]interface{}, ) (*Builder, error)
func (*BuilderBuilder) NewBuilder ¶
func (bb *BuilderBuilder) NewBuilder(ctxx ...Ctx) Builder
func (*BuilderBuilder) NewConfigContext ¶
func (bb *BuilderBuilder) NewConfigContext(configGroups []libyaml.ConfigGroup, templateContext map[string]interface{}) (*ConfigCtx, error)
func (*BuilderBuilder) NewShipContext ¶
func (bb *BuilderBuilder) NewShipContext() (*ShipContext, error)
func (*BuilderBuilder) NewStaticContext ¶
func (bb *BuilderBuilder) NewStaticContext() *StaticCtx
type InstallationContext ¶
func (*InstallationContext) FuncMap ¶
func (ctx *InstallationContext) FuncMap() template.FuncMap
type ShipContext ¶
ShipContext is the context for builder functions that depend on what assets have been created.
func (ShipContext) FuncMap ¶
func (ctx ShipContext) FuncMap() template.FuncMap
FuncMap represents the available functions in the ShipCtx.
type StaticCtx ¶
func (*StaticCtx) RandomString ¶
Click to show internal directories.
Click to hide internal directories.