Documentation ¶
Index ¶
Constants ¶
const GroupName = "prescaling.bedrock.tech"
const GroupVersion = "v1"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
Functions ¶
This section is empty.
Types ¶
type PrescalingEvent ¶
type PrescalingEvent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrescalingEventSpec `json:"spec"` }
func (*PrescalingEvent) DeepCopy ¶
func (in *PrescalingEvent) DeepCopy() *PrescalingEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrescalingEvent.
func (*PrescalingEvent) DeepCopyInto ¶
func (in *PrescalingEvent) DeepCopyInto(out *PrescalingEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrescalingEvent) DeepCopyObject ¶
func (in *PrescalingEvent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrescalingEventList ¶
type PrescalingEventList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PrescalingEvent `json:"items"` }
func (*PrescalingEventList) DeepCopy ¶
func (in *PrescalingEventList) DeepCopy() *PrescalingEventList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrescalingEventList.
func (*PrescalingEventList) DeepCopyInto ¶
func (in *PrescalingEventList) DeepCopyInto(out *PrescalingEventList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrescalingEventList) DeepCopyObject ¶
func (in *PrescalingEventList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrescalingEventSpec ¶
type PrescalingEventSpec struct { Date string `json:"date" example:"2022-05-25"` StartTime string `json:"start_time" example:"20:00:00"` EndTime string `json:"end_time" example:"23:59:59"` Multiplier int `json:"multiplier" example:"2"` Description string `json:"description" example:"a good description"` }
func (*PrescalingEventSpec) DeepCopy ¶
func (in *PrescalingEventSpec) DeepCopy() *PrescalingEventSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrescalingEventSpec.
func (*PrescalingEventSpec) DeepCopyInto ¶
func (in *PrescalingEventSpec) DeepCopyInto(out *PrescalingEventSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.