Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Scheduler typeScheduler.Scheduler
)
Functions ¶
func NewZoneMainJob ¶
func SetupScheduler ¶
func SetupScheduler() error
Types ¶
type ApiZoneMaster ¶
type ApiZoneMaster struct {
inapi.UnimplementedApiZoneMasterServer
}
func (*ApiZoneMaster) HostConfig ¶
func (s *ApiZoneMaster) HostConfig( ctx context.Context, req *inapi.ZoneHostConfigRequest, ) (*inapi.ZoneHostConfigReply, error)
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) Spec ¶
func (it *ZoneMainJob) Spec() *injob.JobSpec
func (*ZoneMainJob) Status ¶
func (it *ZoneMainJob) Status() *injob.Status
Click to show internal directories.
Click to hide internal directories.