deploy

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TG_GC_IVL = time.Second * 30
)

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.

type TgGc added in v1.0.3

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

type TgGcCycleFn added in v1.0.3

type TgGcCycleFn = func(context.Context) (TgGcResult, error)

func NewTgGcFn added in v1.0.3

func NewTgGcFn(tgSynth *lattice.TargetGroupSynthesizer) TgGcCycleFn

type TgGcResult added in v1.0.3

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

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