demo

package
v1.1.0-rc Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: AGPL-3.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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