v1alpha1

package
v0.0.0-...-fa92230 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=primaryip.netbox.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "primaryip.netbox.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
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

func (in *PrimaryIp) DeepCopy() *PrimaryIp

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryIp.

func (*PrimaryIp) DeepCopyInto

func (in *PrimaryIp) DeepCopyInto(out *PrimaryIp)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PrimaryIp) DeepCopyObject

func (in *PrimaryIp) DeepCopyObject() runtime.Object

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

func (tr *PrimaryIp) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this PrimaryIp

func (*PrimaryIp) GetDeletionPolicy

func (mg *PrimaryIp) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this PrimaryIp.

func (*PrimaryIp) GetID

func (tr *PrimaryIp) GetID() string

GetID returns ID of underlying Terraform resource of this PrimaryIp

func (*PrimaryIp) GetManagementPolicy

func (mg *PrimaryIp) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this PrimaryIp.

func (*PrimaryIp) GetObservation

func (tr *PrimaryIp) GetObservation() (map[string]any, error)

GetObservation of this PrimaryIp

func (*PrimaryIp) GetParameters

func (tr *PrimaryIp) GetParameters() (map[string]any, error)

GetParameters of this PrimaryIp

func (*PrimaryIp) GetProviderConfigReference

func (mg *PrimaryIp) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this PrimaryIp.

func (*PrimaryIp) GetProviderReference

func (mg *PrimaryIp) GetProviderReference() *xpv1.Reference

GetProviderReference of this PrimaryIp. Deprecated: Use GetProviderConfigReference.

func (*PrimaryIp) GetPublishConnectionDetailsTo

func (mg *PrimaryIp) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this PrimaryIp.

func (*PrimaryIp) GetTerraformResourceType

func (mg *PrimaryIp) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PrimaryIp

func (*PrimaryIp) GetTerraformSchemaVersion

func (tr *PrimaryIp) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PrimaryIp) GetWriteConnectionSecretToReference

func (mg *PrimaryIp) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this PrimaryIp.

func (*PrimaryIp) LateInitialize

func (tr *PrimaryIp) LateInitialize(attrs []byte) (bool, error)

LateInitialize this PrimaryIp using its observed tfState. returns True if there are any spec changes for the resource.

func (*PrimaryIp) ResolveReferences

func (mg *PrimaryIp) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this PrimaryIp.

func (*PrimaryIp) SetConditions

func (mg *PrimaryIp) SetConditions(c ...xpv1.Condition)

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

func (tr *PrimaryIp) SetObservation(obs map[string]any) error

SetObservation for this PrimaryIp

func (*PrimaryIp) SetParameters

func (tr *PrimaryIp) SetParameters(params map[string]any) error

SetParameters for this PrimaryIp

func (*PrimaryIp) SetProviderConfigReference

func (mg *PrimaryIp) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this PrimaryIp.

func (*PrimaryIp) SetProviderReference

func (mg *PrimaryIp) SetProviderReference(r *xpv1.Reference)

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL