v1beta1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=antiddos.flexibleengine.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "antiddos.flexibleengine.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	AntiDDoS_Kind             = "AntiDDoS"
	AntiDDoS_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AntiDDoS_Kind}.String()
	AntiDDoS_KindAPIVersion   = AntiDDoS_Kind + "." + CRDGroupVersion.String()
	AntiDDoS_GroupVersionKind = CRDGroupVersion.WithKind(AntiDDoS_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 AntiDDoS

type AntiDDoS struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AntiDDoSSpec   `json:"spec"`
	Status            AntiDDoSStatus `json:"status,omitempty"`
}

AntiDDoS is the Schema for the AntiDDoSs API. ""page_title: "flexibleengine_antiddos_v1" +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,flexibleengine}

func (*AntiDDoS) DeepCopy

func (in *AntiDDoS) DeepCopy() *AntiDDoS

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

func (*AntiDDoS) DeepCopyInto

func (in *AntiDDoS) DeepCopyInto(out *AntiDDoS)

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

func (*AntiDDoS) DeepCopyObject

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

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

func (*AntiDDoS) GetCondition

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

GetCondition of this AntiDDoS.

func (*AntiDDoS) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AntiDDoS

func (*AntiDDoS) GetDeletionPolicy

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

GetDeletionPolicy of this AntiDDoS.

func (*AntiDDoS) GetID

func (tr *AntiDDoS) GetID() string

GetID returns ID of underlying Terraform resource of this AntiDDoS

func (*AntiDDoS) GetObservation

func (tr *AntiDDoS) GetObservation() (map[string]any, error)

GetObservation of this AntiDDoS

func (*AntiDDoS) GetParameters

func (tr *AntiDDoS) GetParameters() (map[string]any, error)

GetParameters of this AntiDDoS

func (*AntiDDoS) GetProviderConfigReference

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

GetProviderConfigReference of this AntiDDoS.

func (*AntiDDoS) GetProviderReference

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

GetProviderReference of this AntiDDoS. Deprecated: Use GetProviderConfigReference.

func (*AntiDDoS) GetPublishConnectionDetailsTo

func (mg *AntiDDoS) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this AntiDDoS.

func (*AntiDDoS) GetTerraformResourceType

func (mg *AntiDDoS) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AntiDDoS

func (*AntiDDoS) GetTerraformSchemaVersion

func (tr *AntiDDoS) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AntiDDoS) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AntiDDoS.

func (*AntiDDoS) LateInitialize

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

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

func (*AntiDDoS) ResolveReferences

func (mg *AntiDDoS) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this AntiDDoS.

func (*AntiDDoS) SetConditions

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

SetConditions of this AntiDDoS.

func (*AntiDDoS) SetDeletionPolicy

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

SetDeletionPolicy of this AntiDDoS.

func (*AntiDDoS) SetObservation

func (tr *AntiDDoS) SetObservation(obs map[string]any) error

SetObservation for this AntiDDoS

func (*AntiDDoS) SetParameters

func (tr *AntiDDoS) SetParameters(params map[string]any) error

SetParameters for this AntiDDoS

func (*AntiDDoS) SetProviderConfigReference

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

SetProviderConfigReference of this AntiDDoS.

func (*AntiDDoS) SetProviderReference

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

SetProviderReference of this AntiDDoS. Deprecated: Use SetProviderConfigReference.

func (*AntiDDoS) SetPublishConnectionDetailsTo

func (mg *AntiDDoS) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this AntiDDoS.

func (*AntiDDoS) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AntiDDoS.

type AntiDDoSList

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

AntiDDoSList contains a list of AntiDDoSs

func (*AntiDDoSList) DeepCopy

func (in *AntiDDoSList) DeepCopy() *AntiDDoSList

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

func (*AntiDDoSList) DeepCopyInto

func (in *AntiDDoSList) DeepCopyInto(out *AntiDDoSList)

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

func (*AntiDDoSList) DeepCopyObject

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

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

func (*AntiDDoSList) GetItems

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

GetItems of this AntiDDoSList.

type AntiDDoSObservation

type AntiDDoSObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*AntiDDoSObservation) DeepCopy

func (in *AntiDDoSObservation) DeepCopy() *AntiDDoSObservation

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

func (*AntiDDoSObservation) DeepCopyInto

func (in *AntiDDoSObservation) DeepCopyInto(out *AntiDDoSObservation)

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

type AntiDDoSParameters

type AntiDDoSParameters struct {

	// The application type ID.
	// +kubebuilder:validation:Required
	AppTypeID *float64 `json:"appTypeId" tf:"app_type_id,omitempty"`

	// The position ID of access limit during cleaning. The value ranges from 1 to 8.
	// +kubebuilder:validation:Required
	CleaningAccessPosID *float64 `json:"cleaningAccessPosId" tf:"cleaning_access_pos_id,omitempty"`

	// Specifies whether to enable L7 defense.
	// +kubebuilder:validation:Required
	EnableL7 *bool `json:"enableL7" tf:"enable_l7,omitempty"`

	// The ID corresponding to the Elastic IP Address (EIP).
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/eip/v1beta1.EIP
	// +kubebuilder:validation:Optional
	FloatingIPID *string `json:"floatingIpId,omitempty" tf:"floating_ip_id,omitempty"`

	// Reference to a EIP in eip to populate floatingIpId.
	// +kubebuilder:validation:Optional
	FloatingIPIDRef *v1.Reference `json:"floatingIpIdRef,omitempty" tf:"-"`

	// Selector for a EIP in eip to populate floatingIpId.
	// +kubebuilder:validation:Optional
	FloatingIPIDSelector *v1.Selector `json:"floatingIpIdSelector,omitempty" tf:"-"`

	// The position ID of number of HTTP requests. The value ranges from 1 to 15.
	// +kubebuilder:validation:Required
	HTTPRequestPosID *float64 `json:"httpRequestPosId" tf:"http_request_pos_id,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The position ID of traffic. The value ranges from 1 to 9.
	// +kubebuilder:validation:Required
	TrafficPosID *float64 `json:"trafficPosId" tf:"traffic_pos_id,omitempty"`
}

func (*AntiDDoSParameters) DeepCopy

func (in *AntiDDoSParameters) DeepCopy() *AntiDDoSParameters

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

func (*AntiDDoSParameters) DeepCopyInto

func (in *AntiDDoSParameters) DeepCopyInto(out *AntiDDoSParameters)

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

type AntiDDoSSpec

type AntiDDoSSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AntiDDoSParameters `json:"forProvider"`
}

AntiDDoSSpec defines the desired state of AntiDDoS

func (*AntiDDoSSpec) DeepCopy

func (in *AntiDDoSSpec) DeepCopy() *AntiDDoSSpec

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

func (*AntiDDoSSpec) DeepCopyInto

func (in *AntiDDoSSpec) DeepCopyInto(out *AntiDDoSSpec)

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

type AntiDDoSStatus

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

AntiDDoSStatus defines the observed state of AntiDDoS.

func (*AntiDDoSStatus) DeepCopy

func (in *AntiDDoSStatus) DeepCopy() *AntiDDoSStatus

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

func (*AntiDDoSStatus) DeepCopyInto

func (in *AntiDDoSStatus) DeepCopyInto(out *AntiDDoSStatus)

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