nodes

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: 16 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 New

func New(db *dbclient.DBClient, bdl *bundle.Bundle) *Nodes

func (*Nodes) AddCSNodes

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

func (*Nodes) AddCloudNodes

func (n *Nodes) AddCloudNodes(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
	*apistructs.PipelineDetailDTO
}

Jump to

Keyboard shortcuts

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