planninghooks

package
v0.0.264 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPrepareHook

func RegisterPrepareHook(name string, f PrepareHookFunc)

Types

type InternalPrepareProps

type InternalPrepareProps struct {
	ComputePlanWith []*schema.Invocation // Will generate further plan contents.
	ProvisionResult
}

func InvokeInternalPrepareHook

func InvokeInternalPrepareHook(ctx context.Context, name string, env cfg.Context, srv *schema.Stack_Entry) (*InternalPrepareProps, error)

func (*InternalPrepareProps) AppendWith

func (p *InternalPrepareProps) AppendWith(rhs InternalPrepareProps)

type ProvisionResult

type ProvisionResult struct {
	ProvisionInput           []rtypes.ProvisionInput
	SerializedProvisionInput []*schema.SerializedMessage
	Extension                []*schema.DefExtension
	ServerExtension          []*schema.ServerExtension
}

func (*ProvisionResult) AppendWith

func (p *ProvisionResult) AppendWith(rhs ProvisionResult)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL