Documentation ¶
Index ¶
- type EDAS
- func (e *EDAS) Cancel(ctx context.Context, specObj interface{}) (interface{}, error)
- func (e *EDAS) CapacityInfo() apistructs.CapacityInfoData
- func (e *EDAS) CleanUpBeforeDelete()
- func (e *EDAS) Create(ctx context.Context, specObj interface{}) (interface{}, error)
- func (e *EDAS) Destroy(ctx context.Context, specObj interface{}) error
- func (e *EDAS) Inspect(ctx context.Context, specObj interface{}) (interface{}, error)
- func (e *EDAS) JobVolumeCreate(ctx context.Context, spec interface{}) (string, error)
- func (e *EDAS) KillPod(podname string) error
- func (e *EDAS) Kind() executortypes.Kind
- func (e *EDAS) Name() executortypes.Name
- func (e *EDAS) Precheck(ctx context.Context, specObj interface{}) (apistructs.ServiceGroupPrecheckData, error)
- func (e *EDAS) Remove(ctx context.Context, specObj interface{}) error
- func (e *EDAS) ResourceInfo(brief bool) (apistructs.ClusterResourceInfoData, error)
- func (e *EDAS) Scale(ctx context.Context, specObj interface{}) (interface{}, error)
- func (e *EDAS) SetNodeLabels(setting executortypes.NodeLabelSetting, hosts []string, ...) error
- func (e *EDAS) Status(ctx context.Context, specObj interface{}) (apistructs.StatusDesc, error)
- func (e *EDAS) Update(ctx context.Context, specObj interface{}) (interface{}, error)
- func (e *EDAS) WaitEvent(lstore *sync.Map, stopCh chan struct{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EDAS ¶
type EDAS struct {
// contains filtered or unexported fields
}
EDAS edas server structure
func (*EDAS) CapacityInfo ¶
func (e *EDAS) CapacityInfo() apistructs.CapacityInfoData
func (*EDAS) CleanUpBeforeDelete ¶
func (e *EDAS) CleanUpBeforeDelete()
func (*EDAS) JobVolumeCreate ¶
func (*EDAS) Precheck ¶
func (e *EDAS) Precheck(ctx context.Context, specObj interface{}) (apistructs.ServiceGroupPrecheckData, error)
func (*EDAS) Remove ¶
Remove edas remove runtime Because it takes a long time for edas to delete the interface, which exceeds the timeout set by the console, the app is deleted in parallel
func (*EDAS) ResourceInfo ¶
func (e *EDAS) ResourceInfo(brief bool) (apistructs.ClusterResourceInfoData, error)
func (*EDAS) SetNodeLabels ¶
func (e *EDAS) SetNodeLabels(setting executortypes.NodeLabelSetting, hosts []string, labels map[string]string) error
func (*EDAS) Status ¶
func (e *EDAS) Status(ctx context.Context, specObj interface{}) (apistructs.StatusDesc, error)
Status edas status of runtime
Click to show internal directories.
Click to hide internal directories.