v1alpha1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Overview

+groupName=arms.alicloud.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: arms.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

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 AlertContact

type AlertContact struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AlertContactSpec   `json:"spec,omitempty"`
	Status            AlertContactStatus `json:"status,omitempty"`
}

func (*AlertContact) DeepCopy

func (in *AlertContact) DeepCopy() *AlertContact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContact.

func (*AlertContact) DeepCopyInto

func (in *AlertContact) DeepCopyInto(out *AlertContact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AlertContact) DeepCopyObject

func (in *AlertContact) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AlertContact) SetupWebhookWithManager

func (r *AlertContact) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AlertContact) ValidateCreate

func (r *AlertContact) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AlertContact) ValidateDelete

func (r *AlertContact) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AlertContact) ValidateUpdate

func (r *AlertContact) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AlertContactGroup

type AlertContactGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AlertContactGroupSpec   `json:"spec,omitempty"`
	Status            AlertContactGroupStatus `json:"status,omitempty"`
}

func (*AlertContactGroup) DeepCopy

func (in *AlertContactGroup) DeepCopy() *AlertContactGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactGroup.

func (*AlertContactGroup) DeepCopyInto

func (in *AlertContactGroup) DeepCopyInto(out *AlertContactGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AlertContactGroup) DeepCopyObject

func (in *AlertContactGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AlertContactGroup) SetupWebhookWithManager

func (r *AlertContactGroup) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AlertContactGroup) ValidateCreate

func (r *AlertContactGroup) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AlertContactGroup) ValidateDelete

func (r *AlertContactGroup) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AlertContactGroup) ValidateUpdate

func (r *AlertContactGroup) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AlertContactGroupList

type AlertContactGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of AlertContactGroup CRD objects
	Items []AlertContactGroup `json:"items,omitempty"`
}

AlertContactGroupList is a list of AlertContactGroups

func (*AlertContactGroupList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactGroupList.

func (*AlertContactGroupList) DeepCopyInto

func (in *AlertContactGroupList) DeepCopyInto(out *AlertContactGroupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AlertContactGroupList) DeepCopyObject

func (in *AlertContactGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AlertContactGroupSpec

type AlertContactGroupSpec struct {
	State *AlertContactGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource AlertContactGroupSpecResource `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 (*AlertContactGroupSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactGroupSpec.

func (*AlertContactGroupSpec) DeepCopyInto

func (in *AlertContactGroupSpec) DeepCopyInto(out *AlertContactGroupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertContactGroupSpecResource

type AlertContactGroupSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	AlertContactGroupName *string `json:"alertContactGroupName" tf:"alert_contact_group_name"`
	// +optional
	ContactIDS []string `json:"contactIDS,omitempty" tf:"contact_ids"`
}

func (*AlertContactGroupSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactGroupSpecResource.

func (*AlertContactGroupSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertContactGroupStatus

type AlertContactGroupStatus 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 (*AlertContactGroupStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactGroupStatus.

func (*AlertContactGroupStatus) DeepCopyInto

func (in *AlertContactGroupStatus) DeepCopyInto(out *AlertContactGroupStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertContactList

type AlertContactList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of AlertContact CRD objects
	Items []AlertContact `json:"items,omitempty"`
}

AlertContactList is a list of AlertContacts

func (*AlertContactList) DeepCopy

func (in *AlertContactList) DeepCopy() *AlertContactList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactList.

func (*AlertContactList) DeepCopyInto

func (in *AlertContactList) DeepCopyInto(out *AlertContactList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AlertContactList) DeepCopyObject

func (in *AlertContactList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AlertContactSpec

type AlertContactSpec struct {
	State *AlertContactSpecResource `json:"state,omitempty" tf:"-"`

	Resource AlertContactSpecResource `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 (*AlertContactSpec) DeepCopy

func (in *AlertContactSpec) DeepCopy() *AlertContactSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactSpec.

func (*AlertContactSpec) DeepCopyInto

func (in *AlertContactSpec) DeepCopyInto(out *AlertContactSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertContactSpecResource

type AlertContactSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AlertContactName *string `json:"alertContactName,omitempty" tf:"alert_contact_name"`
	// +optional
	DingRobotWebhookURL *string `json:"dingRobotWebhookURL,omitempty" tf:"ding_robot_webhook_url"`
	// +optional
	Email *string `json:"email,omitempty" tf:"email"`
	// +optional
	PhoneNum *string `json:"phoneNum,omitempty" tf:"phone_num"`
	// +optional
	SystemNoc *bool `json:"systemNoc,omitempty" tf:"system_noc"`
}

func (*AlertContactSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactSpecResource.

func (*AlertContactSpecResource) DeepCopyInto

func (in *AlertContactSpecResource) DeepCopyInto(out *AlertContactSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AlertContactStatus

type AlertContactStatus 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 (*AlertContactStatus) DeepCopy

func (in *AlertContactStatus) DeepCopy() *AlertContactStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContactStatus.

func (*AlertContactStatus) DeepCopyInto

func (in *AlertContactStatus) DeepCopyInto(out *AlertContactStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DispatchRule

type DispatchRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DispatchRuleSpec   `json:"spec,omitempty"`
	Status            DispatchRuleStatus `json:"status,omitempty"`
}

func (*DispatchRule) DeepCopy

func (in *DispatchRule) DeepCopy() *DispatchRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRule.

func (*DispatchRule) DeepCopyInto

func (in *DispatchRule) DeepCopyInto(out *DispatchRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DispatchRule) DeepCopyObject

func (in *DispatchRule) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DispatchRule) SetupWebhookWithManager

func (r *DispatchRule) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*DispatchRule) ValidateCreate

func (r *DispatchRule) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*DispatchRule) ValidateDelete

func (r *DispatchRule) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*DispatchRule) ValidateUpdate

func (r *DispatchRule) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type DispatchRuleList

type DispatchRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of DispatchRule CRD objects
	Items []DispatchRule `json:"items,omitempty"`
}

DispatchRuleList is a list of DispatchRules

func (*DispatchRuleList) DeepCopy

func (in *DispatchRuleList) DeepCopy() *DispatchRuleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleList.

func (*DispatchRuleList) DeepCopyInto

func (in *DispatchRuleList) DeepCopyInto(out *DispatchRuleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DispatchRuleList) DeepCopyObject

func (in *DispatchRuleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DispatchRuleSpec

type DispatchRuleSpec struct {
	State *DispatchRuleSpecResource `json:"state,omitempty" tf:"-"`

	Resource DispatchRuleSpecResource `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 (*DispatchRuleSpec) DeepCopy

func (in *DispatchRuleSpec) DeepCopy() *DispatchRuleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleSpec.

func (*DispatchRuleSpec) DeepCopyInto

func (in *DispatchRuleSpec) DeepCopyInto(out *DispatchRuleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DispatchRuleSpecGroupRules

type DispatchRuleSpecGroupRules struct {
	// +optional
	GroupID        *int64   `json:"groupID,omitempty" tf:"group_id"`
	GroupInterval  *int64   `json:"groupInterval" tf:"group_interval"`
	GroupWaitTime  *int64   `json:"groupWaitTime" tf:"group_wait_time"`
	GroupingFields []string `json:"groupingFields" tf:"grouping_fields"`
	// +optional
	RepeatInterval *int64 `json:"repeatInterval,omitempty" tf:"repeat_interval"`
}

func (*DispatchRuleSpecGroupRules) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleSpecGroupRules.

func (*DispatchRuleSpecGroupRules) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DispatchRuleSpecLabelMatchExpressionGrid

type DispatchRuleSpecLabelMatchExpressionGrid struct {
	LabelMatchExpressionGroups []DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroups `json:"labelMatchExpressionGroups" tf:"label_match_expression_groups"`
}

func (*DispatchRuleSpecLabelMatchExpressionGrid) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleSpecLabelMatchExpressionGrid.

func (*DispatchRuleSpecLabelMatchExpressionGrid) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroups

type DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroups struct {
	LabelMatchExpressions []DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroupsLabelMatchExpressions `json:"labelMatchExpressions" tf:"label_match_expressions"`
}

func (*DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroups) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroups.

func (*DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroups) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroupsLabelMatchExpressions

type DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroupsLabelMatchExpressions struct {
	Key      *string `json:"key" tf:"key"`
	Operator *string `json:"operator" tf:"operator"`
	Value    *string `json:"value" tf:"value"`
}

func (*DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroupsLabelMatchExpressions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroupsLabelMatchExpressions.

func (*DispatchRuleSpecLabelMatchExpressionGridLabelMatchExpressionGroupsLabelMatchExpressions) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DispatchRuleSpecNotifyRules

type DispatchRuleSpecNotifyRules struct {
	NotifyChannels []string                                   `json:"notifyChannels" tf:"notify_channels"`
	NotifyObjects  []DispatchRuleSpecNotifyRulesNotifyObjects `json:"notifyObjects" tf:"notify_objects"`
}

func (*DispatchRuleSpecNotifyRules) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleSpecNotifyRules.

func (*DispatchRuleSpecNotifyRules) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DispatchRuleSpecNotifyRulesNotifyObjects

type DispatchRuleSpecNotifyRulesNotifyObjects struct {
	Name           *string `json:"name" tf:"name"`
	NotifyObjectID *string `json:"notifyObjectID" tf:"notify_object_id"`
	NotifyType     *string `json:"notifyType" tf:"notify_type"`
}

func (*DispatchRuleSpecNotifyRulesNotifyObjects) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleSpecNotifyRulesNotifyObjects.

func (*DispatchRuleSpecNotifyRulesNotifyObjects) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DispatchRuleSpecResource

type DispatchRuleSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	DispatchRuleName *string `json:"dispatchRuleName" tf:"dispatch_rule_name"`
	// +optional
	DispatchType *string                      `json:"dispatchType,omitempty" tf:"dispatch_type"`
	GroupRules   []DispatchRuleSpecGroupRules `json:"groupRules" tf:"group_rules"`
	// +optional
	IsRecover                *bool                                      `json:"isRecover,omitempty" tf:"is_recover"`
	LabelMatchExpressionGrid []DispatchRuleSpecLabelMatchExpressionGrid `json:"labelMatchExpressionGrid" tf:"label_match_expression_grid"`
	NotifyRules              []DispatchRuleSpecNotifyRules              `json:"notifyRules" tf:"notify_rules"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*DispatchRuleSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleSpecResource.

func (*DispatchRuleSpecResource) DeepCopyInto

func (in *DispatchRuleSpecResource) DeepCopyInto(out *DispatchRuleSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DispatchRuleStatus

type DispatchRuleStatus 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 (*DispatchRuleStatus) DeepCopy

func (in *DispatchRuleStatus) DeepCopy() *DispatchRuleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DispatchRuleStatus.

func (*DispatchRuleStatus) DeepCopyInto

func (in *DispatchRuleStatus) DeepCopyInto(out *DispatchRuleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrometheusAlertRule

type PrometheusAlertRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PrometheusAlertRuleSpec   `json:"spec,omitempty"`
	Status            PrometheusAlertRuleStatus `json:"status,omitempty"`
}

func (*PrometheusAlertRule) DeepCopy

func (in *PrometheusAlertRule) DeepCopy() *PrometheusAlertRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusAlertRule.

func (*PrometheusAlertRule) DeepCopyInto

func (in *PrometheusAlertRule) DeepCopyInto(out *PrometheusAlertRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PrometheusAlertRule) DeepCopyObject

func (in *PrometheusAlertRule) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PrometheusAlertRule) SetupWebhookWithManager

func (r *PrometheusAlertRule) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*PrometheusAlertRule) ValidateCreate

func (r *PrometheusAlertRule) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*PrometheusAlertRule) ValidateDelete

func (r *PrometheusAlertRule) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*PrometheusAlertRule) ValidateUpdate

func (r *PrometheusAlertRule) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PrometheusAlertRuleList

type PrometheusAlertRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of PrometheusAlertRule CRD objects
	Items []PrometheusAlertRule `json:"items,omitempty"`
}

PrometheusAlertRuleList is a list of PrometheusAlertRules

func (*PrometheusAlertRuleList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusAlertRuleList.

func (*PrometheusAlertRuleList) DeepCopyInto

func (in *PrometheusAlertRuleList) DeepCopyInto(out *PrometheusAlertRuleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PrometheusAlertRuleList) DeepCopyObject

func (in *PrometheusAlertRuleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PrometheusAlertRuleSpec

type PrometheusAlertRuleSpec struct {
	State *PrometheusAlertRuleSpecResource `json:"state,omitempty" tf:"-"`

	Resource PrometheusAlertRuleSpecResource `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 (*PrometheusAlertRuleSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusAlertRuleSpec.

func (*PrometheusAlertRuleSpec) DeepCopyInto

func (in *PrometheusAlertRuleSpec) DeepCopyInto(out *PrometheusAlertRuleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrometheusAlertRuleSpecAnnotations

type PrometheusAlertRuleSpecAnnotations struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*PrometheusAlertRuleSpecAnnotations) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusAlertRuleSpecAnnotations.

func (*PrometheusAlertRuleSpecAnnotations) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrometheusAlertRuleSpecLabels

type PrometheusAlertRuleSpecLabels struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*PrometheusAlertRuleSpecLabels) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusAlertRuleSpecLabels.

func (*PrometheusAlertRuleSpecLabels) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrometheusAlertRuleSpecResource

type PrometheusAlertRuleSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Annotations []PrometheusAlertRuleSpecAnnotations `json:"annotations,omitempty" tf:"annotations"`
	ClusterID   *string                              `json:"clusterID" tf:"cluster_id"`
	// +optional
	DispatchRuleID *string `json:"dispatchRuleID,omitempty" tf:"dispatch_rule_id"`
	Duration       *string `json:"duration" tf:"duration"`
	Expression     *string `json:"expression" tf:"expression"`
	// +optional
	Labels  []PrometheusAlertRuleSpecLabels `json:"labels,omitempty" tf:"labels"`
	Message *string                         `json:"message" tf:"message"`
	// +optional
	NotifyType *string `json:"notifyType,omitempty" tf:"notify_type"`
	// +optional
	PrometheusAlertRuleID   *int64  `json:"prometheusAlertRuleID,omitempty" tf:"prometheus_alert_rule_id"`
	PrometheusAlertRuleName *string `json:"prometheusAlertRuleName" tf:"prometheus_alert_rule_name"`
	// +optional
	Status *int64 `json:"status,omitempty" tf:"status"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*PrometheusAlertRuleSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusAlertRuleSpecResource.

func (*PrometheusAlertRuleSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrometheusAlertRuleStatus

type PrometheusAlertRuleStatus 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 (*PrometheusAlertRuleStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusAlertRuleStatus.

func (*PrometheusAlertRuleStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL