demo

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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) Cancel

func (d *Demo) Cancel(ctx context.Context, spec interface{}) (interface{}, error)

func (*Demo) CapacityInfo

func (d *Demo) CapacityInfo() apistructs.CapacityInfoData

func (*Demo) CleanUpBeforeDelete

func (k *Demo) CleanUpBeforeDelete()

func (*Demo) Create

func (d *Demo) Create(ctx context.Context, specObj interface{}) (interface{}, error)

func (*Demo) Destroy

func (d *Demo) Destroy(ctx context.Context, spec interface{}) error

func (*Demo) Inspect

func (d *Demo) Inspect(ctx context.Context, spec interface{}) (interface{}, error)

func (*Demo) JobVolumeCreate

func (k *Demo) JobVolumeCreate(ctx context.Context, spec interface{}) (string, error)

func (*Demo) KillPod

func (*Demo) KillPod(podname string) error

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) Remove

func (d *Demo) Remove(ctx context.Context, spec interface{}) error

func (*Demo) ResourceInfo

func (d *Demo) ResourceInfo(brief bool) (apistructs.ClusterResourceInfoData, error)

func (*Demo) Scale added in v1.0.1

func (*Demo) Scale(ctx context.Context, spec interface{}) (interface{}, 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)

func (*Demo) Update

func (d *Demo) Update(ctx context.Context, specObj interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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