Documentation
¶
Index ¶
- func BuildHelm(ctx context.Context, client *dagger.Client, option *BuildOption) (err error)
- func GenerateDocumentation(ctx context.Context, client *dagger.Client, ...) (files map[string]*dagger.File, err error)
- func GenerateSchema(ctx context.Context, client *dagger.Client, option *GenerateSchemaOption) (files map[string]*dagger.File, err error)
- func HelmCommand(ctx context.Context, client *dagger.Client, option *HelmCmdOption) (err error)
- func InitBuildFlag(app *cli.App)
- func Lint(ctx context.Context, client *dagger.Client, option *LintOption) (err error)
- type BuildOption
- type GenerateDocumentationOption
- type GenerateSchemaOption
- type HelmCmdOption
- type LintOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDocumentation ¶
func GenerateDocumentation(ctx context.Context, client *dagger.Client, option *GenerateDocumentationOption) (files map[string]*dagger.File, err error)
GenerateDocumentation permit to generate helm documentation
func GenerateSchema ¶
func GenerateSchema(ctx context.Context, client *dagger.Client, option *GenerateSchemaOption) (files map[string]*dagger.File, err error)
GenerateSchema permit to generate helm schema
func HelmCommand ¶
HelmCommand permit to run any helm command
func InitBuildFlag ¶
Types ¶
type BuildOption ¶
type BuildOption struct {
WithProxy bool `default:"true"`
WithPush bool `default:"false"`
WithRegistryUsername string `validate:"validateRegistryAuth"`
WithRegistryPassword string `validate:"validateRegistryAuth"`
RegistryUrl string `validate:"validateRegistryAuth"`
RepositoryName string `validate:"validateRegistryAuth"`
PathContext string `default:"."`
CaPath string
Version string
WithFiles map[string]*dagger.File
WithImage string `default:"alpine/helm:3.14.3"`
WithYQImage string `default:"mikefarah/yq:4.35.2"`
}
func (BuildOption) ValidateRegistryAuth ¶
func (h BuildOption) ValidateRegistryAuth(val string) bool
type GenerateSchemaOption ¶
type HelmCmdOption ¶
Click to show internal directories.
Click to hide internal directories.