nodes

package
v1.3.0-rc.0...-d217119 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Nodes

type Nodes struct {
	// contains filtered or unexported fields
}

func (*Nodes) AddCSNodes

func (n *Nodes) AddCSNodes(ctx context.Context, req apistructs.CloudNodesRequest, userid string) (uint64, error)

func (*Nodes) AddCloudNodes

func (n *Nodes) AddCloudNodes(ctx context.Context, req apistructs.CloudNodesRequest, userid string) (uint64, error)

func (*Nodes) AddNodes

func (n *Nodes) AddNodes(req apistructs.AddNodesRequest, userid string) (uint64, error)

func (*Nodes) DeleteEssNodes

func (n *Nodes) DeleteEssNodes(req apistructs.DeleteNodesRequest, userid string, orgid string) (uint64, error)

ess remove nodes & delete nodes in cloud resource

func (*Nodes) DeleteEssNodesCron

func (n *Nodes) DeleteEssNodesCron(req apistructs.DeleteNodesCronRequest, userid string, orgid string) (*uint64, error)

ess remove nodes & delete nodes in cron mode

func (*Nodes) Logs

func (*Nodes) Merge

func (n *Nodes) Merge(rs []dbclient.Record) ([]RecordWithPipeline, error)

func (*Nodes) Query

func (*Nodes) RmNodes

func (n *Nodes) RmNodes(req apistructs.RmNodesRequest, userid string, orgid string) (uint64, error)

func (*Nodes) Sync

func (n *Nodes) Sync(rs []dbclient.Record) ([]dbclient.Record, error)

func (*Nodes) UpdateCronJobRecord

func (n *Nodes) UpdateCronJobRecord(req apistructs.RecordUpdateRequest) error

type RecordWithPipeline

type RecordWithPipeline struct {
	dbclient.Record
	PipelineDetailDTO *pipelinepb.PipelineDetailDTO
}

Jump to

Keyboard shortcuts

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