Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=virtualization.netbox.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (mg *Cluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Cluster) GetConnectionDetailsMapping() map[string]string
- func (mg *Cluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Cluster) GetID() string
- func (mg *Cluster) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Cluster) GetObservation() (map[string]any, error)
- func (tr *Cluster) GetParameters() (map[string]any, error)
- func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *Cluster) GetProviderReference() *xpv1.Reference
- func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Cluster) GetTerraformResourceType() string
- func (tr *Cluster) GetTerraformSchemaVersion() int
- func (mg *Cluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Cluster) LateInitialize(attrs []byte) (bool, error)
- func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Cluster) SetConditions(c ...xpv1.Condition)
- func (mg *Cluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Cluster) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Cluster) SetObservation(obs map[string]any) error
- func (tr *Cluster) SetParameters(params map[string]any) error
- func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Cluster) SetProviderReference(r *xpv1.Reference)
- func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Cluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ClusterList
- type ClusterObservation
- type ClusterParameters
- type ClusterSpec
- type ClusterStatus
- type ClusterType
- func (in *ClusterType) DeepCopy() *ClusterType
- func (in *ClusterType) DeepCopyInto(out *ClusterType)
- func (in *ClusterType) DeepCopyObject() runtime.Object
- func (mg *ClusterType) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ClusterType) GetConnectionDetailsMapping() map[string]string
- func (mg *ClusterType) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ClusterType) GetID() string
- func (mg *ClusterType) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *ClusterType) GetObservation() (map[string]any, error)
- func (tr *ClusterType) GetParameters() (map[string]any, error)
- func (mg *ClusterType) GetProviderConfigReference() *xpv1.Reference
- func (mg *ClusterType) GetProviderReference() *xpv1.Reference
- func (mg *ClusterType) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ClusterType) GetTerraformResourceType() string
- func (tr *ClusterType) GetTerraformSchemaVersion() int
- func (mg *ClusterType) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ClusterType) LateInitialize(attrs []byte) (bool, error)
- func (mg *ClusterType) SetConditions(c ...xpv1.Condition)
- func (mg *ClusterType) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ClusterType) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *ClusterType) SetObservation(obs map[string]any) error
- func (tr *ClusterType) SetParameters(params map[string]any) error
- func (mg *ClusterType) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ClusterType) SetProviderReference(r *xpv1.Reference)
- func (mg *ClusterType) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ClusterType) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ClusterTypeList
- type ClusterTypeObservation
- type ClusterTypeParameters
- type ClusterTypeSpec
- type ClusterTypeStatus
- type Group
- func (in *Group) DeepCopy() *Group
- func (in *Group) DeepCopyInto(out *Group)
- func (in *Group) DeepCopyObject() runtime.Object
- func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Group) GetConnectionDetailsMapping() map[string]string
- func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Group) GetID() string
- func (mg *Group) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Group) GetObservation() (map[string]any, error)
- func (tr *Group) GetParameters() (map[string]any, error)
- func (mg *Group) GetProviderConfigReference() *xpv1.Reference
- func (mg *Group) GetProviderReference() *xpv1.Reference
- func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Group) GetTerraformResourceType() string
- func (tr *Group) GetTerraformSchemaVersion() int
- func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Group) LateInitialize(attrs []byte) (bool, error)
- func (mg *Group) SetConditions(c ...xpv1.Condition)
- func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Group) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Group) SetObservation(obs map[string]any) error
- func (tr *Group) SetParameters(params map[string]any) error
- func (mg *Group) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Group) SetProviderReference(r *xpv1.Reference)
- func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type GroupList
- type GroupObservation
- type GroupParameters
- type GroupSpec
- type GroupStatus
- type Machine
- func (in *Machine) DeepCopy() *Machine
- func (in *Machine) DeepCopyInto(out *Machine)
- func (in *Machine) DeepCopyObject() runtime.Object
- func (mg *Machine) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Machine) GetConnectionDetailsMapping() map[string]string
- func (mg *Machine) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Machine) GetID() string
- func (mg *Machine) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Machine) GetObservation() (map[string]any, error)
- func (tr *Machine) GetParameters() (map[string]any, error)
- func (mg *Machine) GetProviderConfigReference() *xpv1.Reference
- func (mg *Machine) GetProviderReference() *xpv1.Reference
- func (mg *Machine) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Machine) GetTerraformResourceType() string
- func (tr *Machine) GetTerraformSchemaVersion() int
- func (mg *Machine) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Machine) LateInitialize(attrs []byte) (bool, error)
- func (mg *Machine) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Machine) SetConditions(c ...xpv1.Condition)
- func (mg *Machine) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Machine) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Machine) SetObservation(obs map[string]any) error
- func (tr *Machine) SetParameters(params map[string]any) error
- func (mg *Machine) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Machine) SetProviderReference(r *xpv1.Reference)
- func (mg *Machine) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Machine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MachineList
- type MachineObservation
- type MachineParameters
- type MachineSpec
- type MachineStatus
- type VirtInterface
- func (in *VirtInterface) DeepCopy() *VirtInterface
- func (in *VirtInterface) DeepCopyInto(out *VirtInterface)
- func (in *VirtInterface) DeepCopyObject() runtime.Object
- func (mg *VirtInterface) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *VirtInterface) GetConnectionDetailsMapping() map[string]string
- func (mg *VirtInterface) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *VirtInterface) GetID() string
- func (mg *VirtInterface) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *VirtInterface) GetObservation() (map[string]any, error)
- func (tr *VirtInterface) GetParameters() (map[string]any, error)
- func (mg *VirtInterface) GetProviderConfigReference() *xpv1.Reference
- func (mg *VirtInterface) GetProviderReference() *xpv1.Reference
- func (mg *VirtInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *VirtInterface) GetTerraformResourceType() string
- func (tr *VirtInterface) GetTerraformSchemaVersion() int
- func (mg *VirtInterface) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *VirtInterface) LateInitialize(attrs []byte) (bool, error)
- func (mg *VirtInterface) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *VirtInterface) SetConditions(c ...xpv1.Condition)
- func (mg *VirtInterface) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *VirtInterface) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *VirtInterface) SetObservation(obs map[string]any) error
- func (tr *VirtInterface) SetParameters(params map[string]any) error
- func (mg *VirtInterface) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *VirtInterface) SetProviderReference(r *xpv1.Reference)
- func (mg *VirtInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *VirtInterface) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type VirtInterfaceList
- type VirtInterfaceObservation
- type VirtInterfaceParameters
- type VirtInterfaceSpec
- type VirtInterfaceStatus
Constants ¶
const ( CRDGroup = "virtualization.netbox.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Cluster_Kind = "Cluster" Cluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String() Cluster_KindAPIVersion = Cluster_Kind + "." + CRDGroupVersion.String() Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind) )
Repository type metadata.
var ( ClusterType_Kind = "ClusterType" ClusterType_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ClusterType_Kind}.String() ClusterType_KindAPIVersion = ClusterType_Kind + "." + CRDGroupVersion.String() ClusterType_GroupVersionKind = CRDGroupVersion.WithKind(ClusterType_Kind) )
Repository type metadata.
var ( Group_Kind = "Group" Group_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String() Group_KindAPIVersion = Group_Kind + "." + CRDGroupVersion.String() Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_Kind) )
Repository type metadata.
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 ( Machine_Kind = "Machine" Machine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Machine_Kind}.String() Machine_KindAPIVersion = Machine_Kind + "." + CRDGroupVersion.String() Machine_GroupVersionKind = CRDGroupVersion.WithKind(Machine_Kind) )
Repository type metadata.
var ( VirtInterface_Kind = "VirtInterface" VirtInterface_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtInterface_Kind}.String() VirtInterface_KindAPIVersion = VirtInterface_Kind + "." + CRDGroupVersion.String() VirtInterface_GroupVersionKind = CRDGroupVersion.WithKind(VirtInterface_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` }
Cluster is the Schema for the Clusters 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 (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) GetCondition ¶
func (mg *Cluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Cluster.
func (*Cluster) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Cluster
func (*Cluster) GetDeletionPolicy ¶
func (mg *Cluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Cluster.
func (*Cluster) GetManagementPolicy ¶
func (mg *Cluster) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Cluster.
func (*Cluster) GetObservation ¶
GetObservation of this Cluster
func (*Cluster) GetParameters ¶
GetParameters of this Cluster
func (*Cluster) GetProviderConfigReference ¶
GetProviderConfigReference of this Cluster.
func (*Cluster) GetProviderReference ¶
GetProviderReference of this Cluster. Deprecated: Use GetProviderConfigReference.
func (*Cluster) GetPublishConnectionDetailsTo ¶
func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Cluster.
func (*Cluster) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Cluster
func (*Cluster) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Cluster) GetWriteConnectionSecretToReference ¶
func (mg *Cluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Cluster.
func (*Cluster) LateInitialize ¶
LateInitialize this Cluster using its observed tfState. returns True if there are any spec changes for the resource.
func (*Cluster) ResolveReferences ¶
ResolveReferences of this Cluster.
func (*Cluster) SetConditions ¶
SetConditions of this Cluster.
func (*Cluster) SetDeletionPolicy ¶
func (mg *Cluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Cluster.
func (*Cluster) SetManagementPolicy ¶
func (mg *Cluster) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Cluster.
func (*Cluster) SetObservation ¶
SetObservation for this Cluster
func (*Cluster) SetParameters ¶
SetParameters for this Cluster
func (*Cluster) SetProviderConfigReference ¶
SetProviderConfigReference of this Cluster.
func (*Cluster) SetProviderReference ¶
SetProviderReference of this Cluster. Deprecated: Use SetProviderConfigReference.
func (*Cluster) SetPublishConnectionDetailsTo ¶
func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Cluster.
func (*Cluster) SetWriteConnectionSecretToReference ¶
func (mg *Cluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Cluster.
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
ClusterList contains a list of Clusters
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterList) GetItems ¶
func (l *ClusterList) GetItems() []resource.Managed
GetItems of this ClusterList.
type ClusterObservation ¶
type ClusterObservation struct { ClusterGroupID *float64 `json:"clusterGroupId,omitempty" tf:"cluster_group_id,omitempty"` ClusterTypeID *float64 `json:"clusterTypeId,omitempty" tf:"cluster_type_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` SiteID *float64 `json:"siteId,omitempty" tf:"site_id,omitempty"` Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` }
func (*ClusterObservation) DeepCopy ¶
func (in *ClusterObservation) DeepCopy() *ClusterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObservation.
func (*ClusterObservation) DeepCopyInto ¶
func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterParameters ¶
type ClusterParameters struct { // +crossplane:generate:reference:type=Group // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional ClusterGroupID *float64 `json:"clusterGroupId,omitempty" tf:"cluster_group_id,omitempty"` // Reference to a Group to populate clusterGroupId. // +kubebuilder:validation:Optional ClusterGroupIDRef *v1.Reference `json:"clusterGroupIdRef,omitempty" tf:"-"` // Selector for a Group to populate clusterGroupId. // +kubebuilder:validation:Optional ClusterGroupIDSelector *v1.Selector `json:"clusterGroupIdSelector,omitempty" tf:"-"` // +crossplane:generate:reference:type=ClusterType // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional ClusterTypeID *float64 `json:"clusterTypeId,omitempty" tf:"cluster_type_id,omitempty"` // Reference to a ClusterType to populate clusterTypeId. // +kubebuilder:validation:Optional ClusterTypeIDRef *v1.Reference `json:"clusterTypeIdRef,omitempty" tf:"-"` // Selector for a ClusterType to populate clusterTypeId. // +kubebuilder:validation:Optional ClusterTypeIDSelector *v1.Selector `json:"clusterTypeIdSelector,omitempty" tf:"-"` // +crossplane:generate:reference:type=github.com/fire-ant/provider-netbox/apis/dcim/v1alpha1.Site // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional SiteID *float64 `json:"siteId,omitempty" tf:"site_id,omitempty"` // Reference to a Site in dcim to populate siteId. // +kubebuilder:validation:Optional SiteIDRef *v1.Reference `json:"siteIdRef,omitempty" tf:"-"` // Selector for a Site in dcim to populate siteId. // +kubebuilder:validation:Optional SiteIDSelector *v1.Selector `json:"siteIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // +crossplane:generate:reference:type=github.com/fire-ant/provider-netbox/apis/tenant/v1alpha1.Tenant // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // Reference to a Tenant in tenant to populate tenantId. // +kubebuilder:validation:Optional TenantIDRef *v1.Reference `json:"tenantIdRef,omitempty" tf:"-"` // Selector for a Tenant in tenant to populate tenantId. // +kubebuilder:validation:Optional TenantIDSelector *v1.Selector `json:"tenantIdSelector,omitempty" tf:"-"` }
func (*ClusterParameters) DeepCopy ¶
func (in *ClusterParameters) DeepCopy() *ClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterParameters.
func (*ClusterParameters) DeepCopyInto ¶
func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ClusterParameters `json:"forProvider"` }
ClusterSpec defines the desired state of Cluster
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ClusterObservation `json:"atProvider,omitempty"` }
ClusterStatus defines the observed state of Cluster.
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterType ¶
type ClusterType struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterTypeSpec `json:"spec"` Status ClusterTypeStatus `json:"status,omitempty"` }
ClusterType is the Schema for the ClusterTypes 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 (*ClusterType) DeepCopy ¶
func (in *ClusterType) DeepCopy() *ClusterType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterType.
func (*ClusterType) DeepCopyInto ¶
func (in *ClusterType) DeepCopyInto(out *ClusterType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterType) DeepCopyObject ¶
func (in *ClusterType) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterType) GetCondition ¶
func (mg *ClusterType) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ClusterType.
func (*ClusterType) GetConnectionDetailsMapping ¶
func (tr *ClusterType) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ClusterType
func (*ClusterType) GetDeletionPolicy ¶
func (mg *ClusterType) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ClusterType.
func (*ClusterType) GetID ¶
func (tr *ClusterType) GetID() string
GetID returns ID of underlying Terraform resource of this ClusterType
func (*ClusterType) GetManagementPolicy ¶
func (mg *ClusterType) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this ClusterType.
func (*ClusterType) GetObservation ¶
func (tr *ClusterType) GetObservation() (map[string]any, error)
GetObservation of this ClusterType
func (*ClusterType) GetParameters ¶
func (tr *ClusterType) GetParameters() (map[string]any, error)
GetParameters of this ClusterType
func (*ClusterType) GetProviderConfigReference ¶
func (mg *ClusterType) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ClusterType.
func (*ClusterType) GetProviderReference ¶
func (mg *ClusterType) GetProviderReference() *xpv1.Reference
GetProviderReference of this ClusterType. Deprecated: Use GetProviderConfigReference.
func (*ClusterType) GetPublishConnectionDetailsTo ¶
func (mg *ClusterType) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ClusterType.
func (*ClusterType) GetTerraformResourceType ¶
func (mg *ClusterType) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ClusterType
func (*ClusterType) GetTerraformSchemaVersion ¶
func (tr *ClusterType) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ClusterType) GetWriteConnectionSecretToReference ¶
func (mg *ClusterType) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ClusterType.
func (*ClusterType) LateInitialize ¶
func (tr *ClusterType) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ClusterType using its observed tfState. returns True if there are any spec changes for the resource.
func (*ClusterType) SetConditions ¶
func (mg *ClusterType) SetConditions(c ...xpv1.Condition)
SetConditions of this ClusterType.
func (*ClusterType) SetDeletionPolicy ¶
func (mg *ClusterType) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ClusterType.
func (*ClusterType) SetManagementPolicy ¶
func (mg *ClusterType) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this ClusterType.
func (*ClusterType) SetObservation ¶
func (tr *ClusterType) SetObservation(obs map[string]any) error
SetObservation for this ClusterType
func (*ClusterType) SetParameters ¶
func (tr *ClusterType) SetParameters(params map[string]any) error
SetParameters for this ClusterType
func (*ClusterType) SetProviderConfigReference ¶
func (mg *ClusterType) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ClusterType.
func (*ClusterType) SetProviderReference ¶
func (mg *ClusterType) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ClusterType. Deprecated: Use SetProviderConfigReference.
func (*ClusterType) SetPublishConnectionDetailsTo ¶
func (mg *ClusterType) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ClusterType.
func (*ClusterType) SetWriteConnectionSecretToReference ¶
func (mg *ClusterType) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ClusterType.
type ClusterTypeList ¶
type ClusterTypeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterType `json:"items"` }
ClusterTypeList contains a list of ClusterTypes
func (*ClusterTypeList) DeepCopy ¶
func (in *ClusterTypeList) DeepCopy() *ClusterTypeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTypeList.
func (*ClusterTypeList) DeepCopyInto ¶
func (in *ClusterTypeList) DeepCopyInto(out *ClusterTypeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterTypeList) DeepCopyObject ¶
func (in *ClusterTypeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterTypeList) GetItems ¶
func (l *ClusterTypeList) GetItems() []resource.Managed
GetItems of this ClusterTypeList.
type ClusterTypeObservation ¶
type ClusterTypeObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` }
func (*ClusterTypeObservation) DeepCopy ¶
func (in *ClusterTypeObservation) DeepCopy() *ClusterTypeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTypeObservation.
func (*ClusterTypeObservation) DeepCopyInto ¶
func (in *ClusterTypeObservation) DeepCopyInto(out *ClusterTypeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterTypeParameters ¶
type ClusterTypeParameters struct { // +kubebuilder:validation:Optional Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` }
func (*ClusterTypeParameters) DeepCopy ¶
func (in *ClusterTypeParameters) DeepCopy() *ClusterTypeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTypeParameters.
func (*ClusterTypeParameters) DeepCopyInto ¶
func (in *ClusterTypeParameters) DeepCopyInto(out *ClusterTypeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterTypeSpec ¶
type ClusterTypeSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ClusterTypeParameters `json:"forProvider"` }
ClusterTypeSpec defines the desired state of ClusterType
func (*ClusterTypeSpec) DeepCopy ¶
func (in *ClusterTypeSpec) DeepCopy() *ClusterTypeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTypeSpec.
func (*ClusterTypeSpec) DeepCopyInto ¶
func (in *ClusterTypeSpec) DeepCopyInto(out *ClusterTypeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterTypeStatus ¶
type ClusterTypeStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ClusterTypeObservation `json:"atProvider,omitempty"` }
ClusterTypeStatus defines the observed state of ClusterType.
func (*ClusterTypeStatus) DeepCopy ¶
func (in *ClusterTypeStatus) DeepCopy() *ClusterTypeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTypeStatus.
func (*ClusterTypeStatus) DeepCopyInto ¶
func (in *ClusterTypeStatus) DeepCopyInto(out *ClusterTypeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Group ¶
type Group struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GroupSpec `json:"spec"` Status GroupStatus `json:"status,omitempty"` }
Group is the Schema for the Groups 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 (*Group) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.
func (*Group) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Group) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Group) GetCondition ¶
func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Group.
func (*Group) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Group
func (*Group) GetDeletionPolicy ¶
func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Group.
func (*Group) GetManagementPolicy ¶
func (mg *Group) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Group.
func (*Group) GetObservation ¶
GetObservation of this Group
func (*Group) GetParameters ¶
GetParameters of this Group
func (*Group) GetProviderConfigReference ¶
GetProviderConfigReference of this Group.
func (*Group) GetProviderReference ¶
GetProviderReference of this Group. Deprecated: Use GetProviderConfigReference.
func (*Group) GetPublishConnectionDetailsTo ¶
func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Group.
func (*Group) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Group
func (*Group) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Group) GetWriteConnectionSecretToReference ¶
func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Group.
func (*Group) LateInitialize ¶
LateInitialize this Group using its observed tfState. returns True if there are any spec changes for the resource.
func (*Group) SetConditions ¶
SetConditions of this Group.
func (*Group) SetDeletionPolicy ¶
func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Group.
func (*Group) SetManagementPolicy ¶
func (mg *Group) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Group.
func (*Group) SetObservation ¶
SetObservation for this Group
func (*Group) SetParameters ¶
SetParameters for this Group
func (*Group) SetProviderConfigReference ¶
SetProviderConfigReference of this Group.
func (*Group) SetProviderReference ¶
SetProviderReference of this Group. Deprecated: Use SetProviderConfigReference.
func (*Group) SetPublishConnectionDetailsTo ¶
func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Group.
func (*Group) SetWriteConnectionSecretToReference ¶
func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Group.
type GroupList ¶
type GroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Group `json:"items"` }
GroupList contains a list of Groups
func (*GroupList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.
func (*GroupList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupObservation ¶
type GroupObservation struct { Description *string `json:"description,omitempty" tf:"description,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` }
func (*GroupObservation) DeepCopy ¶
func (in *GroupObservation) DeepCopy() *GroupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupObservation.
func (*GroupObservation) DeepCopyInto ¶
func (in *GroupObservation) DeepCopyInto(out *GroupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupParameters ¶
type GroupParameters struct { // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // +kubebuilder:validation:Optional Slug *string `json:"slug,omitempty" tf:"slug,omitempty"` }
func (*GroupParameters) DeepCopy ¶
func (in *GroupParameters) DeepCopy() *GroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupParameters.
func (*GroupParameters) DeepCopyInto ¶
func (in *GroupParameters) DeepCopyInto(out *GroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupSpec ¶
type GroupSpec struct { v1.ResourceSpec `json:",inline"` ForProvider GroupParameters `json:"forProvider"` }
GroupSpec defines the desired state of Group
func (*GroupSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpec.
func (*GroupSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupStatus ¶
type GroupStatus struct { v1.ResourceStatus `json:",inline"` AtProvider GroupObservation `json:"atProvider,omitempty"` }
GroupStatus defines the observed state of Group.
func (*GroupStatus) DeepCopy ¶
func (in *GroupStatus) DeepCopy() *GroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupStatus.
func (*GroupStatus) DeepCopyInto ¶
func (in *GroupStatus) DeepCopyInto(out *GroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Machine ¶
type Machine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineSpec `json:"spec"` Status MachineStatus `json:"status,omitempty"` }
Machine is the Schema for the Machines 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 (*Machine) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.
func (*Machine) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Machine) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Machine) GetCondition ¶
func (mg *Machine) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Machine.
func (*Machine) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Machine
func (*Machine) GetDeletionPolicy ¶
func (mg *Machine) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Machine.
func (*Machine) GetManagementPolicy ¶
func (mg *Machine) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Machine.
func (*Machine) GetObservation ¶
GetObservation of this Machine
func (*Machine) GetParameters ¶
GetParameters of this Machine
func (*Machine) GetProviderConfigReference ¶
GetProviderConfigReference of this Machine.
func (*Machine) GetProviderReference ¶
GetProviderReference of this Machine. Deprecated: Use GetProviderConfigReference.
func (*Machine) GetPublishConnectionDetailsTo ¶
func (mg *Machine) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Machine.
func (*Machine) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Machine
func (*Machine) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Machine) GetWriteConnectionSecretToReference ¶
func (mg *Machine) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Machine.
func (*Machine) LateInitialize ¶
LateInitialize this Machine using its observed tfState. returns True if there are any spec changes for the resource.
func (*Machine) ResolveReferences ¶
ResolveReferences of this Machine.
func (*Machine) SetConditions ¶
SetConditions of this Machine.
func (*Machine) SetDeletionPolicy ¶
func (mg *Machine) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Machine.
func (*Machine) SetManagementPolicy ¶
func (mg *Machine) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Machine.
func (*Machine) SetObservation ¶
SetObservation for this Machine
func (*Machine) SetParameters ¶
SetParameters for this Machine
func (*Machine) SetProviderConfigReference ¶
SetProviderConfigReference of this Machine.
func (*Machine) SetProviderReference ¶
SetProviderReference of this Machine. Deprecated: Use SetProviderConfigReference.
func (*Machine) SetPublishConnectionDetailsTo ¶
func (mg *Machine) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Machine.
func (*Machine) SetWriteConnectionSecretToReference ¶
func (mg *Machine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Machine.
type MachineList ¶
type MachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Machine `json:"items"` }
MachineList contains a list of Machines
func (*MachineList) DeepCopy ¶
func (in *MachineList) DeepCopy() *MachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList.
func (*MachineList) DeepCopyInto ¶
func (in *MachineList) DeepCopyInto(out *MachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineList) DeepCopyObject ¶
func (in *MachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MachineList) GetItems ¶
func (l *MachineList) GetItems() []resource.Managed
GetItems of this MachineList.
type MachineObservation ¶
type MachineObservation struct { // At least one of `site_id` or `cluster_id` must be given. ClusterID *float64 `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` Comments *string `json:"comments,omitempty" tf:"comments,omitempty"` CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"` DeviceID *float64 `json:"deviceId,omitempty" tf:"device_id,omitempty"` DiskSizeGb *float64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` MemoryMb *float64 `json:"memoryMb,omitempty" tf:"memory_mb,omitempty"` PlatformID *float64 `json:"platformId,omitempty" tf:"platform_id,omitempty"` PrimaryIPv4 *float64 `json:"primaryIpv4,omitempty" tf:"primary_ipv4,omitempty"` PrimaryIPv6 *float64 `json:"primaryIpv6,omitempty" tf:"primary_ipv6,omitempty"` RoleID *float64 `json:"roleId,omitempty" tf:"role_id,omitempty"` // At least one of `site_id` or `cluster_id` must be given. SiteID *float64 `json:"siteId,omitempty" tf:"site_id,omitempty"` // Valid values are `offline`, `active`, `planned`, `staged`, `failed` and `decommissioning`. Defaults to `active`. Status *string `json:"status,omitempty" tf:"status,omitempty"` Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` Vcpus *float64 `json:"vcpus,omitempty" tf:"vcpus,omitempty"` }
func (*MachineObservation) DeepCopy ¶
func (in *MachineObservation) DeepCopy() *MachineObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineObservation.
func (*MachineObservation) DeepCopyInto ¶
func (in *MachineObservation) DeepCopyInto(out *MachineObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineParameters ¶
type MachineParameters struct { // At least one of `site_id` or `cluster_id` must be given. // +crossplane:generate:reference:type=Cluster // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional ClusterID *float64 `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` // Reference to a Cluster to populate clusterId. // +kubebuilder:validation:Optional ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"` // Selector for a Cluster to populate clusterId. // +kubebuilder:validation:Optional ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional Comments *string `json:"comments,omitempty" tf:"comments,omitempty"` // +kubebuilder:validation:Optional CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"` // +crossplane:generate:reference:type=github.com/fire-ant/provider-netbox/apis/dcim/v1alpha1.Device // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional DeviceID *float64 `json:"deviceId,omitempty" tf:"device_id,omitempty"` // Reference to a Device in dcim to populate deviceId. // +kubebuilder:validation:Optional DeviceIDRef *v1.Reference `json:"deviceIdRef,omitempty" tf:"-"` // Selector for a Device in dcim to populate deviceId. // +kubebuilder:validation:Optional DeviceIDSelector *v1.Selector `json:"deviceIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional DiskSizeGb *float64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` // +kubebuilder:validation:Optional MemoryMb *float64 `json:"memoryMb,omitempty" tf:"memory_mb,omitempty"` // +crossplane:generate:reference:type=github.com/fire-ant/provider-netbox/apis/dcim/v1alpha1.Platform // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional PlatformID *float64 `json:"platformId,omitempty" tf:"platform_id,omitempty"` // Reference to a Platform in dcim to populate platformId. // +kubebuilder:validation:Optional PlatformIDRef *v1.Reference `json:"platformIdRef,omitempty" tf:"-"` // Selector for a Platform in dcim to populate platformId. // +kubebuilder:validation:Optional PlatformIDSelector *v1.Selector `json:"platformIdSelector,omitempty" tf:"-"` // +crossplane:generate:reference:type=github.com/fire-ant/provider-netbox/apis/dcim/v1alpha1.Role // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional RoleID *float64 `json:"roleId,omitempty" tf:"role_id,omitempty"` // Reference to a Role in dcim to populate roleId. // +kubebuilder:validation:Optional RoleIDRef *v1.Reference `json:"roleIdRef,omitempty" tf:"-"` // Selector for a Role in dcim to populate roleId. // +kubebuilder:validation:Optional RoleIDSelector *v1.Selector `json:"roleIdSelector,omitempty" tf:"-"` // At least one of `site_id` or `cluster_id` must be given. // +crossplane:generate:reference:type=github.com/fire-ant/provider-netbox/apis/dcim/v1alpha1.Site // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional SiteID *float64 `json:"siteId,omitempty" tf:"site_id,omitempty"` // Reference to a Site in dcim to populate siteId. // +kubebuilder:validation:Optional SiteIDRef *v1.Reference `json:"siteIdRef,omitempty" tf:"-"` // Selector for a Site in dcim to populate siteId. // +kubebuilder:validation:Optional SiteIDSelector *v1.Selector `json:"siteIdSelector,omitempty" tf:"-"` // Valid values are `offline`, `active`, `planned`, `staged`, `failed` and `decommissioning`. Defaults to `active`. // +kubebuilder:validation:Optional Status *string `json:"status,omitempty" tf:"status,omitempty"` // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // +crossplane:generate:reference:type=github.com/fire-ant/provider-netbox/apis/tenant/v1alpha1.Tenant // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` // Reference to a Tenant in tenant to populate tenantId. // +kubebuilder:validation:Optional TenantIDRef *v1.Reference `json:"tenantIdRef,omitempty" tf:"-"` // Selector for a Tenant in tenant to populate tenantId. // +kubebuilder:validation:Optional TenantIDSelector *v1.Selector `json:"tenantIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional Vcpus *float64 `json:"vcpus,omitempty" tf:"vcpus,omitempty"` }
func (*MachineParameters) DeepCopy ¶
func (in *MachineParameters) DeepCopy() *MachineParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineParameters.
func (*MachineParameters) DeepCopyInto ¶
func (in *MachineParameters) DeepCopyInto(out *MachineParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpec ¶
type MachineSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MachineParameters `json:"forProvider"` }
MachineSpec defines the desired state of Machine
func (*MachineSpec) DeepCopy ¶
func (in *MachineSpec) DeepCopy() *MachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.
func (*MachineSpec) DeepCopyInto ¶
func (in *MachineSpec) DeepCopyInto(out *MachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineStatus ¶
type MachineStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MachineObservation `json:"atProvider,omitempty"` }
MachineStatus defines the observed state of Machine.
func (*MachineStatus) DeepCopy ¶
func (in *MachineStatus) DeepCopy() *MachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus.
func (*MachineStatus) DeepCopyInto ¶
func (in *MachineStatus) DeepCopyInto(out *MachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtInterface ¶
type VirtInterface struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtInterfaceSpec `json:"spec"` Status VirtInterfaceStatus `json:"status,omitempty"` }
VirtInterface is the Schema for the VirtInterfaces 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 (*VirtInterface) DeepCopy ¶
func (in *VirtInterface) DeepCopy() *VirtInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtInterface.
func (*VirtInterface) DeepCopyInto ¶
func (in *VirtInterface) DeepCopyInto(out *VirtInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtInterface) DeepCopyObject ¶
func (in *VirtInterface) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VirtInterface) GetCondition ¶
func (mg *VirtInterface) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this VirtInterface.
func (*VirtInterface) GetConnectionDetailsMapping ¶
func (tr *VirtInterface) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this VirtInterface
func (*VirtInterface) GetDeletionPolicy ¶
func (mg *VirtInterface) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this VirtInterface.
func (*VirtInterface) GetID ¶
func (tr *VirtInterface) GetID() string
GetID returns ID of underlying Terraform resource of this VirtInterface
func (*VirtInterface) GetManagementPolicy ¶
func (mg *VirtInterface) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this VirtInterface.
func (*VirtInterface) GetObservation ¶
func (tr *VirtInterface) GetObservation() (map[string]any, error)
GetObservation of this VirtInterface
func (*VirtInterface) GetParameters ¶
func (tr *VirtInterface) GetParameters() (map[string]any, error)
GetParameters of this VirtInterface
func (*VirtInterface) GetProviderConfigReference ¶
func (mg *VirtInterface) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this VirtInterface.
func (*VirtInterface) GetProviderReference ¶
func (mg *VirtInterface) GetProviderReference() *xpv1.Reference
GetProviderReference of this VirtInterface. Deprecated: Use GetProviderConfigReference.
func (*VirtInterface) GetPublishConnectionDetailsTo ¶
func (mg *VirtInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this VirtInterface.
func (*VirtInterface) GetTerraformResourceType ¶
func (mg *VirtInterface) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this VirtInterface
func (*VirtInterface) GetTerraformSchemaVersion ¶
func (tr *VirtInterface) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*VirtInterface) GetWriteConnectionSecretToReference ¶
func (mg *VirtInterface) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this VirtInterface.
func (*VirtInterface) LateInitialize ¶
func (tr *VirtInterface) LateInitialize(attrs []byte) (bool, error)
LateInitialize this VirtInterface using its observed tfState. returns True if there are any spec changes for the resource.
func (*VirtInterface) ResolveReferences ¶
ResolveReferences of this VirtInterface.
func (*VirtInterface) SetConditions ¶
func (mg *VirtInterface) SetConditions(c ...xpv1.Condition)
SetConditions of this VirtInterface.
func (*VirtInterface) SetDeletionPolicy ¶
func (mg *VirtInterface) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this VirtInterface.
func (*VirtInterface) SetManagementPolicy ¶
func (mg *VirtInterface) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this VirtInterface.
func (*VirtInterface) SetObservation ¶
func (tr *VirtInterface) SetObservation(obs map[string]any) error
SetObservation for this VirtInterface
func (*VirtInterface) SetParameters ¶
func (tr *VirtInterface) SetParameters(params map[string]any) error
SetParameters for this VirtInterface
func (*VirtInterface) SetProviderConfigReference ¶
func (mg *VirtInterface) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this VirtInterface.
func (*VirtInterface) SetProviderReference ¶
func (mg *VirtInterface) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this VirtInterface. Deprecated: Use SetProviderConfigReference.
func (*VirtInterface) SetPublishConnectionDetailsTo ¶
func (mg *VirtInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this VirtInterface.
func (*VirtInterface) SetWriteConnectionSecretToReference ¶
func (mg *VirtInterface) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this VirtInterface.
type VirtInterfaceList ¶
type VirtInterfaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtInterface `json:"items"` }
VirtInterfaceList contains a list of VirtInterfaces
func (*VirtInterfaceList) DeepCopy ¶
func (in *VirtInterfaceList) DeepCopy() *VirtInterfaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtInterfaceList.
func (*VirtInterfaceList) DeepCopyInto ¶
func (in *VirtInterfaceList) DeepCopyInto(out *VirtInterfaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtInterfaceList) DeepCopyObject ¶
func (in *VirtInterfaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VirtInterfaceList) GetItems ¶
func (l *VirtInterfaceList) GetItems() []resource.Managed
GetItems of this VirtInterfaceList.
type VirtInterfaceObservation ¶
type VirtInterfaceObservation struct { Description *string `json:"description,omitempty" tf:"description,omitempty"` // Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"` TaggedVlans []*float64 `json:"taggedVlans,omitempty" tf:"tagged_vlans,omitempty"` Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` UntaggedVlan *float64 `json:"untaggedVlan,omitempty" tf:"untagged_vlan,omitempty"` VirtualMachineID *float64 `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` }
func (*VirtInterfaceObservation) DeepCopy ¶
func (in *VirtInterfaceObservation) DeepCopy() *VirtInterfaceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtInterfaceObservation.
func (*VirtInterfaceObservation) DeepCopyInto ¶
func (in *VirtInterfaceObservation) DeepCopyInto(out *VirtInterfaceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtInterfaceParameters ¶
type VirtInterfaceParameters struct { // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Defaults to `true`. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // +kubebuilder:validation:Optional MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` // +kubebuilder:validation:Optional Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` // +kubebuilder:validation:Optional Mtu *float64 `json:"mtu,omitempty" tf:"mtu,omitempty"` // +kubebuilder:validation:Optional TaggedVlans []*float64 `json:"taggedVlans,omitempty" tf:"tagged_vlans,omitempty"` // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` // +kubebuilder:validation:Optional UntaggedVlan *float64 `json:"untaggedVlan,omitempty" tf:"untagged_vlan,omitempty"` // +crossplane:generate:reference:type=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 to populate virtualMachineId. // +kubebuilder:validation:Optional VirtualMachineIDRef *v1.Reference `json:"virtualMachineIdRef,omitempty" tf:"-"` // Selector for a Machine to populate virtualMachineId. // +kubebuilder:validation:Optional VirtualMachineIDSelector *v1.Selector `json:"virtualMachineIdSelector,omitempty" tf:"-"` }
func (*VirtInterfaceParameters) DeepCopy ¶
func (in *VirtInterfaceParameters) DeepCopy() *VirtInterfaceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtInterfaceParameters.
func (*VirtInterfaceParameters) DeepCopyInto ¶
func (in *VirtInterfaceParameters) DeepCopyInto(out *VirtInterfaceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtInterfaceSpec ¶
type VirtInterfaceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider VirtInterfaceParameters `json:"forProvider"` }
VirtInterfaceSpec defines the desired state of VirtInterface
func (*VirtInterfaceSpec) DeepCopy ¶
func (in *VirtInterfaceSpec) DeepCopy() *VirtInterfaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtInterfaceSpec.
func (*VirtInterfaceSpec) DeepCopyInto ¶
func (in *VirtInterfaceSpec) DeepCopyInto(out *VirtInterfaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtInterfaceStatus ¶
type VirtInterfaceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider VirtInterfaceObservation `json:"atProvider,omitempty"` }
VirtInterfaceStatus defines the observed state of VirtInterface.
func (*VirtInterfaceStatus) DeepCopy ¶
func (in *VirtInterfaceStatus) DeepCopy() *VirtInterfaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtInterfaceStatus.
func (*VirtInterfaceStatus) DeepCopyInto ¶
func (in *VirtInterfaceStatus) DeepCopyInto(out *VirtInterfaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.