Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package,register +groupName=settings.k8s.io
Index ¶
- Constants
- Variables
- func DeepCopy_settings_PodPreset(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_settings_PodPresetList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_settings_PodPresetSpec(in interface{}, out interface{}, c *conversion.Cloner) error
- func Kind(kind string) schema.GroupKind
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type PodPreset
- type PodPresetList
- type PodPresetSpec
Constants ¶
const GroupName = "settings.k8s.io"
GroupName is the group name use in this package
Variables ¶
var (
SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
AddToScheme = SchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func DeepCopy_settings_PodPreset ¶
func DeepCopy_settings_PodPreset(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_settings_PodPreset is an autogenerated deepcopy function.
func DeepCopy_settings_PodPresetList ¶
func DeepCopy_settings_PodPresetList(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_settings_PodPresetList is an autogenerated deepcopy function.
func DeepCopy_settings_PodPresetSpec ¶
func DeepCopy_settings_PodPresetSpec(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_settings_PodPresetSpec is an autogenerated deepcopy function.
func Kind ¶
func Kind(kind string) schema.GroupKind
Kind takes an unqualified kind and returns a Group qualified GroupKind
func RegisterDeepCopies ¶
func RegisterDeepCopies(scheme *runtime.Scheme) error
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
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.
type PodPresetList ¶
type PodPresetList struct {
metav1.TypeMeta
// +optional
metav1.ListMeta
Items []PodPreset
}
PodPresetList is a list of PodPreset objects.
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 []api.EnvVar
// EnvFrom defines the collection of EnvFromSource to inject into containers.
// +optional
EnvFrom []api.EnvFromSource
// Volumes defines the collection of Volume to inject into the pod.
// +optional
Volumes []api.Volume
// VolumeMounts defines the collection of VolumeMount to inject into containers.
// +optional
VolumeMounts []api.VolumeMount
}
PodPresetSpec is a description of a pod preset.
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. |
+groupName=settings.k8s.io Package v1alpha1 is a generated protocol buffer package.
|
+groupName=settings.k8s.io Package v1alpha1 is a generated protocol buffer package. |