scheduler

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hints

type Hints struct {
	CertificateRequestors []string `json:"certificateRequestors,omitempty"`
}

type Keda

type Keda struct {
	Identity *identity.Identity `json:"identity,omitempty"`
}

type ScheduleCommand

type ScheduleCommand struct {
	Id             string                      `json:"id"`
	EventType      ScheduleCommandEventType    `json:"eventType"`
	DeleteReason   ScheduleCommandDeleteReason `json:"deleteReason,omitempty"`
	Timestamp      string                      `json:"timestamp"`
	Gvc            *gvc.Gvc                    `json:"gvc"`
	Org            *org.Org                    `json:"org,omitempty"`
	GvcConfig      *gvc.GvcConfig              `json:"gvcConfig,omitempty"`
	Workload       *workload.Workload          `json:"workload,omitempty"`
	WorkloadConfig *workload.WorkloadConfig    `json:"workloadConfig,omitempty"`
	Identity       *identity.Identity          `json:"identity,omitempty"`
	Hints          *Hints                      `json:"hints,omitempty"`
	VolumeSetFlags *VolumeSetFlags             `json:"volumeSetFlags,omitempty"`
	Keda           *Keda                       `json:"keda,omitempty"`
}

type ScheduleCommandDeleteReason

type ScheduleCommandDeleteReason string
const (
	ScheduleCommandDeleteReasonLocationDeactivated ScheduleCommandDeleteReason = "locationDeactivated"
	ScheduleCommandDeleteReasonGvcDeleted          ScheduleCommandDeleteReason = "gvcDeleted"
	ScheduleCommandDeleteReasonWorkloadDeleted     ScheduleCommandDeleteReason = "workloadDeleted"
	ScheduleCommandDeleteReasonScheduledElsewhere  ScheduleCommandDeleteReason = "scheduledElsewhere"
	ScheduleCommandDeleteReasonSuspended           ScheduleCommandDeleteReason = "suspended"
)

type ScheduleCommandEventType

type ScheduleCommandEventType string
const (
	ScheduleCommandEventTypeCreate ScheduleCommandEventType = "create"
	ScheduleCommandEventTypeDelete ScheduleCommandEventType = "delete"
)

type ScheduleServiceCommand

type ScheduleServiceCommand struct {
	Id           string                             `json:"id"`
	EventType    ScheduleCommandEventType           `json:"eventType"`
	DeleteReason ScheduleServiceCommandDeleteReason `json:"deleteReason,omitempty"`
	Timestamp    string                             `json:"timestamp"`
	Service      any                                `json:"service"`
}

type ScheduleServiceCommandDeleteReason

type ScheduleServiceCommandDeleteReason string
const (
	ScheduleServiceCommandDeleteReasonLocationDeactivated ScheduleServiceCommandDeleteReason = "locationDeactivated"
	ScheduleServiceCommandDeleteReasonServiceDeleted      ScheduleServiceCommandDeleteReason = "serviceDeleted"
	ScheduleServiceCommandDeleteReasonScheduledElsewhere  ScheduleServiceCommandDeleteReason = "scheduledElsewhere"
)

type VolumeSetFlags

type VolumeSetFlags struct {
	PendingVolumeCreationGracePeriodSeconds float32 `json:"pendingVolumeCreationGracePeriodSeconds,omitempty"`
}

Jump to

Keyboard shortcuts

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