v1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "prescaling.bedrock.tech"
View Source
const GroupVersion = "v1"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
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.

Jump to

Keyboard shortcuts

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