Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=primaryip.netbox.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type PrimaryIp
- func (in *PrimaryIp) DeepCopy() *PrimaryIp
- func (in *PrimaryIp) DeepCopyInto(out *PrimaryIp)
- func (in *PrimaryIp) DeepCopyObject() runtime.Object
- func (mg *PrimaryIp) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PrimaryIp) GetConnectionDetailsMapping() map[string]string
- func (mg *PrimaryIp) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PrimaryIp) GetID() string
- func (mg *PrimaryIp) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *PrimaryIp) GetObservation() (map[string]any, error)
- func (tr *PrimaryIp) GetParameters() (map[string]any, error)
- func (mg *PrimaryIp) GetProviderConfigReference() *xpv1.Reference
- func (mg *PrimaryIp) GetProviderReference() *xpv1.Reference
- func (mg *PrimaryIp) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PrimaryIp) GetTerraformResourceType() string
- func (tr *PrimaryIp) GetTerraformSchemaVersion() int
- func (mg *PrimaryIp) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PrimaryIp) LateInitialize(attrs []byte) (bool, error)
- func (mg *PrimaryIp) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *PrimaryIp) SetConditions(c ...xpv1.Condition)
- func (mg *PrimaryIp) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PrimaryIp) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *PrimaryIp) SetObservation(obs map[string]any) error
- func (tr *PrimaryIp) SetParameters(params map[string]any) error
- func (mg *PrimaryIp) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PrimaryIp) SetProviderReference(r *xpv1.Reference)
- func (mg *PrimaryIp) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PrimaryIp) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PrimaryIpList
- type PrimaryIpObservation
- type PrimaryIpParameters
- type PrimaryIpSpec
- type PrimaryIpStatus
Constants ¶
const ( CRDGroup = "primaryip.netbox.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 ( PrimaryIp_Kind = "PrimaryIp" PrimaryIp_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PrimaryIp_Kind}.String() PrimaryIp_KindAPIVersion = PrimaryIp_Kind + "." + CRDGroupVersion.String() PrimaryIp_GroupVersionKind = CRDGroupVersion.WithKind(PrimaryIp_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type PrimaryIp ¶
type PrimaryIp struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrimaryIpSpec `json:"spec"` Status PrimaryIpStatus `json:"status,omitempty"` }
PrimaryIp is the Schema for the PrimaryIps 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,netbox}
func (*PrimaryIp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryIp.
func (*PrimaryIp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrimaryIp) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PrimaryIp) GetCondition ¶
func (mg *PrimaryIp) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PrimaryIp.
func (*PrimaryIp) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this PrimaryIp
func (*PrimaryIp) GetDeletionPolicy ¶
func (mg *PrimaryIp) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PrimaryIp.
func (*PrimaryIp) GetManagementPolicy ¶
func (mg *PrimaryIp) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this PrimaryIp.
func (*PrimaryIp) GetObservation ¶
GetObservation of this PrimaryIp
func (*PrimaryIp) GetParameters ¶
GetParameters of this PrimaryIp
func (*PrimaryIp) GetProviderConfigReference ¶
GetProviderConfigReference of this PrimaryIp.
func (*PrimaryIp) GetProviderReference ¶
GetProviderReference of this PrimaryIp. Deprecated: Use GetProviderConfigReference.
func (*PrimaryIp) GetPublishConnectionDetailsTo ¶
func (mg *PrimaryIp) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PrimaryIp.
func (*PrimaryIp) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this PrimaryIp
func (*PrimaryIp) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PrimaryIp) GetWriteConnectionSecretToReference ¶
func (mg *PrimaryIp) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PrimaryIp.
func (*PrimaryIp) LateInitialize ¶
LateInitialize this PrimaryIp using its observed tfState. returns True if there are any spec changes for the resource.
func (*PrimaryIp) ResolveReferences ¶
ResolveReferences of this PrimaryIp.
func (*PrimaryIp) SetConditions ¶
SetConditions of this PrimaryIp.
func (*PrimaryIp) SetDeletionPolicy ¶
func (mg *PrimaryIp) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PrimaryIp.
func (*PrimaryIp) SetManagementPolicy ¶
func (mg *PrimaryIp) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this PrimaryIp.
func (*PrimaryIp) SetObservation ¶
SetObservation for this PrimaryIp
func (*PrimaryIp) SetParameters ¶
SetParameters for this PrimaryIp
func (*PrimaryIp) SetProviderConfigReference ¶
SetProviderConfigReference of this PrimaryIp.
func (*PrimaryIp) SetProviderReference ¶
SetProviderReference of this PrimaryIp. Deprecated: Use SetProviderConfigReference.
func (*PrimaryIp) SetPublishConnectionDetailsTo ¶
func (mg *PrimaryIp) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PrimaryIp.
func (*PrimaryIp) SetWriteConnectionSecretToReference ¶
func (mg *PrimaryIp) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PrimaryIp.
type PrimaryIpList ¶
type PrimaryIpList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PrimaryIp `json:"items"` }
PrimaryIpList contains a list of PrimaryIps
func (*PrimaryIpList) DeepCopy ¶
func (in *PrimaryIpList) DeepCopy() *PrimaryIpList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryIpList.
func (*PrimaryIpList) DeepCopyInto ¶
func (in *PrimaryIpList) DeepCopyInto(out *PrimaryIpList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrimaryIpList) DeepCopyObject ¶
func (in *PrimaryIpList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PrimaryIpList) GetItems ¶
func (l *PrimaryIpList) GetItems() []resource.Managed
GetItems of this PrimaryIpList.
type PrimaryIpObservation ¶
type PrimaryIpObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` IPAddressID *float64 `json:"ipAddressId,omitempty" tf:"ip_address_id,omitempty"` // Defaults to `4`. IPAddressVersion *float64 `json:"ipAddressVersion,omitempty" tf:"ip_address_version,omitempty"` VirtualMachineID *float64 `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` }
func (*PrimaryIpObservation) DeepCopy ¶
func (in *PrimaryIpObservation) DeepCopy() *PrimaryIpObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryIpObservation.
func (*PrimaryIpObservation) DeepCopyInto ¶
func (in *PrimaryIpObservation) DeepCopyInto(out *PrimaryIpObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrimaryIpParameters ¶
type PrimaryIpParameters struct { // +crossplane:generate:reference:type=github.com/fire-ant/provider-netbox/apis/ipam/v1alpha1.IPAddress // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional IPAddressID *float64 `json:"ipAddressId,omitempty" tf:"ip_address_id,omitempty"` // Reference to a IPAddress in ipam to populate ipAddressId. // +kubebuilder:validation:Optional IPAddressIDRef *v1.Reference `json:"ipAddressIdRef,omitempty" tf:"-"` // Selector for a IPAddress in ipam to populate ipAddressId. // +kubebuilder:validation:Optional IPAddressIDSelector *v1.Selector `json:"ipAddressIdSelector,omitempty" tf:"-"` // Defaults to `4`. // +kubebuilder:validation:Optional IPAddressVersion *float64 `json:"ipAddressVersion,omitempty" tf:"ip_address_version,omitempty"` // +crossplane:generate:reference:type=github.com/fire-ant/provider-netbox/apis/virtualization/v1alpha1.Machine // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional VirtualMachineID *float64 `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` // Reference to a Machine in virtualization to populate virtualMachineId. // +kubebuilder:validation:Optional VirtualMachineIDRef *v1.Reference `json:"virtualMachineIdRef,omitempty" tf:"-"` // Selector for a Machine in virtualization to populate virtualMachineId. // +kubebuilder:validation:Optional VirtualMachineIDSelector *v1.Selector `json:"virtualMachineIdSelector,omitempty" tf:"-"` }
func (*PrimaryIpParameters) DeepCopy ¶
func (in *PrimaryIpParameters) DeepCopy() *PrimaryIpParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryIpParameters.
func (*PrimaryIpParameters) DeepCopyInto ¶
func (in *PrimaryIpParameters) DeepCopyInto(out *PrimaryIpParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrimaryIpSpec ¶
type PrimaryIpSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PrimaryIpParameters `json:"forProvider"` }
PrimaryIpSpec defines the desired state of PrimaryIp
func (*PrimaryIpSpec) DeepCopy ¶
func (in *PrimaryIpSpec) DeepCopy() *PrimaryIpSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryIpSpec.
func (*PrimaryIpSpec) DeepCopyInto ¶
func (in *PrimaryIpSpec) DeepCopyInto(out *PrimaryIpSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrimaryIpStatus ¶
type PrimaryIpStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PrimaryIpObservation `json:"atProvider,omitempty"` }
PrimaryIpStatus defines the observed state of PrimaryIp.
func (*PrimaryIpStatus) DeepCopy ¶
func (in *PrimaryIpStatus) DeepCopy() *PrimaryIpStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryIpStatus.
func (*PrimaryIpStatus) DeepCopyInto ¶
func (in *PrimaryIpStatus) DeepCopyInto(out *PrimaryIpStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.