Documentation ¶
Index ¶
- type Demo
- func (d *Demo) Cancel(ctx context.Context, spec interface{}) (interface{}, error)
- func (d *Demo) CapacityInfo() apistructs.CapacityInfoData
- func (k *Demo) CleanUpBeforeDelete()
- func (d *Demo) Create(ctx context.Context, specObj interface{}) (interface{}, error)
- func (d *Demo) Destroy(ctx context.Context, spec interface{}) error
- func (d *Demo) Inspect(ctx context.Context, spec interface{}) (interface{}, error)
- func (k *Demo) JobVolumeCreate(ctx context.Context, spec interface{}) (string, error)
- func (*Demo) KillPod(podname string) error
- func (d *Demo) Kind() executortypes.Kind
- func (d *Demo) Name() executortypes.Name
- func (d *Demo) Precheck(ctx context.Context, specObj interface{}) (apistructs.ServiceGroupPrecheckData, error)
- func (d *Demo) Remove(ctx context.Context, spec interface{}) error
- func (d *Demo) ResourceInfo(brief bool) (apistructs.ClusterResourceInfoData, error)
- func (*Demo) Scale(ctx context.Context, spec interface{}) (interface{}, error)
- func (d *Demo) SetNodeLabels(setting executortypes.NodeLabelSetting, hosts []string, ...) error
- func (d *Demo) Status(ctx context.Context, specObj interface{}) (apistructs.StatusDesc, error)
- func (d *Demo) Update(ctx context.Context, specObj interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Demo ¶
type Demo struct {
// contains filtered or unexported fields
}
func (*Demo) CapacityInfo ¶
func (d *Demo) CapacityInfo() apistructs.CapacityInfoData
func (*Demo) CleanUpBeforeDelete ¶
func (k *Demo) CleanUpBeforeDelete()
func (*Demo) JobVolumeCreate ¶
func (*Demo) Kind ¶
func (d *Demo) Kind() executortypes.Kind
func (*Demo) Name ¶
func (d *Demo) Name() executortypes.Name
func (*Demo) Precheck ¶
func (d *Demo) Precheck(ctx context.Context, specObj interface{}) (apistructs.ServiceGroupPrecheckData, error)
func (*Demo) ResourceInfo ¶
func (d *Demo) ResourceInfo(brief bool) (apistructs.ClusterResourceInfoData, error)
func (*Demo) SetNodeLabels ¶
func (d *Demo) SetNodeLabels(setting executortypes.NodeLabelSetting, hosts []string, labels map[string]string) error
func (*Demo) Status ¶
func (d *Demo) Status(ctx context.Context, specObj interface{}) (apistructs.StatusDesc, error)
Click to show internal directories.
Click to hide internal directories.