instman

package
v5.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_app_instman_config_proto protoreflect.FileDescriptor

Functions

func NewInstanceMgr

func NewInstanceMgr(ctx context.Context, config *Config) (extension.InstanceManagement, error)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type InstanceMgr

type InstanceMgr struct {
	// contains filtered or unexported fields
}

func (InstanceMgr) AddInstance

func (i InstanceMgr) AddInstance(ctx context.Context, name string, config []byte, configType string) error

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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