v1alpha1

package
v0.0.0-...-10a304b Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=ces.otc.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "ces.otc.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Alarmrule_Kind             = "Alarmrule"
	Alarmrule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Alarmrule_Kind}.String()
	Alarmrule_KindAPIVersion   = Alarmrule_Kind + "." + CRDGroupVersion.String()
	Alarmrule_GroupVersionKind = CRDGroupVersion.WithKind(Alarmrule_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AlarmActionsObservation

type AlarmActionsObservation struct {
}

func (*AlarmActionsObservation) DeepCopy

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

func (*AlarmActionsObservation) DeepCopyInto

func (in *AlarmActionsObservation) DeepCopyInto(out *AlarmActionsObservation)

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

type AlarmActionsParameters

type AlarmActionsParameters struct {

	// +kubebuilder:validation:Required
	NotificationList []*string `json:"notificationList" tf:"notification_list,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*AlarmActionsParameters) DeepCopy

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

func (*AlarmActionsParameters) DeepCopyInto

func (in *AlarmActionsParameters) DeepCopyInto(out *AlarmActionsParameters)

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

type Alarmrule

type Alarmrule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AlarmruleSpec   `json:"spec"`
	Status            AlarmruleStatus `json:"status,omitempty"`
}

Alarmrule is the Schema for the Alarmrules API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,otcjet}

func (*Alarmrule) DeepCopy

func (in *Alarmrule) DeepCopy() *Alarmrule

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

func (*Alarmrule) DeepCopyInto

func (in *Alarmrule) DeepCopyInto(out *Alarmrule)

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

func (*Alarmrule) DeepCopyObject

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

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

func (*Alarmrule) GetCondition

func (mg *Alarmrule) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Alarmrule.

func (*Alarmrule) GetConnectionDetailsMapping

func (tr *Alarmrule) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Alarmrule

func (*Alarmrule) GetDeletionPolicy

func (mg *Alarmrule) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Alarmrule.

func (*Alarmrule) GetID

func (tr *Alarmrule) GetID() string

GetID returns ID of underlying Terraform resource of this Alarmrule

func (*Alarmrule) GetObservation

func (tr *Alarmrule) GetObservation() (map[string]interface{}, error)

GetObservation of this Alarmrule

func (*Alarmrule) GetParameters

func (tr *Alarmrule) GetParameters() (map[string]interface{}, error)

GetParameters of this Alarmrule

func (*Alarmrule) GetProviderConfigReference

func (mg *Alarmrule) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Alarmrule.

func (*Alarmrule) GetProviderReference

func (mg *Alarmrule) GetProviderReference() *xpv1.Reference

GetProviderReference of this Alarmrule. Deprecated: Use GetProviderConfigReference.

func (*Alarmrule) GetTerraformResourceType

func (mg *Alarmrule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Alarmrule

func (*Alarmrule) GetTerraformSchemaVersion

func (tr *Alarmrule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Alarmrule) GetWriteConnectionSecretToReference

func (mg *Alarmrule) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Alarmrule.

func (*Alarmrule) LateInitialize

func (tr *Alarmrule) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Alarmrule using its observed tfState. returns True if there are any spec changes for the resource.

func (*Alarmrule) SetConditions

func (mg *Alarmrule) SetConditions(c ...xpv1.Condition)

SetConditions of this Alarmrule.

func (*Alarmrule) SetDeletionPolicy

func (mg *Alarmrule) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Alarmrule.

func (*Alarmrule) SetObservation

func (tr *Alarmrule) SetObservation(obs map[string]interface{}) error

SetObservation for this Alarmrule

func (*Alarmrule) SetParameters

func (tr *Alarmrule) SetParameters(params map[string]interface{}) error

SetParameters for this Alarmrule

func (*Alarmrule) SetProviderConfigReference

func (mg *Alarmrule) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Alarmrule.

func (*Alarmrule) SetProviderReference

func (mg *Alarmrule) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Alarmrule. Deprecated: Use SetProviderConfigReference.

func (*Alarmrule) SetWriteConnectionSecretToReference

func (mg *Alarmrule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Alarmrule.

type AlarmruleList

type AlarmruleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Alarmrule `json:"items"`
}

AlarmruleList contains a list of Alarmrules

func (*AlarmruleList) DeepCopy

func (in *AlarmruleList) DeepCopy() *AlarmruleList

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

func (*AlarmruleList) DeepCopyInto

func (in *AlarmruleList) DeepCopyInto(out *AlarmruleList)

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

func (*AlarmruleList) DeepCopyObject

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

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

func (*AlarmruleList) GetItems

func (l *AlarmruleList) GetItems() []resource.Managed

GetItems of this AlarmruleList.

type AlarmruleObservation

type AlarmruleObservation struct {
	AlarmState *string `json:"alarmState,omitempty" tf:"alarm_state,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	UpdateTime *int64 `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*AlarmruleObservation) DeepCopy

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

func (*AlarmruleObservation) DeepCopyInto

func (in *AlarmruleObservation) DeepCopyInto(out *AlarmruleObservation)

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

type AlarmruleParameters

type AlarmruleParameters struct {

	// +kubebuilder:validation:Optional
	AlarmActionEnabled *bool `json:"alarmActionEnabled,omitempty" tf:"alarm_action_enabled,omitempty"`

	// +kubebuilder:validation:Optional
	AlarmActions []AlarmActionsParameters `json:"alarmActions,omitempty" tf:"alarm_actions,omitempty"`

	// +kubebuilder:validation:Optional
	AlarmDescription *string `json:"alarmDescription,omitempty" tf:"alarm_description,omitempty"`

	// +kubebuilder:validation:Optional
	AlarmEnabled *bool `json:"alarmEnabled,omitempty" tf:"alarm_enabled,omitempty"`

	// +kubebuilder:validation:Optional
	AlarmLevel *int64 `json:"alarmLevel,omitempty" tf:"alarm_level,omitempty"`

	// +kubebuilder:validation:Required
	AlarmName *string `json:"alarmName" tf:"alarm_name,omitempty"`

	// +kubebuilder:validation:Required
	Condition []ConditionParameters `json:"condition" tf:"condition,omitempty"`

	// +kubebuilder:validation:Optional
	InsufficientdataActions []InsufficientdataActionsParameters `json:"insufficientdataActions,omitempty" tf:"insufficientdata_actions,omitempty"`

	// +kubebuilder:validation:Required
	Metric []MetricParameters `json:"metric" tf:"metric,omitempty"`

	// +kubebuilder:validation:Optional
	OkActions []OkActionsParameters `json:"okActions,omitempty" tf:"ok_actions,omitempty"`
}

func (*AlarmruleParameters) DeepCopy

func (in *AlarmruleParameters) DeepCopy() *AlarmruleParameters

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

func (*AlarmruleParameters) DeepCopyInto

func (in *AlarmruleParameters) DeepCopyInto(out *AlarmruleParameters)

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

type AlarmruleSpec

type AlarmruleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AlarmruleParameters `json:"forProvider"`
}

AlarmruleSpec defines the desired state of Alarmrule

func (*AlarmruleSpec) DeepCopy

func (in *AlarmruleSpec) DeepCopy() *AlarmruleSpec

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

func (*AlarmruleSpec) DeepCopyInto

func (in *AlarmruleSpec) DeepCopyInto(out *AlarmruleSpec)

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

type AlarmruleStatus

type AlarmruleStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        AlarmruleObservation `json:"atProvider,omitempty"`
}

AlarmruleStatus defines the observed state of Alarmrule.

func (*AlarmruleStatus) DeepCopy

func (in *AlarmruleStatus) DeepCopy() *AlarmruleStatus

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

func (*AlarmruleStatus) DeepCopyInto

func (in *AlarmruleStatus) DeepCopyInto(out *AlarmruleStatus)

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

type ConditionObservation

type ConditionObservation struct {
}

func (*ConditionObservation) DeepCopy

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

func (*ConditionObservation) DeepCopyInto

func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation)

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

type ConditionParameters

type ConditionParameters struct {

	// +kubebuilder:validation:Required
	ComparisonOperator *string `json:"comparisonOperator" tf:"comparison_operator,omitempty"`

	// +kubebuilder:validation:Required
	Count *int64 `json:"count" tf:"count,omitempty"`

	// +kubebuilder:validation:Required
	Filter *string `json:"filter" tf:"filter,omitempty"`

	// +kubebuilder:validation:Required
	Period *int64 `json:"period" tf:"period,omitempty"`

	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// +kubebuilder:validation:Required
	Value *int64 `json:"value" tf:"value,omitempty"`
}

func (*ConditionParameters) DeepCopy

func (in *ConditionParameters) DeepCopy() *ConditionParameters

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

func (*ConditionParameters) DeepCopyInto

func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters)

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

type DimensionsObservation

type DimensionsObservation struct {
}

func (*DimensionsObservation) DeepCopy

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

func (*DimensionsObservation) DeepCopyInto

func (in *DimensionsObservation) DeepCopyInto(out *DimensionsObservation)

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

type DimensionsParameters

type DimensionsParameters struct {

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*DimensionsParameters) DeepCopy

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

func (*DimensionsParameters) DeepCopyInto

func (in *DimensionsParameters) DeepCopyInto(out *DimensionsParameters)

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

type InsufficientdataActionsObservation

type InsufficientdataActionsObservation struct {
}

func (*InsufficientdataActionsObservation) DeepCopy

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

func (*InsufficientdataActionsObservation) DeepCopyInto

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

type InsufficientdataActionsParameters

type InsufficientdataActionsParameters struct {

	// +kubebuilder:validation:Required
	NotificationList []*string `json:"notificationList" tf:"notification_list,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*InsufficientdataActionsParameters) DeepCopy

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

func (*InsufficientdataActionsParameters) DeepCopyInto

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

type MetricObservation

type MetricObservation struct {
}

func (*MetricObservation) DeepCopy

func (in *MetricObservation) DeepCopy() *MetricObservation

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

func (*MetricObservation) DeepCopyInto

func (in *MetricObservation) DeepCopyInto(out *MetricObservation)

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

type MetricParameters

type MetricParameters struct {

	// +kubebuilder:validation:Required
	Dimensions []DimensionsParameters `json:"dimensions" tf:"dimensions,omitempty"`

	// +kubebuilder:validation:Required
	MetricName *string `json:"metricName" tf:"metric_name,omitempty"`

	// +kubebuilder:validation:Required
	Namespace *string `json:"namespace" tf:"namespace,omitempty"`
}

func (*MetricParameters) DeepCopy

func (in *MetricParameters) DeepCopy() *MetricParameters

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

func (*MetricParameters) DeepCopyInto

func (in *MetricParameters) DeepCopyInto(out *MetricParameters)

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

type OkActionsObservation

type OkActionsObservation struct {
}

func (*OkActionsObservation) DeepCopy

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

func (*OkActionsObservation) DeepCopyInto

func (in *OkActionsObservation) DeepCopyInto(out *OkActionsObservation)

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

type OkActionsParameters

type OkActionsParameters struct {

	// +kubebuilder:validation:Required
	NotificationList []*string `json:"notificationList" tf:"notification_list,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*OkActionsParameters) DeepCopy

func (in *OkActionsParameters) DeepCopy() *OkActionsParameters

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

func (*OkActionsParameters) DeepCopyInto

func (in *OkActionsParameters) DeepCopyInto(out *OkActionsParameters)

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