Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the v1alpha2 API group +kubebuilder:object:generate=true +groupName=cloud.namecheap.com
Index ¶
- Variables
- type Condition
- type FailureReason
- type ScheduledResource
- func (in *ScheduledResource) DeepCopy() *ScheduledResource
- func (in *ScheduledResource) DeepCopyInto(out *ScheduledResource)
- func (in *ScheduledResource) DeepCopyObject() runtime.Object
- func (in *ScheduledResource) GetContent() (*unstructured.Unstructured, error)
- func (in *ScheduledResource) IsBeingDeleted() bool
- type ScheduledResourceList
- type ScheduledResourceSpec
- type ScheduledResourceStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "cloud.namecheap.com", Version: "v1alpha2"} // 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 )
var ErrObjectIsNotValid = errors.New("object is not valid")
Functions ¶
This section is empty.
Types ¶
type FailureReason ¶
type FailureReason string
type ScheduledResource ¶
type ScheduledResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ScheduledResourceSpec `json:"spec,omitempty"` Status ScheduledResourceStatus `json:"status,omitempty"` }
func (*ScheduledResource) DeepCopy ¶
func (in *ScheduledResource) DeepCopy() *ScheduledResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledResource.
func (*ScheduledResource) DeepCopyInto ¶
func (in *ScheduledResource) DeepCopyInto(out *ScheduledResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledResource) DeepCopyObject ¶
func (in *ScheduledResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ScheduledResource) GetContent ¶
func (in *ScheduledResource) GetContent() (*unstructured.Unstructured, error)
func (*ScheduledResource) IsBeingDeleted ¶
func (in *ScheduledResource) IsBeingDeleted() bool
type ScheduledResourceList ¶
type ScheduledResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ScheduledResource `json:"items"` }
func (*ScheduledResourceList) DeepCopy ¶
func (in *ScheduledResourceList) DeepCopy() *ScheduledResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledResourceList.
func (*ScheduledResourceList) DeepCopyInto ¶
func (in *ScheduledResourceList) DeepCopyInto(out *ScheduledResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledResourceList) DeepCopyObject ¶
func (in *ScheduledResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScheduledResourceSpec ¶
type ScheduledResourceSpec struct { Schedule string `json:"schedule"` Content string `json:"content"` }
func (*ScheduledResourceSpec) DeepCopy ¶
func (in *ScheduledResourceSpec) DeepCopy() *ScheduledResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledResourceSpec.
func (*ScheduledResourceSpec) DeepCopyInto ¶
func (in *ScheduledResourceSpec) DeepCopyInto(out *ScheduledResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledResourceStatus ¶
type ScheduledResourceStatus struct { NextRun string `json:"nextRun,omitempty"` LastRun string `json:"lastRun,omitempty"` Condition Condition `json:"condition,omitempty"` }
func (*ScheduledResourceStatus) DeepCopy ¶
func (in *ScheduledResourceStatus) DeepCopy() *ScheduledResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledResourceStatus.
func (*ScheduledResourceStatus) DeepCopyInto ¶
func (in *ScheduledResourceStatus) DeepCopyInto(out *ScheduledResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.