deploy

package
v1.0.3-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccessLogSubscriptionStackDeployer added in v0.0.18

func NewAccessLogSubscriptionStackDeployer(
	log gwlog.Logger,
	cloud pkg_aws.Cloud,
	k8sClient client.Client,
) *accessLogSubscriptionStackDeployer

func NewDefaultStackMarshaller

func NewDefaultStackMarshaller() *defaultStackMarshaller

func NewLatticeServiceStackDeploy

func NewLatticeServiceStackDeploy(
	log gwlog.Logger,
	cloud pkg_aws.Cloud,
	k8sClient client.Client,
) *latticeServiceStackDeployer

func NewStackSchemaBuilder

func NewStackSchemaBuilder(stackID coremodel.StackID) *stackSchemaBuilder

NewStackSchemaBuilder constructs new stackSchemaBuilder.

func NewTargetGroupStackDeploy

func NewTargetGroupStackDeploy(
	log gwlog.Logger,
	cloud pkg_aws.Cloud,
	k8sClient client.Client,
) *latticeTargetGroupStackDeployer

triggered by service export

Types

type ResourceSynthesizer

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

type StackDeployer

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

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 externaldns is a generated GoMock package.
Package externaldns is a generated GoMock package.
Package lattice is a generated GoMock package.
Package lattice is a generated GoMock package.

Jump to

Keyboard shortcuts

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