Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=byoip.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type IPPrefix
- func (in *IPPrefix) DeepCopy() *IPPrefix
- func (in *IPPrefix) DeepCopyInto(out *IPPrefix)
- func (in *IPPrefix) DeepCopyObject() runtime.Object
- func (mg *IPPrefix) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *IPPrefix) GetConnectionDetailsMapping() map[string]string
- func (mg *IPPrefix) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *IPPrefix) GetID() string
- func (tr *IPPrefix) GetInitParameters() (map[string]any, error)
- func (mg *IPPrefix) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *IPPrefix) GetObservation() (map[string]any, error)
- func (tr *IPPrefix) GetParameters() (map[string]any, error)
- func (mg *IPPrefix) GetProviderConfigReference() *xpv1.Reference
- func (mg *IPPrefix) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *IPPrefix) GetTerraformResourceType() string
- func (tr *IPPrefix) GetTerraformSchemaVersion() int
- func (mg *IPPrefix) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *IPPrefix) LateInitialize(attrs []byte) (bool, error)
- func (mg *IPPrefix) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *IPPrefix) SetConditions(c ...xpv1.Condition)
- func (mg *IPPrefix) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *IPPrefix) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *IPPrefix) SetObservation(obs map[string]any) error
- func (tr *IPPrefix) SetParameters(params map[string]any) error
- func (mg *IPPrefix) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *IPPrefix) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *IPPrefix) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type IPPrefixInitParameters
- type IPPrefixList
- type IPPrefixObservation
- type IPPrefixParameters
- type IPPrefixSpec
- type IPPrefixStatus
Constants ¶
const ( CRDGroup = "byoip.upbound.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 ( IPPrefix_Kind = "IPPrefix" IPPrefix_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IPPrefix_Kind}.String() IPPrefix_KindAPIVersion = IPPrefix_Kind + "." + CRDGroupVersion.String() IPPrefix_GroupVersionKind = CRDGroupVersion.WithKind(IPPrefix_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type IPPrefix ¶
type IPPrefix 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.prefixId) || (has(self.initProvider) && has(self.initProvider.prefixId))",message="spec.forProvider.prefixId is a required parameter" Spec IPPrefixSpec `json:"spec"` Status IPPrefixStatus `json:"status,omitempty"` }
IPPrefix is the Schema for the IPPrefixs API. Provides the ability to manage Bring-Your-Own-IP prefixes (BYOIP) which are used with or without Magic Transit. +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,cloudflare}
func (*IPPrefix) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPrefix.
func (*IPPrefix) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPPrefix) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPPrefix) GetCondition ¶
func (mg *IPPrefix) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this IPPrefix.
func (*IPPrefix) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this IPPrefix
func (*IPPrefix) GetDeletionPolicy ¶
func (mg *IPPrefix) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this IPPrefix.
func (*IPPrefix) GetInitParameters ¶
GetInitParameters of this IPPrefix
func (*IPPrefix) GetManagementPolicies ¶
func (mg *IPPrefix) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this IPPrefix.
func (*IPPrefix) GetObservation ¶
GetObservation of this IPPrefix
func (*IPPrefix) GetParameters ¶
GetParameters of this IPPrefix
func (*IPPrefix) GetProviderConfigReference ¶
GetProviderConfigReference of this IPPrefix.
func (*IPPrefix) GetPublishConnectionDetailsTo ¶
func (mg *IPPrefix) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this IPPrefix.
func (*IPPrefix) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this IPPrefix
func (*IPPrefix) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*IPPrefix) GetWriteConnectionSecretToReference ¶
func (mg *IPPrefix) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this IPPrefix.
func (*IPPrefix) LateInitialize ¶
LateInitialize this IPPrefix using its observed tfState. returns True if there are any spec changes for the resource.
func (*IPPrefix) ResolveReferences ¶
ResolveReferences of this IPPrefix.
func (*IPPrefix) SetConditions ¶
SetConditions of this IPPrefix.
func (*IPPrefix) SetDeletionPolicy ¶
func (mg *IPPrefix) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this IPPrefix.
func (*IPPrefix) SetManagementPolicies ¶
func (mg *IPPrefix) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this IPPrefix.
func (*IPPrefix) SetObservation ¶
SetObservation for this IPPrefix
func (*IPPrefix) SetParameters ¶
SetParameters for this IPPrefix
func (*IPPrefix) SetProviderConfigReference ¶
SetProviderConfigReference of this IPPrefix.
func (*IPPrefix) SetPublishConnectionDetailsTo ¶
func (mg *IPPrefix) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this IPPrefix.
func (*IPPrefix) SetWriteConnectionSecretToReference ¶
func (mg *IPPrefix) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this IPPrefix.
type IPPrefixInitParameters ¶
type IPPrefixInitParameters struct { // (String) Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Available values: on, off. // Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Available values: `on`, `off`. Advertisement *string `json:"advertisement,omitempty" tf:"advertisement,omitempty"` // (String) Description of the BYO IP prefix. // Description of the BYO IP prefix. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Your-Own-IP prefix ID. Modifying this attribute will force creation of a new resource. // The assigned Bring-Your-Own-IP prefix ID. **Modifying this attribute will force creation of a new resource.** PrefixID *string `json:"prefixId,omitempty" tf:"prefix_id,omitempty"` }
func (*IPPrefixInitParameters) DeepCopy ¶
func (in *IPPrefixInitParameters) DeepCopy() *IPPrefixInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPrefixInitParameters.
func (*IPPrefixInitParameters) DeepCopyInto ¶
func (in *IPPrefixInitParameters) DeepCopyInto(out *IPPrefixInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPPrefixList ¶
type IPPrefixList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IPPrefix `json:"items"` }
IPPrefixList contains a list of IPPrefixs
func (*IPPrefixList) DeepCopy ¶
func (in *IPPrefixList) DeepCopy() *IPPrefixList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPrefixList.
func (*IPPrefixList) DeepCopyInto ¶
func (in *IPPrefixList) DeepCopyInto(out *IPPrefixList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPPrefixList) DeepCopyObject ¶
func (in *IPPrefixList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPPrefixList) GetItems ¶
func (l *IPPrefixList) GetItems() []resource.Managed
GetItems of this IPPrefixList.
type IPPrefixObservation ¶
type IPPrefixObservation struct { // (String) The account identifier to target for the resource. // The account identifier to target for the resource. AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` // (String) Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Available values: on, off. // Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Available values: `on`, `off`. Advertisement *string `json:"advertisement,omitempty" tf:"advertisement,omitempty"` // (String) Description of the BYO IP prefix. // Description of the BYO IP prefix. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Your-Own-IP prefix ID. Modifying this attribute will force creation of a new resource. // The assigned Bring-Your-Own-IP prefix ID. **Modifying this attribute will force creation of a new resource.** PrefixID *string `json:"prefixId,omitempty" tf:"prefix_id,omitempty"` }
func (*IPPrefixObservation) DeepCopy ¶
func (in *IPPrefixObservation) DeepCopy() *IPPrefixObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPrefixObservation.
func (*IPPrefixObservation) DeepCopyInto ¶
func (in *IPPrefixObservation) DeepCopyInto(out *IPPrefixObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPPrefixParameters ¶
type IPPrefixParameters struct { // (String) The account identifier to target for the resource. // The account identifier to target for the resource. // +crossplane:generate:reference:type=github.com/milkpirate/provider-cloudflare/apis/account/v1alpha1.Account // +kubebuilder:validation:Optional AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` // Reference to a Account in account to populate accountId. // +kubebuilder:validation:Optional AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"` // Selector for a Account in account to populate accountId. // +kubebuilder:validation:Optional AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"` // (String) Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Available values: on, off. // Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Available values: `on`, `off`. // +kubebuilder:validation:Optional Advertisement *string `json:"advertisement,omitempty" tf:"advertisement,omitempty"` // (String) Description of the BYO IP prefix. // Description of the BYO IP prefix. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Your-Own-IP prefix ID. Modifying this attribute will force creation of a new resource. // The assigned Bring-Your-Own-IP prefix ID. **Modifying this attribute will force creation of a new resource.** // +kubebuilder:validation:Optional PrefixID *string `json:"prefixId,omitempty" tf:"prefix_id,omitempty"` }
func (*IPPrefixParameters) DeepCopy ¶
func (in *IPPrefixParameters) DeepCopy() *IPPrefixParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPrefixParameters.
func (*IPPrefixParameters) DeepCopyInto ¶
func (in *IPPrefixParameters) DeepCopyInto(out *IPPrefixParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPPrefixSpec ¶
type IPPrefixSpec struct { v1.ResourceSpec `json:",inline"` ForProvider IPPrefixParameters `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 IPPrefixInitParameters `json:"initProvider,omitempty"` }
IPPrefixSpec defines the desired state of IPPrefix
func (*IPPrefixSpec) DeepCopy ¶
func (in *IPPrefixSpec) DeepCopy() *IPPrefixSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPrefixSpec.
func (*IPPrefixSpec) DeepCopyInto ¶
func (in *IPPrefixSpec) DeepCopyInto(out *IPPrefixSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPPrefixStatus ¶
type IPPrefixStatus struct { v1.ResourceStatus `json:",inline"` AtProvider IPPrefixObservation `json:"atProvider,omitempty"` }
IPPrefixStatus defines the observed state of IPPrefix.
func (*IPPrefixStatus) DeepCopy ¶
func (in *IPPrefixStatus) DeepCopy() *IPPrefixStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPrefixStatus.
func (*IPPrefixStatus) DeepCopyInto ¶
func (in *IPPrefixStatus) DeepCopyInto(out *IPPrefixStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.