Documentation ¶
Overview ¶
+groupName=alert.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 Alert
- func (in *Alert) DeepCopy() *Alert
- func (in *Alert) DeepCopyInto(out *Alert)
- func (in *Alert) DeepCopyObject() runtime.Object
- func (r *Alert) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Alert) ValidateCreate() error
- func (r *Alert) ValidateDelete() error
- func (r *Alert) ValidateUpdate(old runtime.Object) error
- type AlertList
- type AlertSpec
- type AlertSpecResource
- type AlertStatus
- type Target
- func (in *Target) DeepCopy() *Target
- func (in *Target) DeepCopyInto(out *Target)
- func (in *Target) DeepCopyObject() runtime.Object
- func (r *Target) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Target) ValidateCreate() error
- func (r *Target) ValidateDelete() error
- func (r *Target) ValidateUpdate(old runtime.Object) error
- type TargetList
- type TargetSpec
- type TargetSpecResource
- type TargetSpecRoute
- type TargetStatus
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: alert.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 Alert ¶
type Alert struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlertSpec `json:"spec,omitempty"` Status AlertStatus `json:"status,omitempty"` }
func (*Alert) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alert.
func (*Alert) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Alert) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Alert) SetupWebhookWithManager ¶
func (*Alert) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Alert) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type AlertList ¶
type AlertList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Alert CRD objects Items []Alert `json:"items,omitempty"` }
AlertList is a list of Alerts
func (*AlertList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertList.
func (*AlertList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertSpec ¶
type AlertSpec struct { State *AlertSpecResource `json:"state,omitempty" tf:"-"` Resource AlertSpecResource `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 (*AlertSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertSpec.
type AlertSpecResource ¶
type AlertSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AdditionalInformation *string `json:"additionalInformation,omitempty" tf:"additional_information"` // +optional AlertType *string `json:"alertType,omitempty" tf:"alert_type"` // +optional CanModify []string `json:"canModify,omitempty" tf:"can_modify"` // +optional CanView []string `json:"canView,omitempty" tf:"can_view"` // +optional Condition *string `json:"condition,omitempty" tf:"condition"` // +optional Conditions *map[string]string `json:"conditions,omitempty" tf:"conditions"` // +optional DisplayExpression *string `json:"displayExpression,omitempty" tf:"display_expression"` Minutes *int64 `json:"minutes" tf:"minutes"` Name *string `json:"name" tf:"name"` // +optional NotificationResendFrequencyMinutes *int64 `json:"notificationResendFrequencyMinutes,omitempty" tf:"notification_resend_frequency_minutes"` // +optional ResolveAfterMinutes *int64 `json:"resolveAfterMinutes,omitempty" tf:"resolve_after_minutes"` // +optional Severity *string `json:"severity,omitempty" tf:"severity"` Tags []string `json:"tags" tf:"tags"` // +optional Target *string `json:"target,omitempty" tf:"target"` // +optional ThresholdTargets *map[string]string `json:"thresholdTargets,omitempty" tf:"threshold_targets"` }
func (*AlertSpecResource) DeepCopy ¶
func (in *AlertSpecResource) DeepCopy() *AlertSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertSpecResource.
func (*AlertSpecResource) DeepCopyInto ¶
func (in *AlertSpecResource) DeepCopyInto(out *AlertSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertStatus ¶
type AlertStatus 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 (*AlertStatus) DeepCopy ¶
func (in *AlertStatus) DeepCopy() *AlertStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertStatus.
func (*AlertStatus) DeepCopyInto ¶
func (in *AlertStatus) DeepCopyInto(out *AlertStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TargetSpec `json:"spec,omitempty"` Status TargetStatus `json:"status,omitempty"` }
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Target) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Target) SetupWebhookWithManager ¶
func (*Target) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Target) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type TargetList ¶
type TargetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Target CRD objects Items []Target `json:"items,omitempty"` }
TargetList is a list of Targets
func (*TargetList) DeepCopy ¶
func (in *TargetList) DeepCopy() *TargetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetList.
func (*TargetList) DeepCopyInto ¶
func (in *TargetList) DeepCopyInto(out *TargetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetList) DeepCopyObject ¶
func (in *TargetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetSpec ¶
type TargetSpec struct { State *TargetSpecResource `json:"state,omitempty" tf:"-"` Resource TargetSpecResource `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 (*TargetSpec) DeepCopy ¶
func (in *TargetSpec) DeepCopy() *TargetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpec.
func (*TargetSpec) DeepCopyInto ¶
func (in *TargetSpec) DeepCopyInto(out *TargetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetSpecResource ¶
type TargetSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional ContentType *string `json:"contentType,omitempty" tf:"content_type"` // +optional CustomHeaders *map[string]string `json:"customHeaders,omitempty" tf:"custom_headers"` Description *string `json:"description" tf:"description"` // +optional EmailSubject *string `json:"emailSubject,omitempty" tf:"email_subject"` // +optional IsHTMLContent *bool `json:"isHTMLContent,omitempty" tf:"is_html_content"` // +optional Method *string `json:"method,omitempty" tf:"method"` Name *string `json:"name" tf:"name"` Recipient *string `json:"recipient" tf:"recipient"` // +optional Route []TargetSpecRoute `json:"route,omitempty" tf:"route"` // +optional TargetID *string `json:"targetID,omitempty" tf:"target_id"` Template *string `json:"template" tf:"template"` Triggers []string `json:"triggers" tf:"triggers"` }
func (*TargetSpecResource) DeepCopy ¶
func (in *TargetSpecResource) DeepCopy() *TargetSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpecResource.
func (*TargetSpecResource) DeepCopyInto ¶
func (in *TargetSpecResource) DeepCopyInto(out *TargetSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetSpecRoute ¶
type TargetSpecRoute struct { // +optional Filter *map[string]string `json:"filter,omitempty" tf:"filter"` Method *string `json:"method" tf:"method"` Target *string `json:"target" tf:"target"` }
func (*TargetSpecRoute) DeepCopy ¶
func (in *TargetSpecRoute) DeepCopy() *TargetSpecRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpecRoute.
func (*TargetSpecRoute) DeepCopyInto ¶
func (in *TargetSpecRoute) DeepCopyInto(out *TargetSpecRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetStatus ¶
type TargetStatus 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 (*TargetStatus) DeepCopy ¶
func (in *TargetStatus) DeepCopy() *TargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStatus.
func (*TargetStatus) DeepCopyInto ¶
func (in *TargetStatus) DeepCopyInto(out *TargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.