istio

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package istio - Common operations for the adapter

Package istio - Error codes for the adapter

Index

Constants

This section is empty.

Variables

View Source
var (
	// Errror code for failed service mesh installation
	ErrInstallIstioCode    = "istio_test_code"
	ErrUnzipFileCode       = "istio_test_code"
	ErrTarXZFCode          = "istio_test_code"
	ErrMeshConfigCode      = "istio_test_code"
	ErrFetchManifestCode   = "istio_test_code"
	ErrDownloadBinaryCode  = "istio_test_code"
	ErrInstallBinaryCode   = "istio_test_code"
	ErrClientConfigCode    = "istio_test_code"
	ErrClientSetCode       = "istio_test_code"
	ErrStreamEventCode     = "istio_test_code"
	ErrSampleAppCode       = "istio_test_code"
	ErrCustomOperationCode = "istio_test_code"

	ErrOpInvalid = errors.NewDefault(errors.ErrOpInvalid, "Invalid operation")
)

Functions

func ErrClientConfig added in v0.4.10

func ErrClientConfig(err error) error

ErrClientConfig is the error for setting client config

func ErrClientSet added in v0.4.10

func ErrClientSet(err error) error

ErrClientSet is the error for setting clientset

func ErrCustomOperation added in v0.4.10

func ErrCustomOperation(err error) error

ErrCustomOperation is the error for streaming event

func ErrDownloadBinary added in v0.4.10

func ErrDownloadBinary(err error) error

ErrDownloadBinary is the error while downloading istio binary

func ErrFetchManifest added in v0.4.10

func ErrFetchManifest(err error, des string) error

ErrFetchManifest is the error for mesh port forward

func ErrInstallBinary added in v0.4.10

func ErrInstallBinary(err error) error

ErrInstallBinary is the error while downloading istio binary

func ErrInstallIstio added in v0.4.10

func ErrInstallIstio(err error) error

ErrInstallIstio is the error for install mesh

func ErrMeshConfig added in v0.4.10

func ErrMeshConfig(err error) error

ErrMeshConfig is the error for mesh config

func ErrSampleApp added in v0.4.10

func ErrSampleApp(err error) error

ErrSampleApp is the error for streaming event

func ErrStreamEvent added in v0.4.10

func ErrStreamEvent(err error) error

ErrStreamEvent is the error for streaming event

func ErrTarXZF added in v0.4.10

func ErrTarXZF(err error) error

ErrTarXZF is the error for unzipping the file

func ErrUnzipFile added in v0.4.10

func ErrUnzipFile(err error) error

ErrUnzipFile is the error for unzipping the file

func New added in v0.4.10

New initializes istio handler.

Types

type Istio added in v0.4.10

type Istio struct {
	adapter.Adapter // Type Embedded
}

func (*Istio) ApplyOperation added in v0.4.10

func (istio *Istio) ApplyOperation(ctx context.Context, opReq adapter.OperationRequest) error

ApplyOperation applies the operation on istio

func (*Istio) LoadNamespaceToMesh added in v0.4.10

func (istio *Istio) LoadNamespaceToMesh(namespace string, remove bool) error

LoadNamespaceToMesh is used to mark namespaces for automatic sidecar injection (or not)

func (*Istio) LoadToMesh added in v0.4.10

func (istio *Istio) LoadToMesh(namespace string, service string, remove bool) error

LoadToMesh is used to mark deployment for automatic sidecar injection (or not)

Jump to

Keyboard shortcuts

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