framework

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 18 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     kubernetes.Interface
	K8sMeshClient meshclientset.Interface

	NSManager   namespace.Manager
	DPManager   deployment.Manager
	MeshManager mesh.Manager
	VNManager   virtualnode.Manager
	VSManager   virtualservice.Manager
	HelmManager helm.Manager

	SDClient servicediscoveryiface.ServiceDiscoveryAPI
	Logger   *zap.Logger
}

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

Directories

Path Synopsis
resource

Jump to

Keyboard shortcuts

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