Documentation
¶
Index ¶
- Constants
- Variables
- func NewCommandReadOutputError(err error) error
- func NewCommandRunError(err error) error
- func NewCreatePipeError(err error) error
- func NewYAMLDecodeError(err error) error
- type CommandReadOutputError
- type CommandRunError
- type CreatePipeError
- 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
- type YAMLDecodeError
Constants ¶
View Source
const ( EnvReleaseUniqname = "HELMWAVE_LIFECYCLE_RELEASE_UNIQNAME" EnvLifecycleType = "HELMWAVE_LIFECYCLE_TYPE" )
Variables ¶
View Source
var ErrUnknownFormat = errors.New("unknown format")
Functions ¶
func NewCommandReadOutputError ¶ added in v0.31.0
func NewCommandRunError ¶ added in v0.31.0
func NewCreatePipeError ¶ added in v0.31.0
func NewYAMLDecodeError ¶ added in v0.31.0
Types ¶
type CommandReadOutputError ¶ added in v0.31.0
type CommandReadOutputError struct {
Err error
}
func (CommandReadOutputError) Error ¶ added in v0.31.0
func (err CommandReadOutputError) Error() string
func (CommandReadOutputError) Unwrap ¶ added in v0.31.0
func (err CommandReadOutputError) Unwrap() error
type CommandRunError ¶ added in v0.31.0
type CommandRunError struct {
Err error
}
func (CommandRunError) Error ¶ added in v0.31.0
func (err CommandRunError) Error() string
func (CommandRunError) Unwrap ¶ added in v0.31.0
func (err CommandRunError) Unwrap() error
type CreatePipeError ¶ added in v0.31.0
type CreatePipeError struct {
Err error
}
func (CreatePipeError) Error ¶ added in v0.31.0
func (err CreatePipeError) Error() string
func (CreatePipeError) Unwrap ¶ added in v0.31.0
func (err CreatePipeError) Unwrap() error
type Hooks ¶ added in v0.29.0
type Hooks []Hook
func (Hooks) JSONSchema ¶ added in v0.29.0
func (Hooks) JSONSchema() *jsonschema.Schema
func (*Hooks) UnmarshalYAML ¶ added in v0.29.0
UnmarshalYAML is an unmarshaller for gopkg.in/yaml.v3 to parse YAML into `Hook` interface.
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
type YAMLDecodeError ¶ added in v0.31.0
type YAMLDecodeError struct {
Err error
}
func (YAMLDecodeError) Error ¶ added in v0.31.0
func (err YAMLDecodeError) Error() string
func (YAMLDecodeError) Unwrap ¶ added in v0.31.0
func (err YAMLDecodeError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.