deploy

package
v2.5.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultStackDeployer

func NewDefaultStackDeployer(cloud aws.Cloud, k8sClient client.Client,
	networkingSGManager networking.SecurityGroupManager, networkingSGReconciler networking.SecurityGroupReconciler,
	config config.ControllerConfig, tagPrefix string, logger logr.Logger) *defaultStackDeployer

NewDefaultStackDeployer constructs new defaultStackDeployer.

func NewDefaultStackMarshaller

func NewDefaultStackMarshaller() *defaultStackMarshaller

func NewStackSchemaBuilder

func NewStackSchemaBuilder(stackID coremodel.StackID) *stackSchemaBuilder

NewStackSchemaBuilder constructs new stackSchemaBuilder.

Types

type ResourceSynthesizer

type ResourceSynthesizer interface {
	Synthesize(ctx context.Context) error
	PostSynthesize(ctx context.Context) error
}

type StackDeployer

type StackDeployer interface {
	// Deploy a resource stack.
	Deploy(ctx context.Context, stack core.Stack) error
}

StackDeployer will deploy a resource stack into AWS and K8S.

type StackMarshaller

type StackMarshaller interface {
	Marshal(stack core.Stack) (string, error)
}

StackMarshaller will marshall a resource stack into JSON.

type StackSchema

type StackSchema struct {
	// Stack's ID
	ID string `json:"id"`

	// all resources within stack.
	Resources map[string]map[string]interface{} `json:"resources"`
}

StackSchema represents the JSON model for stack.

Directories

Path Synopsis
Package elbv2 is a generated GoMock package.
Package elbv2 is a generated GoMock package.

Jump to

Keyboard shortcuts

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