Documentation ¶
Index ¶
- type Factory
- func (f Factory) NewCue(opts v1alpha1.AppTemplateCue, genericOpts GenericOpts) Template
- func (f Factory) NewHelmTemplate(opts v1alpha1.AppTemplateHelmTemplate, genericOpts GenericOpts) *HelmTemplate
- func (f Factory) NewKbld(opts v1alpha1.AppTemplateKbld, genericOpts GenericOpts) *Kbld
- func (f Factory) NewSops(opts v1alpha1.AppTemplateSops, genericOpts GenericOpts) *Sops
- func (f Factory) NewYtt(opts v1alpha1.AppTemplateYtt, genericOpts GenericOpts) *Ytt
- type GenericOpts
- type HelmTemplate
- type HelmTemplateCmdArgs
- type Kbld
- type Sops
- type Template
- type Values
- type Ytt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(coreClient kubernetes.Interface, fetchFactory fetch.Factory) Factory
func (Factory) NewCue ¶ added in v0.30.3
func (f Factory) NewCue(opts v1alpha1.AppTemplateCue, genericOpts GenericOpts) Template
NewCue returns a Cue templater
func (Factory) NewHelmTemplate ¶
func (f Factory) NewHelmTemplate( opts v1alpha1.AppTemplateHelmTemplate, genericOpts GenericOpts) *HelmTemplate
func (Factory) NewKbld ¶
func (f Factory) NewKbld(opts v1alpha1.AppTemplateKbld, genericOpts GenericOpts) *Kbld
func (Factory) NewSops ¶ added in v0.13.0
func (f Factory) NewSops( opts v1alpha1.AppTemplateSops, genericOpts GenericOpts) *Sops
func (Factory) NewYtt ¶
func (f Factory) NewYtt(opts v1alpha1.AppTemplateYtt, genericOpts GenericOpts) *Ytt
type GenericOpts ¶
type HelmTemplate ¶
type HelmTemplate struct {
// contains filtered or unexported fields
}
func NewHelmTemplate ¶
func NewHelmTemplate(opts v1alpha1.AppTemplateHelmTemplate, genericOpts GenericOpts, coreClient kubernetes.Interface) *HelmTemplate
func (*HelmTemplate) TemplateDir ¶
func (t *HelmTemplate) TemplateDir(dirPath string) (exec.CmdRunResult, bool)
func (*HelmTemplate) TemplateStream ¶
func (t *HelmTemplate) TemplateStream(stream io.Reader, dirPath string) exec.CmdRunResult
TemplateStream works on a stream returning templating result. dirPath is provided for context from which to reference additional inputs.
type HelmTemplateCmdArgs ¶ added in v0.19.0
HelmTemplateCmdArgs represents the binary and arguments used during templating
type Kbld ¶
type Kbld struct {
// contains filtered or unexported fields
}
func NewKbld ¶
func NewKbld(opts v1alpha1.AppTemplateKbld, genericOpts GenericOpts) *Kbld
func (*Kbld) TemplateDir ¶
func (t *Kbld) TemplateDir(dirPath string) (exec.CmdRunResult, bool)
func (*Kbld) TemplateStream ¶
type Sops ¶ added in v0.13.0
type Sops struct {
// contains filtered or unexported fields
}
func NewSops ¶ added in v0.13.0
func NewSops(opts v1alpha1.AppTemplateSops, genericOpts GenericOpts, coreClient kubernetes.Interface) *Sops
func (*Sops) TemplateDir ¶ added in v0.13.0
func (t *Sops) TemplateDir(dirPath string) (exec.CmdRunResult, bool)
func (*Sops) TemplateStream ¶ added in v0.13.0
type Template ¶
type Template interface { // TemplateDir works on directory returning templating result, // and boolean indicating whether subsequent operations // should operate on result, or continue operating on the directory TemplateDir(dirPath string) (exec.CmdRunResult, bool) // TemplateStream works on a stream returning templating result. // dirPath is provided for context from which to reference additional inputs. TemplateStream(stream io.Reader, dirPath string) exec.CmdRunResult }
type Values ¶ added in v0.20.0
type Values struct { ValuesFrom []v1alpha1.AppTemplateValuesSource // contains filtered or unexported fields }
type Ytt ¶
type Ytt struct {
// contains filtered or unexported fields
}
func NewYtt ¶
func NewYtt(opts v1alpha1.AppTemplateYtt, genericOpts GenericOpts, coreClient kubernetes.Interface, fetchFactory fetch.Factory) *Ytt
func (*Ytt) TemplateDir ¶
func (t *Ytt) TemplateDir(dirPath string) (exec.CmdRunResult, bool)
func (*Ytt) TemplateStream ¶
Click to show internal directories.
Click to hide internal directories.