Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=vpc.digitalocean.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- 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) GetInitParameters() (map[string]any, error)
- func (mg *VPC) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *VPC) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *VPC) GetObservation() (map[string]any, error)
- func (tr *VPC) GetParameters() (map[string]any, error)
- func (mg *VPC) GetProviderConfigReference() *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) Hub()
- func (tr *VPC) LateInitialize(attrs []byte) (bool, error)
- func (mg *VPC) SetConditions(c ...xpv1.Condition)
- func (mg *VPC) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *VPC) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *VPC) SetObservation(obs map[string]any) error
- func (tr *VPC) SetParameters(params map[string]any) error
- func (mg *VPC) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VPC) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *VPC) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VPCInitParameters
- type VPCList
- type VPCObservation
- type VPCParameters
- type VPCSpec
- type VPCStatus
Constants ¶
const ( CRDGroup = "vpc.digitalocean.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 ( 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 VPC ¶
type VPC struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter" Spec VPCSpec `json:"spec"` Status VPCStatus `json:"status,omitempty"` }
VPC is the Schema for the VPCs API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}
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) GetInitParameters ¶
GetInitParameters of this VPC
func (*VPC) GetManagementPolicies ¶
func (mg *VPC) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this VPC.
func (*VPC) GetMergedParameters ¶ added in v0.2.0
GetInitParameters 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) 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) SetManagementPolicies ¶
func (mg *VPC) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 VPCInitParameters ¶
type VPCInitParameters struct { // A free-form text field up to a limit of 255 characters to describe the VPC. // A free-form description for the VPC Description *string `json:"description,omitempty" tf:"description,omitempty"` // The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than /16 or smaller than /24. // The range of IP addresses for the VPC in CIDR notation IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"` // A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only. // The name of the VPC Name *string `json:"name,omitempty" tf:"name,omitempty"` // The DigitalOcean region slug for the VPC's location. // DigitalOcean region slug for the VPC's location Region *string `json:"region,omitempty" tf:"region,omitempty"` }
func (*VPCInitParameters) DeepCopy ¶
func (in *VPCInitParameters) DeepCopy() *VPCInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCInitParameters.
func (*VPCInitParameters) DeepCopyInto ¶
func (in *VPCInitParameters) DeepCopyInto(out *VPCInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // The date and time of when the VPC was created. // The date and time of when the VPC was created CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"` // A boolean indicating whether or not the VPC is the default one for the region. // Whether or not the VPC is the default one for the region Default *bool `json:"default,omitempty" tf:"default,omitempty"` // A free-form text field up to a limit of 255 characters to describe the VPC. // A free-form description for the VPC Description *string `json:"description,omitempty" tf:"description,omitempty"` // The unique identifier for the VPC. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than /16 or smaller than /24. // The range of IP addresses for the VPC in CIDR notation IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"` // A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only. // The name of the VPC Name *string `json:"name,omitempty" tf:"name,omitempty"` // The DigitalOcean region slug for the VPC's location. // DigitalOcean region slug for the VPC's location Region *string `json:"region,omitempty" tf:"region,omitempty"` // The uniform resource name (URN) for the VPC. // The uniform resource name (URN) for the VPC Urn *string `json:"urn,omitempty" tf:"urn,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 { // A free-form text field up to a limit of 255 characters to describe the VPC. // A free-form description for the VPC // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than /16 or smaller than /24. // The range of IP addresses for the VPC in CIDR notation // +kubebuilder:validation:Optional IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"` // A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only. // The name of the VPC // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The DigitalOcean region slug for the VPC's location. // DigitalOcean region slug for the VPC's location // +kubebuilder:validation:Optional Region *string `json:"region,omitempty" tf:"region,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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider VPCInitParameters `json:"initProvider,omitempty"` }
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.