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
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 ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "settings.svcat.k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
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 +k8s:openapi-gen=true +kubebuilder:resource:path=podpresets +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;watch;list;update +kubebuilder:rbac:groups=,resources=events,verbs=create;patch;update +kubebuilder:informers:group=apps,version=v1,kind=Deployment
func (*PodPreset) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset.
func (*PodPreset) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodPreset) DeepCopyObject ¶
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 { // 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.