Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=antiddos.otc.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type V1
- func (in *V1) DeepCopy() *V1
- func (in *V1) DeepCopyInto(out *V1)
- func (in *V1) DeepCopyObject() runtime.Object
- func (mg *V1) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *V1) GetConnectionDetailsMapping() map[string]string
- func (mg *V1) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *V1) GetID() string
- func (tr *V1) GetObservation() (map[string]interface{}, error)
- func (tr *V1) GetParameters() (map[string]interface{}, error)
- func (mg *V1) GetProviderConfigReference() *xpv1.Reference
- func (mg *V1) GetProviderReference() *xpv1.Reference
- func (mg *V1) GetTerraformResourceType() string
- func (tr *V1) GetTerraformSchemaVersion() int
- func (mg *V1) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *V1) LateInitialize(attrs []byte) (bool, error)
- func (mg *V1) SetConditions(c ...xpv1.Condition)
- func (mg *V1) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *V1) SetObservation(obs map[string]interface{}) error
- func (tr *V1) SetParameters(params map[string]interface{}) error
- func (mg *V1) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *V1) SetProviderReference(r *xpv1.Reference)
- func (mg *V1) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type V1List
- type V1Observation
- type V1Parameters
- type V1Spec
- type V1Status
Constants ¶
const ( CRDGroup = "antiddos.otc.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V1.
func (*V1) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*V1) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this V1
func (*V1) GetDeletionPolicy ¶
func (mg *V1) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this V1.
func (*V1) GetObservation ¶
GetObservation of this V1
func (*V1) GetParameters ¶
GetParameters of this V1
func (*V1) GetProviderConfigReference ¶
GetProviderConfigReference of this V1.
func (*V1) GetProviderReference ¶
GetProviderReference of this V1. Deprecated: Use GetProviderConfigReference.
func (*V1) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this V1
func (*V1) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*V1) GetWriteConnectionSecretToReference ¶
func (mg *V1) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this V1.
func (*V1) LateInitialize ¶
LateInitialize this V1 using its observed tfState. returns True if there are any spec changes for the resource.
func (*V1) SetConditions ¶
SetConditions of this V1.
func (*V1) SetDeletionPolicy ¶
func (mg *V1) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this V1.
func (*V1) SetObservation ¶
SetObservation for this V1
func (*V1) SetParameters ¶
SetParameters for this V1
func (*V1) SetProviderConfigReference ¶
SetProviderConfigReference of this V1.
func (*V1) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V1List.
func (*V1List) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*V1List) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V1Spec.
func (*V1Spec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new V1Status.
func (*V1Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.