Documentation ¶
Index ¶
- func ControlInstance(ctx context.Context, instanceID types.SFID, cmd enums.DeployCmd) (err error)
- func GetInstanceByAppletID(ctx context.Context, appletID types.SFID) (ret []models.Instance, err error)
- func GetInstanceByInstanceID(ctx context.Context, instanceID types.SFID) (*models.Instance, error)
- func StartInstances(ctx context.Context) error
- func WithInstanceRuntimeContext(parent context.Context) (context.Context, error)
- type CreateInstanceReq
- type CreateInstanceRsp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControlInstance ¶
func GetInstanceByAppletID ¶
func GetInstanceByInstanceID ¶
func StartInstances ¶
Types ¶
type CreateInstanceReq ¶ added in v1.0.0
type CreateInstanceRsp ¶
type CreateInstanceRsp struct { InstanceID types.SFID `json:"instanceID"` InstanceState enums.InstanceState `json:"instanceState"` }
func CreateInstance ¶
func CreateInstance(ctx context.Context, r *CreateInstanceReq) (*CreateInstanceRsp, error)
Click to show internal directories.
Click to hide internal directories.