data

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DataLocal  kv2.ClientTable
	DataZone   kv2.ClientTable
	DataGlobal kv2.ClientTable
	DataInpack kv2.ClientTable
)

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

func UpgradeGlobalData

func UpgradeGlobalData(data kv2.ClientTable) 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