Documentation
¶
Index ¶
- Constants
- Variables
- type Hook
- type Hooks
- type Lifecycle
- func (l *Lifecycle) RunPostBuild(ctx context.Context) error
- func (l *Lifecycle) RunPostDown(ctx context.Context) error
- func (l *Lifecycle) RunPostRollback(ctx context.Context) error
- func (l *Lifecycle) RunPostUp(ctx context.Context) error
- func (l *Lifecycle) RunPreBuild(ctx context.Context) error
- func (l *Lifecycle) RunPreDown(ctx context.Context) error
- func (l *Lifecycle) RunPreRollback(ctx context.Context) error
- func (l *Lifecycle) RunPreUp(ctx context.Context) error
Constants ¶
View Source
const ( ENV_RELEASE_UNIQNAME = "HELMWAVE_LIFECYCLE_RELEASE_UNIQNAME" ENV_LIFECYCLE_TYPE = "HELMWAVE_LIFECYCLE_TYPE" )
Variables ¶
View Source
var ErrUnknownFormat = errors.New("unknown format")
Functions ¶
This section is empty.
Types ¶
type Hooks ¶ added in v0.29.0
type Hooks []Hook
func (Hooks) JSONSchema ¶ added in v0.29.0
func (Hooks) JSONSchema() *jsonschema.Schema
type Lifecycle ¶
type Lifecycle struct {
PreBuild Hooks `yaml:"pre_build" json:"pre_build" jsonschema:"title=pre_build,description=pre_build hooks"`
PostBuild Hooks `yaml:"post_build" json:"post_build" jsonschema:"title=post_build,description=post_build hooks"`
PreUp Hooks `yaml:"pre_up" json:"pre_up" jsonschema:"title=pre_up,description=pre_up hooks"`
PostUp Hooks `yaml:"post_up" json:"post_up" jsonschema:"title=post_up,description=post_up hooks"`
PreRollback Hooks `yaml:"pre_rollback" json:"pre_rollback" jsonschema:"title=pre_rollback,description=pre_rollback hooks"`
PostRollback Hooks `yaml:"post_rollback" json:"post_rollback" jsonschema:"title=post_rollback,description=post_rollback hooks"`
PreDown Hooks `yaml:"pre_down" json:"pre_down" jsonschema:"title=pre_down,description=pre_down hooks"`
PostDown Hooks `yaml:"post_down" json:"post_down" jsonschema:"title=post_down,description=post_down hooks"`
}
func (*Lifecycle) RunPostBuild ¶ added in v0.29.0
func (*Lifecycle) RunPostDown ¶ added in v0.29.0
func (*Lifecycle) RunPostRollback ¶ added in v0.29.0
func (*Lifecycle) RunPreBuild ¶ added in v0.29.0
func (*Lifecycle) RunPreDown ¶ added in v0.29.0
func (*Lifecycle) RunPreRollback ¶ added in v0.29.0
Click to show internal directories.
Click to hide internal directories.