nodes

package
v1.2.0-rc Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: AGPL-3.0 Imports: 16 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 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