v1alpha1

package
v1.0.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: EUPL-1.2 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the lifecycle v1alpha1 API group +kubebuilder:object:generate=true +groupName=lifecycle.libre.sh

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "lifecycle.libre.sh", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type IngressBackup

type IngressBackup struct {
	Name        string              `json:"name,omitempty"`
	Rules       []netv1.IngressRule `json:"rules,omitempty"`
	Annotations map[string]string   `json:"annotations,omitempty"`
}

func (*IngressBackup) DeepCopy

func (in *IngressBackup) DeepCopy() *IngressBackup

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

func (*IngressBackup) DeepCopyInto

func (in *IngressBackup) DeepCopyInto(out *IngressBackup)

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

type Maintenance

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

	Spec   MaintenanceSpec   `json:"spec,omitempty"`
	Status MaintenanceStatus `json:"status,omitempty"`
}

Maintenance is the Schema for the maintenances API

func (*Maintenance) DeepCopy

func (in *Maintenance) DeepCopy() *Maintenance

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

func (*Maintenance) DeepCopyInto

func (in *Maintenance) DeepCopyInto(out *Maintenance)

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

func (*Maintenance) DeepCopyObject

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

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

func (*Maintenance) GetConditions

func (o *Maintenance) GetConditions() []metav1.Condition

func (*Maintenance) SetConditions

func (o *Maintenance) SetConditions(conditions []metav1.Condition)

type MaintenanceList

type MaintenanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Maintenance `json:"items"`
}

MaintenanceList contains a list of Maintenance

func (*MaintenanceList) DeepCopy

func (in *MaintenanceList) DeepCopy() *MaintenanceList

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

func (*MaintenanceList) DeepCopyInto

func (in *MaintenanceList) DeepCopyInto(out *MaintenanceList)

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

func (*MaintenanceList) DeepCopyObject

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

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

type MaintenanceSpec

type MaintenanceSpec struct {
	//+kubebuilder:validation:Required
	IngressRefs []corev1.LocalObjectReference `json:"ingressRefs"`
	//+kubebuilder:validation:Optional
	What string `json:"what,omitempty"`
	//+kubebuilder:validation:Optional
	When string `json:"when,omitempty"`
	//+kubebuilder:validation:Optional
	Info string `json:"info,omitempty"`
	//+kubebuilder:validation:Optional
	Egg string `json:"egg,omitempty"`
}

MaintenanceSpec defines the desired state of Maintenance

func (*MaintenanceSpec) DeepCopy

func (in *MaintenanceSpec) DeepCopy() *MaintenanceSpec

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

func (*MaintenanceSpec) DeepCopyInto

func (in *MaintenanceSpec) DeepCopyInto(out *MaintenanceSpec)

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

type MaintenanceStatus

type MaintenanceStatus struct {
	lshmeta.Status `json:",inline"`
	IngressBackups []IngressBackup `json:"ingressBackup,omitempty"`
}

MaintenanceStatus defines the observed state of Maintenance

func (*MaintenanceStatus) DeepCopy

func (in *MaintenanceStatus) DeepCopy() *MaintenanceStatus

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

func (*MaintenanceStatus) DeepCopyInto

func (in *MaintenanceStatus) DeepCopyInto(out *MaintenanceStatus)

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