Documentation ¶
Index ¶
- Variables
- func ErrClientConfig(err error) error
- func ErrClientSet(err error) error
- func ErrInstallMesh(err error) error
- func ErrMeshConfig(err error) error
- func ErrPortForward(err error) error
- func ErrStreamEvent(err error) error
- type Event
- type Handler
- type MeshInstance
- type Operation
- type Operations
- type Spec
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrOpInvalid = errors.New(errors.ErrOpInvalid, "Invalid operation")
)
Functions ¶
func ErrClientConfig ¶ added in v0.2.0
ErrClientConfig is the error for setting client config
func ErrClientSet ¶ added in v0.2.0
ErrPortForward is the error for setting clientset
func ErrInstallMesh ¶
ErrInstallMesh is the error for install mesh
func ErrPortForward ¶
ErrPortForward is the error for mesh port forward
func ErrStreamEvent ¶ added in v0.2.0
ErrStreamEvent is the error for streaming event
Types ¶
type Handler ¶
type Handler interface { GetName() string CreateInstance([]byte, string, *chan interface{}) error ApplyOperation(context.Context, string, string, bool) error ListOperations() (Operations, error) StreamErr(*Event, error) StreamInfo(*Event) }
Handler provides the methods supported by the adapter
type MeshInstance ¶
type MeshInstance struct { InstallMode string `json:"installmode,omitempty"` InstallPlatform string `json:"installplatform,omitempty"` InstallZone string `json:"installzone,omitempty"` InstallVersion string `json:"installversion,omitempty"` MgmtAddr string `json:"mgmtaddr,omitempty"` Kumaaddr string `json:"kumaaddr,omitempty"` }
MeshInstance holds the information of the instance of the mesh
Click to show internal directories.
Click to hide internal directories.