Documentation ¶
Index ¶
- func WithBuildHook(h LifecycleHook) hookOption
- func WithCommandStartHook(h commandStartHook) hookOption
- func WithDeployHook(h LifecycleHook) hookOption
- func WithPostAppChartValuesHook(h postHelmValuesComputeHook) hookOption
- func WithPostRuntimeChartValuesHook(h postHelmValuesComputeHook) hookOption
- func WithPreHelmValuesComputeHook(h preHelmValuesComputeHook) hookOption
- func WithPublishHook(h LifecycleHook) hookOption
- type Hooks
- func (h *Hooks) Build(ctx context.Context, f func() (LifecycleOutput, error))
- func (h *Hooks) CommandStart(projectDir string) error
- func (h *Hooks) Deploy(ctx context.Context, f func() (LifecycleOutput, error))
- func (h *Hooks) PostAppChartValuesCompute(ctx context.Context, p provider.Providers, hvc *helm.ValueComputer) (Values, error)
- func (h *Hooks) PostRuntimeChartValuesCompute(ctx context.Context, p provider.Providers, hvc *helm.ValueComputer) (Values, error)
- func (h *Hooks) PreHelmValuesCompute(ctx context.Context, p provider.Providers, hvc *helm.ValueComputer) error
- func (h *Hooks) Publish(ctx context.Context, f func() (LifecycleOutput, error))
- type LifecycleHook
- type LifecycleOutput
- type Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBuildHook ¶
func WithBuildHook(h LifecycleHook) hookOption
func WithCommandStartHook ¶
func WithCommandStartHook(h commandStartHook) hookOption
func WithDeployHook ¶
func WithDeployHook(h LifecycleHook) hookOption
func WithPostAppChartValuesHook ¶
func WithPostAppChartValuesHook(h postHelmValuesComputeHook) hookOption
func WithPostRuntimeChartValuesHook ¶
func WithPostRuntimeChartValuesHook(h postHelmValuesComputeHook) hookOption
func WithPreHelmValuesComputeHook ¶
func WithPreHelmValuesComputeHook(h preHelmValuesComputeHook) hookOption
func WithPublishHook ¶
func WithPublishHook(h LifecycleHook) hookOption
Types ¶
type Hooks ¶
type Hooks struct {
// contains filtered or unexported fields
}
func (*Hooks) CommandStart ¶
func (*Hooks) Deploy ¶
func (h *Hooks) Deploy(ctx context.Context, f func() (LifecycleOutput, error))
func (*Hooks) PostAppChartValuesCompute ¶
func (*Hooks) PostRuntimeChartValuesCompute ¶
func (*Hooks) PreHelmValuesCompute ¶
type LifecycleHook ¶
type LifecycleHook func(ctx context.Context, f func() (LifecycleOutput, error))
type LifecycleOutput ¶
Click to show internal directories.
Click to hide internal directories.