Documentation ¶
Overview ¶
+groupName=schedule.pagerduty.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Schedule
- func (in *Schedule) DeepCopy() *Schedule
- func (in *Schedule) DeepCopyInto(out *Schedule)
- func (in *Schedule) DeepCopyObject() runtime.Object
- func (r *Schedule) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Schedule) ValidateCreate() error
- func (r *Schedule) ValidateDelete() error
- func (r *Schedule) ValidateUpdate(old runtime.Object) error
- type ScheduleList
- type ScheduleSpec
- type ScheduleSpecLayer
- type ScheduleSpecLayerRestriction
- type ScheduleSpecResource
- type ScheduleStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: schedule.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Schedule ¶
type Schedule struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ScheduleSpec `json:"spec,omitempty"` Status ScheduleStatus `json:"status,omitempty"` }
func (*Schedule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Schedule.
func (*Schedule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Schedule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Schedule) SetupWebhookWithManager ¶
func (*Schedule) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Schedule) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ScheduleList ¶
type ScheduleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Schedule CRD objects Items []Schedule `json:"items,omitempty"` }
ScheduleList is a list of Schedules
func (*ScheduleList) DeepCopy ¶
func (in *ScheduleList) DeepCopy() *ScheduleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleList.
func (*ScheduleList) DeepCopyInto ¶
func (in *ScheduleList) DeepCopyInto(out *ScheduleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduleList) DeepCopyObject ¶
func (in *ScheduleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduleSpec ¶
type ScheduleSpec struct { State *ScheduleSpecResource `json:"state,omitempty" tf:"-"` Resource ScheduleSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*ScheduleSpec) DeepCopy ¶
func (in *ScheduleSpec) DeepCopy() *ScheduleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleSpec.
func (*ScheduleSpec) DeepCopyInto ¶
func (in *ScheduleSpec) DeepCopyInto(out *ScheduleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleSpecLayer ¶
type ScheduleSpecLayer struct { // +optional End *string `json:"end,omitempty" tf:"end"` // +optional ID *string `json:"ID,omitempty" tf:"id"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional Restriction []ScheduleSpecLayerRestriction `json:"restriction,omitempty" tf:"restriction"` RotationTurnLengthSeconds *int64 `json:"rotationTurnLengthSeconds" tf:"rotation_turn_length_seconds"` RotationVirtualStart *string `json:"rotationVirtualStart" tf:"rotation_virtual_start"` Start *string `json:"start" tf:"start"` // +kubebuilder:validation:MinItems=1 Users []string `json:"users" tf:"users"` }
func (*ScheduleSpecLayer) DeepCopy ¶
func (in *ScheduleSpecLayer) DeepCopy() *ScheduleSpecLayer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleSpecLayer.
func (*ScheduleSpecLayer) DeepCopyInto ¶
func (in *ScheduleSpecLayer) DeepCopyInto(out *ScheduleSpecLayer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleSpecLayerRestriction ¶
type ScheduleSpecLayerRestriction struct { DurationSeconds *int64 `json:"durationSeconds" tf:"duration_seconds"` // +optional StartDayOfWeek *int64 `json:"startDayOfWeek,omitempty" tf:"start_day_of_week"` StartTimeOfDay *string `json:"startTimeOfDay" tf:"start_time_of_day"` Type *string `json:"type" tf:"type"` }
func (*ScheduleSpecLayerRestriction) DeepCopy ¶
func (in *ScheduleSpecLayerRestriction) DeepCopy() *ScheduleSpecLayerRestriction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleSpecLayerRestriction.
func (*ScheduleSpecLayerRestriction) DeepCopyInto ¶
func (in *ScheduleSpecLayerRestriction) DeepCopyInto(out *ScheduleSpecLayerRestriction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleSpecResource ¶
type ScheduleSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Description *string `json:"description,omitempty" tf:"description"` Layer []ScheduleSpecLayer `json:"layer" tf:"layer"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional Overflow *bool `json:"overflow,omitempty" tf:"overflow"` // +optional Teams []string `json:"teams,omitempty" tf:"teams"` TimeZone *string `json:"timeZone" tf:"time_zone"` }
func (*ScheduleSpecResource) DeepCopy ¶
func (in *ScheduleSpecResource) DeepCopy() *ScheduleSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleSpecResource.
func (*ScheduleSpecResource) DeepCopyInto ¶
func (in *ScheduleSpecResource) DeepCopyInto(out *ScheduleSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleStatus ¶
type ScheduleStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*ScheduleStatus) DeepCopy ¶
func (in *ScheduleStatus) DeepCopy() *ScheduleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleStatus.
func (*ScheduleStatus) DeepCopyInto ¶
func (in *ScheduleStatus) DeepCopyInto(out *ScheduleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.