Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=vrackip.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type IP
- func (in *IP) DeepCopy() *IP
- func (in *IP) DeepCopyInto(out *IP)
- func (in *IP) DeepCopyObject() runtime.Object
- func (mg *IP) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *IP) GetConnectionDetailsMapping() map[string]string
- func (mg *IP) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *IP) GetID() string
- func (tr *IP) GetInitParameters() (map[string]any, error)
- func (mg *IP) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *IP) GetObservation() (map[string]any, error)
- func (tr *IP) GetParameters() (map[string]any, error)
- func (mg *IP) GetProviderConfigReference() *xpv1.Reference
- func (mg *IP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *IP) GetTerraformResourceType() string
- func (tr *IP) GetTerraformSchemaVersion() int
- func (mg *IP) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *IP) LateInitialize(attrs []byte) (bool, error)
- func (mg *IP) SetConditions(c ...xpv1.Condition)
- func (mg *IP) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *IP) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *IP) SetObservation(obs map[string]any) error
- func (tr *IP) SetParameters(params map[string]any) error
- func (mg *IP) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *IP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *IP) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type IPInitParameters
- type IPList
- type IPObservation
- type IPParameters
- type IPSpec
- type IPStatus
Constants ¶
const ( CRDGroup = "vrackip.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 ( IP_Kind = "IP" IP_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IP_Kind}.String() IP_KindAPIVersion = IP_Kind + "." + CRDGroupVersion.String() IP_GroupVersionKind = CRDGroupVersion.WithKind(IP_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type IP ¶
type IP 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.block) || (has(self.initProvider) && has(self.initProvider.block))",message="spec.forProvider.block is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter" Spec IPSpec `json:"spec"` Status IPStatus `json:"status,omitempty"` }
IP is the Schema for the IPs API. <no value> +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,ovh}
func (*IP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IP.
func (*IP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IP) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IP) GetCondition ¶
func (mg *IP) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this IP.
func (*IP) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this IP
func (*IP) GetDeletionPolicy ¶
func (mg *IP) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this IP.
func (*IP) GetInitParameters ¶
GetInitParameters of this IP
func (*IP) GetManagementPolicies ¶
func (mg *IP) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this IP.
func (*IP) GetObservation ¶
GetObservation of this IP
func (*IP) GetParameters ¶
GetParameters of this IP
func (*IP) GetProviderConfigReference ¶
GetProviderConfigReference of this IP.
func (*IP) GetPublishConnectionDetailsTo ¶
func (mg *IP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this IP.
func (*IP) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this IP
func (*IP) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*IP) GetWriteConnectionSecretToReference ¶
func (mg *IP) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this IP.
func (*IP) LateInitialize ¶
LateInitialize this IP using its observed tfState. returns True if there are any spec changes for the resource.
func (*IP) SetConditions ¶
SetConditions of this IP.
func (*IP) SetDeletionPolicy ¶
func (mg *IP) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this IP.
func (*IP) SetManagementPolicies ¶
func (mg *IP) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this IP.
func (*IP) SetObservation ¶
SetObservation for this IP
func (*IP) SetParameters ¶
SetParameters for this IP
func (*IP) SetProviderConfigReference ¶
SetProviderConfigReference of this IP.
func (*IP) SetPublishConnectionDetailsTo ¶
func (mg *IP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this IP.
func (*IP) SetWriteConnectionSecretToReference ¶
func (mg *IP) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this IP.
type IPInitParameters ¶
type IPInitParameters struct { // Your IP block. Block *string `json:"block,omitempty" tf:"block,omitempty"` // The internal name of your vrack ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*IPInitParameters) DeepCopy ¶
func (in *IPInitParameters) DeepCopy() *IPInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPInitParameters.
func (*IPInitParameters) DeepCopyInto ¶
func (in *IPInitParameters) DeepCopyInto(out *IPInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPList ¶
type IPList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IP `json:"items"` }
IPList contains a list of IPs
func (*IPList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPList.
func (*IPList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPObservation ¶
type IPObservation struct { // Your IP block. Block *string `json:"block,omitempty" tf:"block,omitempty"` // Your gateway Gateway *string `json:"gateway,omitempty" tf:"gateway,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Your IP block IP *string `json:"ip,omitempty" tf:"ip,omitempty"` // The internal name of your vrack ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` // Where you want your block announced on the network Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*IPObservation) DeepCopy ¶
func (in *IPObservation) DeepCopy() *IPObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPObservation.
func (*IPObservation) DeepCopyInto ¶
func (in *IPObservation) DeepCopyInto(out *IPObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPParameters ¶
type IPParameters struct { // Your IP block. // +kubebuilder:validation:Optional Block *string `json:"block,omitempty" tf:"block,omitempty"` // The internal name of your vrack // +kubebuilder:validation:Optional ServiceName *string `json:"serviceName,omitempty" tf:"service_name,omitempty"` }
func (*IPParameters) DeepCopy ¶
func (in *IPParameters) DeepCopy() *IPParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPParameters.
func (*IPParameters) DeepCopyInto ¶
func (in *IPParameters) DeepCopyInto(out *IPParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPSpec ¶
type IPSpec struct { v1.ResourceSpec `json:",inline"` ForProvider IPParameters `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 IPInitParameters `json:"initProvider,omitempty"` }
IPSpec defines the desired state of IP
func (*IPSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPSpec.
func (*IPSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPStatus ¶
type IPStatus struct { v1.ResourceStatus `json:",inline"` AtProvider IPObservation `json:"atProvider,omitempty"` }
IPStatus defines the observed state of IP.
func (*IPStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPStatus.
func (*IPStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.