Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlreadyExistsError ¶
AlreadyExistsError is an not found error.
func (*AlreadyExistsError) Error ¶
func (e *AlreadyExistsError) Error() string
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance exposes service instance APIs of MESG.
func New ¶
func New(c container.Container, service servicesdk.Service, instanceDB database.InstanceDB, engineName, port string) *Instance
New creates a new Instance SDK with given options.
func (*Instance) Create ¶
Create creates a new service instance for service with id(sid/hash) and applies given env vars.
func (*Instance) Delete ¶
Delete deletes an instance. if deleteData is enabled, any persistent data that belongs to the instance and to its dependencies will also be deleted.
Click to show internal directories.
Click to hide internal directories.