Documentation ¶
Index ¶
- Variables
- func NewInstanceMgr(ctx context.Context, config *Config) (extension.InstanceManagement, error)
- type Config
- type InstanceMgr
- func (i InstanceMgr) AddInstance(ctx context.Context, name string, config []byte, configType string) error
- func (i InstanceMgr) Close() error
- func (i InstanceMgr) ListInstance(ctx context.Context) ([]string, error)
- func (i InstanceMgr) Start() error
- func (i InstanceMgr) StartInstance(ctx context.Context, name string) error
- func (i InstanceMgr) StopInstance(ctx context.Context, name string) error
- func (i InstanceMgr) Type() interface{}
- func (i InstanceMgr) UntrackInstance(ctx context.Context, name string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_app_instman_config_proto protoreflect.FileDescriptor
Functions ¶
func NewInstanceMgr ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) Descriptor
deprecated
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type InstanceMgr ¶
type InstanceMgr struct {
// contains filtered or unexported fields
}
func (InstanceMgr) AddInstance ¶
func (InstanceMgr) Close ¶
func (i InstanceMgr) Close() error
func (InstanceMgr) ListInstance ¶
func (i InstanceMgr) ListInstance(ctx context.Context) ([]string, error)
func (InstanceMgr) Start ¶
func (i InstanceMgr) Start() error
func (InstanceMgr) StartInstance ¶
func (i InstanceMgr) StartInstance(ctx context.Context, name string) error
func (InstanceMgr) StopInstance ¶
func (i InstanceMgr) StopInstance(ctx context.Context, name string) error
func (InstanceMgr) Type ¶
func (i InstanceMgr) Type() interface{}
func (InstanceMgr) UntrackInstance ¶
func (i InstanceMgr) UntrackInstance(ctx context.Context, name string) error
Click to show internal directories.
Click to hide internal directories.