Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=vpc.tencentcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Subnet
- func (in *Subnet) DeepCopy() *Subnet
- func (in *Subnet) DeepCopyInto(out *Subnet)
- func (in *Subnet) DeepCopyObject() runtime.Object
- func (mg *Subnet) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Subnet) GetConnectionDetailsMapping() map[string]string
- func (mg *Subnet) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Subnet) GetID() string
- func (tr *Subnet) GetObservation() (map[string]interface{}, error)
- func (tr *Subnet) GetParameters() (map[string]interface{}, error)
- func (mg *Subnet) GetProviderConfigReference() *xpv1.Reference
- func (mg *Subnet) GetProviderReference() *xpv1.Reference
- func (mg *Subnet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Subnet) GetTerraformResourceType() string
- func (tr *Subnet) GetTerraformSchemaVersion() int
- func (mg *Subnet) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Subnet) LateInitialize(attrs []byte) (bool, error)
- func (mg *Subnet) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Subnet) SetConditions(c ...xpv1.Condition)
- func (mg *Subnet) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Subnet) SetObservation(obs map[string]interface{}) error
- func (tr *Subnet) SetParameters(params map[string]interface{}) error
- func (mg *Subnet) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Subnet) SetProviderReference(r *xpv1.Reference)
- func (mg *Subnet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Subnet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SubnetList
- type SubnetObservation
- type SubnetParameters
- type SubnetSpec
- type SubnetStatus
- type VPC
- func (in *VPC) DeepCopy() *VPC
- func (in *VPC) DeepCopyInto(out *VPC)
- func (in *VPC) DeepCopyObject() runtime.Object
- func (mg *VPC) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *VPC) GetConnectionDetailsMapping() map[string]string
- func (mg *VPC) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *VPC) GetID() string
- func (tr *VPC) GetObservation() (map[string]interface{}, error)
- func (tr *VPC) GetParameters() (map[string]interface{}, error)
- func (mg *VPC) GetProviderConfigReference() *xpv1.Reference
- func (mg *VPC) GetProviderReference() *xpv1.Reference
- func (mg *VPC) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *VPC) GetTerraformResourceType() string
- func (tr *VPC) GetTerraformSchemaVersion() int
- func (mg *VPC) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *VPC) LateInitialize(attrs []byte) (bool, error)
- func (mg *VPC) SetConditions(c ...xpv1.Condition)
- func (mg *VPC) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *VPC) SetObservation(obs map[string]interface{}) error
- func (tr *VPC) SetParameters(params map[string]interface{}) error
- func (mg *VPC) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VPC) SetProviderReference(r *xpv1.Reference)
- func (mg *VPC) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *VPC) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VPCList
- type VPCObservation
- type VPCParameters
- type VPCSpec
- type VPCStatus
Constants ¶
const ( CRDGroup = "vpc.tencentcloud.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 ( Subnet_Kind = "Subnet" Subnet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Subnet_Kind}.String() Subnet_KindAPIVersion = Subnet_Kind + "." + CRDGroupVersion.String() Subnet_GroupVersionKind = CRDGroupVersion.WithKind(Subnet_Kind) )
Repository type metadata.
var ( VPC_Kind = "VPC" VPC_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VPC_Kind}.String() VPC_KindAPIVersion = VPC_Kind + "." + CRDGroupVersion.String() VPC_GroupVersionKind = CRDGroupVersion.WithKind(VPC_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Subnet ¶
type Subnet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SubnetSpec `json:"spec"` Status SubnetStatus `json:"status,omitempty"` }
Subnet is the Schema for the Subnets 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,tencentcloudjet}
func (*Subnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Subnet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Subnet) GetCondition ¶
func (mg *Subnet) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Subnet.
func (*Subnet) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Subnet
func (*Subnet) GetDeletionPolicy ¶
func (mg *Subnet) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Subnet.
func (*Subnet) GetObservation ¶
GetObservation of this Subnet
func (*Subnet) GetParameters ¶
GetParameters of this Subnet
func (*Subnet) GetProviderConfigReference ¶
GetProviderConfigReference of this Subnet.
func (*Subnet) GetProviderReference ¶
GetProviderReference of this Subnet. Deprecated: Use GetProviderConfigReference.
func (*Subnet) GetPublishConnectionDetailsTo ¶
func (mg *Subnet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Subnet.
func (*Subnet) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Subnet
func (*Subnet) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Subnet) GetWriteConnectionSecretToReference ¶
func (mg *Subnet) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Subnet.
func (*Subnet) LateInitialize ¶
LateInitialize this Subnet using its observed tfState. returns True if there are any spec changes for the resource.
func (*Subnet) ResolveReferences ¶
ResolveReferences of this Subnet.
func (*Subnet) SetConditions ¶
SetConditions of this Subnet.
func (*Subnet) SetDeletionPolicy ¶
func (mg *Subnet) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Subnet.
func (*Subnet) SetObservation ¶
SetObservation for this Subnet
func (*Subnet) SetParameters ¶
SetParameters for this Subnet
func (*Subnet) SetProviderConfigReference ¶
SetProviderConfigReference of this Subnet.
func (*Subnet) SetProviderReference ¶
SetProviderReference of this Subnet. Deprecated: Use SetProviderConfigReference.
func (*Subnet) SetPublishConnectionDetailsTo ¶
func (mg *Subnet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Subnet.
func (*Subnet) SetWriteConnectionSecretToReference ¶
func (mg *Subnet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Subnet.
type SubnetList ¶
type SubnetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Subnet `json:"items"` }
SubnetList contains a list of Subnets
func (*SubnetList) DeepCopy ¶
func (in *SubnetList) DeepCopy() *SubnetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetList.
func (*SubnetList) DeepCopyInto ¶
func (in *SubnetList) DeepCopyInto(out *SubnetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubnetList) DeepCopyObject ¶
func (in *SubnetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SubnetList) GetItems ¶
func (l *SubnetList) GetItems() []resource.Managed
GetItems of this SubnetList.
type SubnetObservation ¶
type SubnetObservation struct { AvailableIPCount *float64 `json:"availableIpCount,omitempty" tf:"available_ip_count,omitempty"` CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"` }
func (*SubnetObservation) DeepCopy ¶
func (in *SubnetObservation) DeepCopy() *SubnetObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetObservation.
func (*SubnetObservation) DeepCopyInto ¶
func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetParameters ¶
type SubnetParameters struct { // The availability zone within which the subnet should be created. // +kubebuilder:validation:Required AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"` // A network address block of the subnet. // +kubebuilder:validation:Required CidrBlock *string `json:"cidrBlock" tf:"cidr_block,omitempty"` // Indicates whether multicast is enabled. The default value is 'true'. // +kubebuilder:validation:Optional IsMulticast *bool `json:"isMulticast,omitempty" tf:"is_multicast,omitempty"` // The name of subnet to be created. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // ID of a routing table to which the subnet should be associated. // +kubebuilder:validation:Optional RouteTableID *string `json:"routeTableId,omitempty" tf:"route_table_id,omitempty"` // Tags of the subnet. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // ID of the VPC to be associated. // +crossplane:generate:reference:type=VPC // +kubebuilder:validation:Optional VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` // +kubebuilder:validation:Optional VPCIDRef *v1.Reference `json:"vpcidRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional VPCIDSelector *v1.Selector `json:"vpcidSelector,omitempty" tf:"-"` }
func (*SubnetParameters) DeepCopy ¶
func (in *SubnetParameters) DeepCopy() *SubnetParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetParameters.
func (*SubnetParameters) DeepCopyInto ¶
func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetSpec ¶
type SubnetSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SubnetParameters `json:"forProvider"` }
SubnetSpec defines the desired state of Subnet
func (*SubnetSpec) DeepCopy ¶
func (in *SubnetSpec) DeepCopy() *SubnetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec.
func (*SubnetSpec) DeepCopyInto ¶
func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetStatus ¶
type SubnetStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SubnetObservation `json:"atProvider,omitempty"` }
SubnetStatus defines the observed state of Subnet.
func (*SubnetStatus) DeepCopy ¶
func (in *SubnetStatus) DeepCopy() *SubnetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetStatus.
func (*SubnetStatus) DeepCopyInto ¶
func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPC ¶
type VPC struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VPCSpec `json:"spec"` Status VPCStatus `json:"status,omitempty"` }
VPC is the Schema for the VPCs 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,tencentcloudjet}
func (*VPC) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPC.
func (*VPC) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VPC) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VPC) GetCondition ¶
func (mg *VPC) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this VPC.
func (*VPC) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this VPC
func (*VPC) GetDeletionPolicy ¶
func (mg *VPC) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this VPC.
func (*VPC) GetObservation ¶
GetObservation of this VPC
func (*VPC) GetParameters ¶
GetParameters of this VPC
func (*VPC) GetProviderConfigReference ¶
GetProviderConfigReference of this VPC.
func (*VPC) GetProviderReference ¶
GetProviderReference of this VPC. Deprecated: Use GetProviderConfigReference.
func (*VPC) GetPublishConnectionDetailsTo ¶
func (mg *VPC) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this VPC.
func (*VPC) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this VPC
func (*VPC) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*VPC) GetWriteConnectionSecretToReference ¶
func (mg *VPC) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this VPC.
func (*VPC) LateInitialize ¶
LateInitialize this VPC using its observed tfState. returns True if there are any spec changes for the resource.
func (*VPC) SetConditions ¶
SetConditions of this VPC.
func (*VPC) SetDeletionPolicy ¶
func (mg *VPC) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this VPC.
func (*VPC) SetObservation ¶
SetObservation for this VPC
func (*VPC) SetParameters ¶
SetParameters for this VPC
func (*VPC) SetProviderConfigReference ¶
SetProviderConfigReference of this VPC.
func (*VPC) SetProviderReference ¶
SetProviderReference of this VPC. Deprecated: Use SetProviderConfigReference.
func (*VPC) SetPublishConnectionDetailsTo ¶
func (mg *VPC) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this VPC.
func (*VPC) SetWriteConnectionSecretToReference ¶
func (mg *VPC) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this VPC.
type VPCList ¶
type VPCList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VPC `json:"items"` }
VPCList contains a list of VPCs
func (*VPCList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCList.
func (*VPCList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VPCList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VPCObservation ¶
type VPCObservation struct { CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` DefaultRouteTableID *string `json:"defaultRouteTableId,omitempty" tf:"default_route_table_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"` }
func (*VPCObservation) DeepCopy ¶
func (in *VPCObservation) DeepCopy() *VPCObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCObservation.
func (*VPCObservation) DeepCopyInto ¶
func (in *VPCObservation) DeepCopyInto(out *VPCObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPCParameters ¶
type VPCParameters struct { // List of Assistant CIDR. // +kubebuilder:validation:Optional AssistantCidrs []*string `json:"assistantCidrs,omitempty" tf:"assistant_cidrs,omitempty"` // A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16). // +kubebuilder:validation:Required CidrBlock *string `json:"cidrBlock" tf:"cidr_block,omitempty"` // The DNS server list of the VPC. And you can specify 0 to 5 servers to this list. // +kubebuilder:validation:Optional DNSServers []*string `json:"dnsServers,omitempty" tf:"dns_servers,omitempty"` // Indicates whether VPC multicast is enabled. The default value is 'true'. // +kubebuilder:validation:Optional IsMulticast *bool `json:"isMulticast,omitempty" tf:"is_multicast,omitempty"` // The name of the VPC. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Tags of the VPC. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*VPCParameters) DeepCopy ¶
func (in *VPCParameters) DeepCopy() *VPCParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCParameters.
func (*VPCParameters) DeepCopyInto ¶
func (in *VPCParameters) DeepCopyInto(out *VPCParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPCSpec ¶
type VPCSpec struct { v1.ResourceSpec `json:",inline"` ForProvider VPCParameters `json:"forProvider"` }
VPCSpec defines the desired state of VPC
func (*VPCSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSpec.
func (*VPCSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPCStatus ¶
type VPCStatus struct { v1.ResourceStatus `json:",inline"` AtProvider VPCObservation `json:"atProvider,omitempty"` }
VPCStatus defines the observed state of VPC.
func (*VPCStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCStatus.
func (*VPCStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.