Documentation ¶
Overview ¶
Package istio - Common operations for the adapter
Package istio - Error codes for the adapter
Index ¶
- Variables
- func ErrClientConfig(err error) error
- func ErrClientSet(err error) error
- func ErrCustomOperation(err error) error
- func ErrDownloadBinary(err error) error
- func ErrFetchManifest(err error, des string) error
- func ErrInstallBinary(err error) error
- func ErrInstallIstio(err error) error
- func ErrMeshConfig(err error) error
- func ErrSampleApp(err error) error
- func ErrStreamEvent(err error) error
- func ErrTarXZF(err error) error
- func ErrUnzipFile(err error) error
- func New(c adapterconfig.Handler, l logger.Handler, kc adapterconfig.Handler) adapter.Handler
- type Istio
Constants ¶
This section is empty.
Variables ¶
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
ErrClientConfig is the error for setting client config
func ErrClientSet ¶ added in v0.4.10
ErrClientSet is the error for setting clientset
func ErrCustomOperation ¶ added in v0.4.10
ErrCustomOperation is the error for streaming event
func ErrDownloadBinary ¶ added in v0.4.10
ErrDownloadBinary is the error while downloading istio binary
func ErrFetchManifest ¶ added in v0.4.10
ErrFetchManifest is the error for mesh port forward
func ErrInstallBinary ¶ added in v0.4.10
ErrInstallBinary is the error while downloading istio binary
func ErrInstallIstio ¶ added in v0.4.10
ErrInstallIstio is the error for install mesh
func ErrMeshConfig ¶ added in v0.4.10
ErrMeshConfig is the error for mesh config
func ErrSampleApp ¶ added in v0.4.10
ErrSampleApp is the error for streaming event
func ErrStreamEvent ¶ added in v0.4.10
ErrStreamEvent is the error for streaming event
func ErrUnzipFile ¶ added in v0.4.10
ErrUnzipFile is the error for unzipping the file
func New ¶ added in v0.4.10
func New(c adapterconfig.Handler, l logger.Handler, kc adapterconfig.Handler) adapter.Handler
New initializes istio handler.
Types ¶
type Istio ¶ added in v0.4.10
func (*Istio) ApplyOperation ¶ added in v0.4.10
ApplyOperation applies the operation on istio
func (*Istio) LoadNamespaceToMesh ¶ added in v0.4.10
LoadNamespaceToMesh is used to mark namespaces for automatic sidecar injection (or not)