v1alpha1

package
v0.0.0-...-d3bedcd Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 28

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the settings v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/jpeeler/podpreset-crd/pkg/apis/settings +k8s:defaulter-gen=TypeMeta +groupName=settings.svcat.k8s.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "settings.svcat.k8s.io", Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

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 +k8s:openapi-gen=true

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"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 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 {
	// Selector is a label query over a set of resources, in this case pods.
	// Required.
	Selector metav1.LabelSelector `json:"selector"`

	// Env defines the collection of EnvVar to inject into containers.
	// +optional
	Env []v1.EnvVar `json:"env,omitempty"`

	// EnvFrom defines the collection of EnvFromSource to inject into containers.
	// +optional
	EnvFrom []v1.EnvFromSource `json:"envFrom,omitempty"`

	// Volumes defines the collection of Volume to inject into the pod.
	// +optional
	Volumes []v1.Volume `json:"volumes,omitempty"`

	// VolumeMounts defines the collection of VolumeMount to inject into containers.
	// +optional
	VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty"`
}

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 {
}

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