Documentation ¶
Overview ¶
Package settings implements PodPreset CRUD APIs +groupName=settings.servicecatalog.k8s.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetObjectDefaults_PodPreset(in *PodPreset)
- func SetObjectDefaults_PodPresetList(in *PodPresetList)
- type PodPreset
- type PodPresetList
- type PodPresetSpec
Constants ¶
const GroupName = "settings.servicecatalog.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder needs to be exported as `SchemeBuilder` so // the code-generation can find it. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is exposed for API installation AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func SetObjectDefaults_PodPreset ¶ added in v0.5.2
func SetObjectDefaults_PodPreset(in *PodPreset)
func SetObjectDefaults_PodPresetList ¶ added in v0.5.2
func SetObjectDefaults_PodPresetList(in *PodPresetList)
Types ¶
type PodPreset ¶
type PodPreset struct { metav1.TypeMeta // +optional metav1.ObjectMeta // +optional Spec PodPresetSpec }
PodPreset is a policy resource that defines additional runtime requirements for a Pod.
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 ¶
PodPresetList is a list of PodPreset objects.
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 // Env defines the collection of EnvVar to inject into containers. // +optional Env []v1.EnvVar // EnvFrom defines the collection of EnvFromSource to inject into containers. // +optional EnvFrom []v1.EnvFromSource // Volumes defines the collection of Volume to inject into the pod. // +optional Volumes []v1.Volume // VolumeMounts defines the collection of VolumeMount to inject into containers. // +optional VolumeMounts []v1.VolumeMount }
PodPresetSpec is a description of a pod preset.
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.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package install installs the settings API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the settings API group, making it available as an option to all of the API encoding/decoding machinery. |
Package v1alpha1 defines all of the versioned (v1alpha1) definitions of the settings group.
|
Package v1alpha1 defines all of the versioned (v1alpha1) definitions of the settings group. |