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=antiddos.otc.jet.crossplane.io +versionName=v1alpha1

Index

Constants

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

Package type metadata.

Variables

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
)
View Source
var (
	V1_Kind             = "V1"
	V1_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: V1_Kind}.String()
	V1_KindAPIVersion   = V1_Kind + "." + CRDGroupVersion.String()
	V1_GroupVersionKind = CRDGroupVersion.WithKind(V1_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type V1

type V1 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              V1Spec   `json:"spec"`
	Status            V1Status `json:"status,omitempty"`
}

V1 is the Schema for the V1s 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 (*V1) DeepCopy

func (in *V1) DeepCopy() *V1

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

func (*V1) DeepCopyInto

func (in *V1) DeepCopyInto(out *V1)

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

func (*V1) DeepCopyObject

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

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

func (*V1) GetCondition

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

GetCondition of this V1.

func (*V1) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this V1

func (*V1) GetDeletionPolicy

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

GetDeletionPolicy of this V1.

func (*V1) GetID

func (tr *V1) GetID() string

GetID returns ID of underlying Terraform resource of this V1

func (*V1) GetObservation

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

GetObservation of this V1

func (*V1) GetParameters

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

GetParameters of this V1

func (*V1) GetProviderConfigReference

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

GetProviderConfigReference of this V1.

func (*V1) GetProviderReference

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

GetProviderReference of this V1. Deprecated: Use GetProviderConfigReference.

func (*V1) GetTerraformResourceType

func (mg *V1) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this V1

func (*V1) GetTerraformSchemaVersion

func (tr *V1) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*V1) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this V1.

func (*V1) LateInitialize

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

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

func (*V1) SetConditions

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

SetConditions of this V1.

func (*V1) SetDeletionPolicy

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

SetDeletionPolicy of this V1.

func (*V1) SetObservation

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

SetObservation for this V1

func (*V1) SetParameters

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

SetParameters for this V1

func (*V1) SetProviderConfigReference

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

SetProviderConfigReference of this V1.

func (*V1) SetProviderReference

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

SetProviderReference of this V1. Deprecated: Use SetProviderConfigReference.

func (*V1) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this V1.

type V1List

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

V1List contains a list of V1s

func (*V1List) DeepCopy

func (in *V1List) DeepCopy() *V1List

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

func (*V1List) DeepCopyInto

func (in *V1List) DeepCopyInto(out *V1List)

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

func (*V1List) DeepCopyObject

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

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

func (*V1List) GetItems

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

GetItems of this V1List.

type V1Observation

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

func (*V1Observation) DeepCopy

func (in *V1Observation) DeepCopy() *V1Observation

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

func (*V1Observation) DeepCopyInto

func (in *V1Observation) DeepCopyInto(out *V1Observation)

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

type V1Parameters

type V1Parameters struct {

	// +kubebuilder:validation:Required
	AppTypeID *int64 `json:"appTypeId" tf:"app_type_id,omitempty"`

	// +kubebuilder:validation:Required
	CleaningAccessPosID *int64 `json:"cleaningAccessPosId" tf:"cleaning_access_pos_id,omitempty"`

	// +kubebuilder:validation:Required
	EnableL7 *bool `json:"enableL7" tf:"enable_l7,omitempty"`

	// +kubebuilder:validation:Required
	FloatingIPID *string `json:"floatingIpId" tf:"floating_ip_id,omitempty"`

	// +kubebuilder:validation:Required
	HTTPRequestPosID *int64 `json:"httpRequestPosId" tf:"http_request_pos_id,omitempty"`

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

	// +kubebuilder:validation:Required
	TrafficPosID *int64 `json:"trafficPosId" tf:"traffic_pos_id,omitempty"`
}

func (*V1Parameters) DeepCopy

func (in *V1Parameters) DeepCopy() *V1Parameters

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

func (*V1Parameters) DeepCopyInto

func (in *V1Parameters) DeepCopyInto(out *V1Parameters)

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

type V1Spec

type V1Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     V1Parameters `json:"forProvider"`
}

V1Spec defines the desired state of V1

func (*V1Spec) DeepCopy

func (in *V1Spec) DeepCopy() *V1Spec

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

func (*V1Spec) DeepCopyInto

func (in *V1Spec) DeepCopyInto(out *V1Spec)

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

type V1Status

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

V1Status defines the observed state of V1.

func (*V1Status) DeepCopy

func (in *V1Status) DeepCopy() *V1Status

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

func (*V1Status) DeepCopyInto

func (in *V1Status) DeepCopyInto(out *V1Status)

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