Documentation ¶
Overview ¶
+groupName=maintenance.wavefront.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Window
- func (in *Window) DeepCopy() *Window
- func (in *Window) DeepCopyInto(out *Window)
- func (in *Window) DeepCopyObject() runtime.Object
- func (r *Window) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Window) ValidateCreate() error
- func (r *Window) ValidateDelete() error
- func (r *Window) ValidateUpdate(old runtime.Object) error
- type WindowList
- type WindowSpec
- type WindowSpecResource
- type WindowStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: maintenance.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Window ¶
type Window struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WindowSpec `json:"spec,omitempty"` Status WindowStatus `json:"status,omitempty"` }
func (*Window) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Window.
func (*Window) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Window) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Window) SetupWebhookWithManager ¶
func (*Window) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Window) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type WindowList ¶
type WindowList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Window CRD objects Items []Window `json:"items,omitempty"` }
WindowList is a list of Windows
func (*WindowList) DeepCopy ¶
func (in *WindowList) DeepCopy() *WindowList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowList.
func (*WindowList) DeepCopyInto ¶
func (in *WindowList) DeepCopyInto(out *WindowList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WindowList) DeepCopyObject ¶
func (in *WindowList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WindowSpec ¶
type WindowSpec struct { State *WindowSpecResource `json:"state,omitempty" tf:"-"` Resource WindowSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*WindowSpec) DeepCopy ¶
func (in *WindowSpec) DeepCopy() *WindowSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowSpec.
func (*WindowSpec) DeepCopyInto ¶
func (in *WindowSpec) DeepCopyInto(out *WindowSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WindowSpecResource ¶
type WindowSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` EndTimeInSeconds *int64 `json:"endTimeInSeconds" tf:"end_time_in_seconds"` // +optional HostTagGroupHostNamesGroupAnded *bool `json:"hostTagGroupHostNamesGroupAnded,omitempty" tf:"host_tag_group_host_names_group_anded"` Reason *string `json:"reason" tf:"reason"` // +optional RelevantCustomerTags []string `json:"relevantCustomerTags,omitempty" tf:"relevant_customer_tags"` // +optional RelevantHostNames []string `json:"relevantHostNames,omitempty" tf:"relevant_host_names"` // +optional RelevantHostTags []string `json:"relevantHostTags,omitempty" tf:"relevant_host_tags"` // +optional RelevantHostTagsAnded *bool `json:"relevantHostTagsAnded,omitempty" tf:"relevant_host_tags_anded"` StartTimeInSeconds *int64 `json:"startTimeInSeconds" tf:"start_time_in_seconds"` Title *string `json:"title" tf:"title"` }
func (*WindowSpecResource) DeepCopy ¶
func (in *WindowSpecResource) DeepCopy() *WindowSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowSpecResource.
func (*WindowSpecResource) DeepCopyInto ¶
func (in *WindowSpecResource) DeepCopyInto(out *WindowSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WindowStatus ¶
type WindowStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*WindowStatus) DeepCopy ¶
func (in *WindowStatus) DeepCopy() *WindowStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowStatus.
func (*WindowStatus) DeepCopyInto ¶
func (in *WindowStatus) DeepCopyInto(out *WindowStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.