zonemaster

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: 41 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Scheduler typeScheduler.Scheduler
)

Functions

func InitData

func InitData(items []*kv2.ClientObjectItem) error

func NewZoneMainJob

func NewZoneMainJob() *injob.JobEntry

func SetupScheduler

func SetupScheduler() error

Types

type ApiZoneMaster

type ApiZoneMaster struct {
	inapi.UnimplementedApiZoneMasterServer
}

func (*ApiZoneMaster) HostConfig

func (*ApiZoneMaster) HostStatusSync

func (s *ApiZoneMaster) HostStatusSync(
	ctx context.Context,
	req *inapi.ResHost,
) (*inapi.ResHostBound, error)

type ZoneMainJob

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

func (*ZoneMainJob) Run

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

func (*ZoneMainJob) Spec

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

func (*ZoneMainJob) Status

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

Jump to

Keyboard shortcuts

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