v1alpha1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: turndownschedule.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back 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 TurndownSchedule

type TurndownSchedule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TurndownScheduleSpec   `json:"spec"`
	Status TurndownScheduleStatus `json:"status"`
}

TurndownSchedule is a specification for a TurndownSchedule resource

func (*TurndownSchedule) DeepCopy

func (in *TurndownSchedule) DeepCopy() *TurndownSchedule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TurndownSchedule.

func (*TurndownSchedule) DeepCopyInto

func (in *TurndownSchedule) DeepCopyInto(out *TurndownSchedule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TurndownSchedule) DeepCopyObject

func (in *TurndownSchedule) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TurndownScheduleList

type TurndownScheduleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []TurndownSchedule `json:"items"`
}

TurndownScheduleList is a list of TurndownSchedule resources

func (*TurndownScheduleList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TurndownScheduleList.

func (*TurndownScheduleList) DeepCopyInto

func (in *TurndownScheduleList) DeepCopyInto(out *TurndownScheduleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TurndownScheduleList) DeepCopyObject

func (in *TurndownScheduleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TurndownScheduleSpec

type TurndownScheduleSpec struct {
	Start  metav1.Time `json:"start"`
	End    metav1.Time `json:"end"`
	Repeat string      `json:"repeat"`
}

TurndownScheduleSpec is the spec for a TurndownSchedule resource

func (*TurndownScheduleSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TurndownScheduleSpec.

func (*TurndownScheduleSpec) DeepCopyInto

func (in *TurndownScheduleSpec) DeepCopyInto(out *TurndownScheduleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TurndownScheduleStatus

type TurndownScheduleStatus struct {
	State             string            `json:"state"`
	LastUpdated       metav1.Time       `json:"lastUpdated"`
	Current           string            `json:"current,omitempty"`
	ScaleDownID       string            `json:"scaleDownId,omitempty"`
	ScaleDownTime     metav1.Time       `json:"nextScaleDownTime,omitempty"`
	ScaleDownMetadata map[string]string `json:"scaleDownMetadata,omitempty"`
	ScaleUpID         string            `json:"scaleUpID,omitempty"`
	ScaleUpTime       metav1.Time       `json:"nextScaleUpTime,omitempty"`
	ScaleUpMetadata   map[string]string `json:"scaleUpMetadata,omitempty"`
}

TurndownScheduleStatus is the status for a TurndownSchedule resource

func (*TurndownScheduleStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TurndownScheduleStatus.

func (*TurndownScheduleStatus) DeepCopyInto

func (in *TurndownScheduleStatus) DeepCopyInto(out *TurndownScheduleStatus)

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