data

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// prevDataLocal kv2.ClientTable
	DataLocal kvapi.Client

	// prevDataZone kv2.ClientTable
	DataZone kvapi.Client

	// prevDataPack kv2.ClientTable
	DataPack kvapi.Client

	// prevDataGlobal kv2.ClientTable
	DataGlobal kvapi.Client
)

Functions

func Close

func Close() error

func NewDataJob

func NewDataJob() *injob.JobEntry

func Setup

func Setup() error

func SysCellDelete

func SysCellDelete(zoneId string, cell *inapi.ResCell) error

func SysCellUpdate

func SysCellUpdate(zoneId string, cell *inapi.ResCell) error

func SysHostDelete

func SysHostDelete(zoneId string, host *inapi.ResHost) error

func SysHostUpdate

func SysHostUpdate(zoneId string, host *inapi.ResHost) error

func SysZoneDelete

func SysZoneDelete(zoneId string, zone *inapi.ResZone) error

func SysZoneUpdate

func SysZoneUpdate(zoneId string, zone *inapi.ResZone) error

Types

type DataJob

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

func (*DataJob) Run

func (it *DataJob) Run(ctx *injob.Context) error

func (*DataJob) Spec

func (it *DataJob) Spec() *injob.JobSpec

func (*DataJob) Status

func (it *DataJob) Status() *injob.Status

Jump to

Keyboard shortcuts

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