framework

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework struct {
	Options   Options
	RestCfg   *rest.Config
	K8sClient client.Client

	NSManager   namespace.Manager
	DPManager   deployment.Manager
	MeshManager mesh.Manager
	VNManager   virtualnode.Manager
	VSManager   virtualservice.Manager
	VRManager   virtualrouter.Manager
	VGManager   virtualgateway.Manager
	GRManager   gatewayroute.Manager
	HelmManager helm.Manager

	CloudMapClient services.CloudMap
	Logger         *zap.Logger
	StopChan       <-chan struct{}
}

func New

func New(options Options) *Framework

type Options

type Options struct {
	KubeConfig  string
	ClusterName string
	AWSRegion   string
	AWSVPCID    string

	// appMesh controller image. leave empty to use default one from helm chart.
	ControllerImage string

	// appmesh injector image, leave empty to use default one from helm chart.
	InjectorImage string
}
var GlobalOptions Options

func (*Options) BindFlags

func (options *Options) BindFlags()

func (*Options) Validate

func (options *Options) Validate() error

Jump to

Keyboard shortcuts

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