v1alpha1

package
v0.0.0-...-4bf4993 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the redhatcop v1alpha1 API group +kubebuilder:object:generate=true +groupName=redhatcop.redhat.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "redhatcop.redhat.io", 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 PodPreset

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

	Spec   PodPresetSpec   `json:"spec,omitempty"`
	Status PodPresetStatus `json:"status,omitempty"`
}

PodPreset is the Schema for the podpresets API

func (*PodPreset) DeepCopy

func (in *PodPreset) DeepCopy() *PodPreset

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

func (*PodPreset) DeepCopyInto

func (in *PodPreset) DeepCopyInto(out *PodPreset)

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

func (*PodPreset) DeepCopyObject

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

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

type PodPresetList

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

PodPresetList contains a list of PodPreset

func (*PodPresetList) DeepCopy

func (in *PodPresetList) DeepCopy() *PodPresetList

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

func (*PodPresetList) DeepCopyInto

func (in *PodPresetList) DeepCopyInto(out *PodPresetList)

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

func (*PodPresetList) DeepCopyObject

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

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

type PodPresetSpec

type PodPresetSpec struct {
	// +kubebuilder:validation:Required
	Selector metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"`

	// +patchMergeKey=name
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Env []corev1.EnvVar `json:"env,omitempty" protobuf:"bytes,2,rep,name=env"`

	// +patchMergeKey=name
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty" protobuf:"bytes,3,rep,name=envFrom"`

	// +patchMergeKey=name
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Volumes []corev1.Volume `json:"volumes,omitempty" protobuf:"bytes,4,rep,name=volumes"`

	// +patchMergeKey=name
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty" protobuf:"bytes,5,rep,name=volumeMounts"`
}

PodPresetSpec defines the desired state of PodPreset

func (*PodPresetSpec) DeepCopy

func (in *PodPresetSpec) DeepCopy() *PodPresetSpec

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

func (*PodPresetSpec) DeepCopyInto

func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec)

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

type PodPresetStatus

type PodPresetStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	// +kubebuilder:validation:Optional
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Conditions",xDescriptors={"urn:alm:descriptor:io.kubernetes.conditions"}
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

PodPresetStatus defines the observed state of PodPreset

func (*PodPresetStatus) DeepCopy

func (in *PodPresetStatus) DeepCopy() *PodPresetStatus

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

func (*PodPresetStatus) DeepCopyInto

func (in *PodPresetStatus) DeepCopyInto(out *PodPresetStatus)

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