Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group.
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type PodReloader
- func (in *PodReloader) DeepCopy() *PodReloader
- func (in *PodReloader) DeepCopyInto(out *PodReloader)
- func (in *PodReloader) DeepCopyObject() runtime.Object
- func (c *PodReloader) GetDeploymentName() string
- func (c *PodReloader) GetDeploymentNamespace() string
- func (c *PodReloader) GetSpec() componentoperatorruntimetypes.Unstructurable
- func (c *PodReloader) GetStatus() *component.Status
- type PodReloaderList
- type PodReloaderSpec
- type PodReloaderStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "operator.kyma-project.io", 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 // Needed by kubernetes/code-generator. SchemeGroupVersion = GroupVersion )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Needed by kubernetes/code-generator.
Types ¶
type PodReloader ¶
type PodReloader struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PodReloaderSpec `json:"spec,omitempty"` // +kubebuilder:default={"observedGeneration":-1} Status PodReloaderStatus `json:"status,omitempty"` }
PodReloader is the Schema for the podreloaders API.
func (*PodReloader) DeepCopy ¶
func (in *PodReloader) DeepCopy() *PodReloader
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReloader.
func (*PodReloader) DeepCopyInto ¶
func (in *PodReloader) DeepCopyInto(out *PodReloader)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodReloader) DeepCopyObject ¶
func (in *PodReloader) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PodReloader) GetDeploymentName ¶
func (c *PodReloader) GetDeploymentName() string
func (*PodReloader) GetDeploymentNamespace ¶
func (c *PodReloader) GetDeploymentNamespace() string
func (*PodReloader) GetSpec ¶
func (c *PodReloader) GetSpec() componentoperatorruntimetypes.Unstructurable
func (*PodReloader) GetStatus ¶
func (c *PodReloader) GetStatus() *component.Status
type PodReloaderList ¶
type PodReloaderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PodReloader `json:"items"` }
PodReloaderList contains a list of PodReloader.
func (*PodReloaderList) DeepCopy ¶
func (in *PodReloaderList) DeepCopy() *PodReloaderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReloaderList.
func (*PodReloaderList) DeepCopyInto ¶
func (in *PodReloaderList) DeepCopyInto(out *PodReloaderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodReloaderList) DeepCopyObject ¶
func (in *PodReloaderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodReloaderSpec ¶
type PodReloaderSpec struct { component.Spec `json:",inline"` // +kubebuilder:validation:Minimum=1 // +kubebuilder:default=1 ReplicaCount int `json:"replicaCount,omitempty"` // +optional Image component.ImageSpec `json:"image"` component.KubernetesProperties `json:",inline"` ObjectSelector *metav1.LabelSelector `json:"objectSelector,omitempty"` NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"` }
PodReloaderSpec defines the desired state of PodReloader.
func (*PodReloaderSpec) DeepCopy ¶
func (in *PodReloaderSpec) DeepCopy() *PodReloaderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReloaderSpec.
func (*PodReloaderSpec) DeepCopyInto ¶
func (in *PodReloaderSpec) DeepCopyInto(out *PodReloaderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodReloaderSpec) ToUnstructured ¶
func (s *PodReloaderSpec) ToUnstructured() map[string]any
type PodReloaderStatus ¶
PodReloaderStatus defines the observed state of PodReloader.
func (*PodReloaderStatus) DeepCopy ¶
func (in *PodReloaderStatus) DeepCopy() *PodReloaderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReloaderStatus.
func (*PodReloaderStatus) DeepCopyInto ¶
func (in *PodReloaderStatus) DeepCopyInto(out *PodReloaderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.