deploy

package
v0.0.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultStackMarshaller

func NewDefaultStackMarshaller() *defaultStackMarshaller

func NewServiceNetworkStackDeployer

func NewServiceNetworkStackDeployer(cloud aws.Cloud, k8sClient client.Client, latticeDataStore *latticestore.LatticeDataStore) *serviceNetworkStackDeployer

func NewStackSchemaBuilder

func NewStackSchemaBuilder(stackID coremodel.StackID) *stackSchemaBuilder

NewStackSchemaBuilder constructs new stackSchemaBuilder.

func NewTargetsStackDeploy

func NewTargetsStackDeploy(cloud aws.Cloud, k8sClient client.Client, latticeDataStore *latticestore.LatticeDataStore) *latticeTargetsStackDeploy

Types

type LatticeServiceStackDeployer added in v0.0.16

type LatticeServiceStackDeployer struct {
	// contains filtered or unexported fields
}

func NewLatticeServiceStackDeploy

func NewLatticeServiceStackDeploy(
	log gwlog.Logger,
	cloud aws.Cloud,
	k8sClient client.Client,
	latticeDataStore *latticestore.LatticeDataStore,
) *LatticeServiceStackDeployer

func (*LatticeServiceStackDeployer) Deploy added in v0.0.16

type LatticeTargetGroupStackDeployer added in v0.0.16

type LatticeTargetGroupStackDeployer struct {
	// contains filtered or unexported fields
}

func NewTargetGroupStackDeploy

func NewTargetGroupStackDeploy(
	log gwlog.Logger,
	cloud aws.Cloud,
	k8sClient client.Client,
	latticeDataStore *latticestore.LatticeDataStore,
) *LatticeTargetGroupStackDeployer

triggered by service export

func (*LatticeTargetGroupStackDeployer) Deploy added in v0.0.16

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 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