Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the reach v1alpha1 API group +kubebuilder:object:generate=true +groupName=reach.spectrocloud.com
Index ¶
- Constants
- Variables
- type ClusterPodPreset
- func (in *ClusterPodPreset) DeepCopy() *ClusterPodPreset
- func (in *ClusterPodPreset) DeepCopyInto(out *ClusterPodPreset)
- func (in *ClusterPodPreset) DeepCopyObject() runtime.Object
- func (r *ClusterPodPreset) Default()
- func (r *ClusterPodPreset) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ClusterPodPreset) ValidateCreate() error
- func (r *ClusterPodPreset) ValidateDelete() error
- func (r *ClusterPodPreset) ValidateUpdate(old runtime.Object) error
- type ClusterPodPresetList
- type ClusterPodPresetSpec
- type Env
- type EnvVarMetadata
- type EnvVarType
- type MergeStrategy
- type PodPreset
- func (in *PodPreset) DeepCopy() *PodPreset
- func (in *PodPreset) DeepCopyInto(out *PodPreset)
- func (in *PodPreset) DeepCopyObject() runtime.Object
- func (r *PodPreset) Default()
- func (r *PodPreset) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *PodPreset) ValidateCreate() error
- func (r *PodPreset) ValidateDelete() error
- func (r *PodPreset) ValidateUpdate(old runtime.Object) error
- type PodPresetList
- type PodPresetSpec
Constants ¶
const ( SingleValue = EnvVarType("single") MultiValue = EnvVarType("multi") )
const ( Replace = MergeStrategy("replace") Append = MergeStrategy("append") Prepend = MergeStrategy("prepend") )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "reach.spectrocloud.com", 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 ClusterPodPreset ¶
type ClusterPodPreset struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterPodPresetSpec `json:"spec,omitempty"` }
ClusterPodPreset is the Schema for the clusterpodpresets API
func (*ClusterPodPreset) DeepCopy ¶
func (in *ClusterPodPreset) DeepCopy() *ClusterPodPreset
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPreset.
func (*ClusterPodPreset) DeepCopyInto ¶
func (in *ClusterPodPreset) DeepCopyInto(out *ClusterPodPreset)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPodPreset) DeepCopyObject ¶
func (in *ClusterPodPreset) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterPodPreset) Default ¶
func (r *ClusterPodPreset) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*ClusterPodPreset) SetupWebhookWithManager ¶
func (r *ClusterPodPreset) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ClusterPodPreset) ValidateCreate ¶
func (r *ClusterPodPreset) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ClusterPodPreset) ValidateDelete ¶
func (r *ClusterPodPreset) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ClusterPodPreset) ValidateUpdate ¶
func (r *ClusterPodPreset) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ClusterPodPresetList ¶
type ClusterPodPresetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterPodPreset `json:"items"` }
ClusterPodPresetList contains a list of ClusterPodPreset
func (*ClusterPodPresetList) DeepCopy ¶
func (in *ClusterPodPresetList) DeepCopy() *ClusterPodPresetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPresetList.
func (*ClusterPodPresetList) DeepCopyInto ¶
func (in *ClusterPodPresetList) DeepCopyInto(out *ClusterPodPresetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterPodPresetList) DeepCopyObject ¶
func (in *ClusterPodPresetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterPodPresetSpec ¶
type ClusterPodPresetSpec struct { Selector metav1.LabelSelector `json:"selector"` Env []Env `json:"env"` }
ClusterPodPresetSpec defines the desired state of ClusterPodPreset
func (*ClusterPodPresetSpec) DeepCopy ¶
func (in *ClusterPodPresetSpec) DeepCopy() *ClusterPodPresetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPodPresetSpec.
func (*ClusterPodPresetSpec) DeepCopyInto ¶
func (in *ClusterPodPresetSpec) DeepCopyInto(out *ClusterPodPresetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Env ¶
type Env struct { v1.EnvVar `json:",inline"` // +optional Metadata *EnvVarMetadata `json:"metadata"` }
func (*Env) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Env.
func (*Env) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVarMetadata ¶
type EnvVarMetadata struct { Type EnvVarType `json:"type"` // +optional Separator string `json:"separator"` // +optional MergeStrategy MergeStrategy `json:"merge_strategy"` }
func (*EnvVarMetadata) DeepCopy ¶
func (in *EnvVarMetadata) DeepCopy() *EnvVarMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarMetadata.
func (*EnvVarMetadata) DeepCopyInto ¶
func (in *EnvVarMetadata) DeepCopyInto(out *EnvVarMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVarType ¶
type EnvVarType string
type MergeStrategy ¶
type MergeStrategy string
type PodPreset ¶
type PodPreset struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PodPresetSpec `json:"spec,omitempty"` }
PodPreset is the Schema for the podpresets API
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.
func (*PodPreset) Default ¶
func (r *PodPreset) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*PodPreset) SetupWebhookWithManager ¶
func (*PodPreset) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*PodPreset) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
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 metav1.LabelSelector `json:"selector"` Env []Env `json:"env"` }
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.