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=circuits.netbox.upbound.io +versionName=v1alpha1

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Circuit_Kind             = "Circuit"
	Circuit_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Circuit_Kind}.String()
	Circuit_KindAPIVersion   = Circuit_Kind + "." + CRDGroupVersion.String()
	Circuit_GroupVersionKind = CRDGroupVersion.WithKind(Circuit_Kind)
)

Repository type metadata.

View Source
var (
	CircuitProvider_Kind             = "CircuitProvider"
	CircuitProvider_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CircuitProvider_Kind}.String()
	CircuitProvider_KindAPIVersion   = CircuitProvider_Kind + "." + CRDGroupVersion.String()
	CircuitProvider_GroupVersionKind = CRDGroupVersion.WithKind(CircuitProvider_Kind)
)

Repository type metadata.

View Source
var (
	CircuitType_Kind             = "CircuitType"
	CircuitType_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CircuitType_Kind}.String()
	CircuitType_KindAPIVersion   = CircuitType_Kind + "." + CRDGroupVersion.String()
	CircuitType_GroupVersionKind = CRDGroupVersion.WithKind(CircuitType_Kind)
)

Repository type metadata.

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 (
	Termination_Kind             = "Termination"
	Termination_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Termination_Kind}.String()
	Termination_KindAPIVersion   = Termination_Kind + "." + CRDGroupVersion.String()
	Termination_GroupVersionKind = CRDGroupVersion.WithKind(Termination_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Circuit

type Circuit struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.cid)",message="cid is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.status)",message="status is a required parameter"
	Spec   CircuitSpec   `json:"spec"`
	Status CircuitStatus `json:"status,omitempty"`
}

Circuit is the Schema for the Circuits 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 (*Circuit) DeepCopy

func (in *Circuit) DeepCopy() *Circuit

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

func (*Circuit) DeepCopyInto

func (in *Circuit) DeepCopyInto(out *Circuit)

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

func (*Circuit) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Circuit) GetCondition

func (mg *Circuit) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Circuit.

func (*Circuit) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Circuit

func (*Circuit) GetDeletionPolicy

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

GetDeletionPolicy of this Circuit.

func (*Circuit) GetID

func (tr *Circuit) GetID() string

GetID returns ID of underlying Terraform resource of this Circuit

func (*Circuit) GetManagementPolicy

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

GetManagementPolicy of this Circuit.

func (*Circuit) GetObservation

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

GetObservation of this Circuit

func (*Circuit) GetParameters

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

GetParameters of this Circuit

func (*Circuit) GetProviderConfigReference

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

GetProviderConfigReference of this Circuit.

func (*Circuit) GetProviderReference

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

GetProviderReference of this Circuit. Deprecated: Use GetProviderConfigReference.

func (*Circuit) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Circuit.

func (*Circuit) GetTerraformResourceType

func (mg *Circuit) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Circuit

func (*Circuit) GetTerraformSchemaVersion

func (tr *Circuit) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Circuit) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Circuit.

func (*Circuit) LateInitialize

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

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

func (*Circuit) ResolveReferences

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

ResolveReferences of this Circuit.

func (*Circuit) SetConditions

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

SetConditions of this Circuit.

func (*Circuit) SetDeletionPolicy

func (mg *Circuit) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Circuit.

func (*Circuit) SetManagementPolicy

func (mg *Circuit) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Circuit.

func (*Circuit) SetObservation

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

SetObservation for this Circuit

func (*Circuit) SetParameters

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

SetParameters for this Circuit

func (*Circuit) SetProviderConfigReference

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

SetProviderConfigReference of this Circuit.

func (*Circuit) SetProviderReference

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

SetProviderReference of this Circuit. Deprecated: Use SetProviderConfigReference.

func (*Circuit) SetPublishConnectionDetailsTo

func (mg *Circuit) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Circuit.

func (*Circuit) SetWriteConnectionSecretToReference

func (mg *Circuit) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Circuit.

type CircuitList

type CircuitList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Circuit `json:"items"`
}

CircuitList contains a list of Circuits

func (*CircuitList) DeepCopy

func (in *CircuitList) DeepCopy() *CircuitList

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

func (*CircuitList) DeepCopyInto

func (in *CircuitList) DeepCopyInto(out *CircuitList)

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

func (*CircuitList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CircuitList) GetItems

func (l *CircuitList) GetItems() []resource.Managed

GetItems of this CircuitList.

type CircuitObservation

type CircuitObservation struct {
	Cid *string `json:"cid,omitempty" tf:"cid,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	ProviderID *float64 `json:"providerId,omitempty" tf:"provider_id,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	TenantID *float64 `json:"tenantId,omitempty" tf:"tenant_id,omitempty"`

	TypeID *float64 `json:"typeId,omitempty" tf:"type_id,omitempty"`
}

func (*CircuitObservation) DeepCopy

func (in *CircuitObservation) DeepCopy() *CircuitObservation

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

func (*CircuitObservation) DeepCopyInto

func (in *CircuitObservation) DeepCopyInto(out *CircuitObservation)

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

type CircuitParameters

type CircuitParameters struct {

	// +kubebuilder:validation:Optional
	Cid *string `json:"cid,omitempty" tf:"cid,omitempty"`

	// +crossplane:generate:reference:type=CircuitProvider
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	ProviderID *float64 `json:"providerId,omitempty" tf:"provider_id,omitempty"`

	// Reference to a CircuitProvider to populate providerId.
	// +kubebuilder:validation:Optional
	ProviderIDRef *v1.Reference `json:"providerIdRef,omitempty" tf:"-"`

	// Selector for a CircuitProvider to populate providerId.
	// +kubebuilder:validation:Optional
	ProviderIDSelector *v1.Selector `json:"providerIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,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:"-"`

	// +crossplane:generate:reference:type=CircuitType
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	TypeID *float64 `json:"typeId,omitempty" tf:"type_id,omitempty"`

	// Reference to a CircuitType to populate typeId.
	// +kubebuilder:validation:Optional
	TypeIDRef *v1.Reference `json:"typeIdRef,omitempty" tf:"-"`

	// Selector for a CircuitType to populate typeId.
	// +kubebuilder:validation:Optional
	TypeIDSelector *v1.Selector `json:"typeIdSelector,omitempty" tf:"-"`
}

func (*CircuitParameters) DeepCopy

func (in *CircuitParameters) DeepCopy() *CircuitParameters

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

func (*CircuitParameters) DeepCopyInto

func (in *CircuitParameters) DeepCopyInto(out *CircuitParameters)

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

type CircuitProvider

type CircuitProvider struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CircuitProviderSpec   `json:"spec"`
	Status            CircuitProviderStatus `json:"status,omitempty"`
}

CircuitProvider is the Schema for the CircuitProviders 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 (*CircuitProvider) DeepCopy

func (in *CircuitProvider) DeepCopy() *CircuitProvider

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

func (*CircuitProvider) DeepCopyInto

func (in *CircuitProvider) DeepCopyInto(out *CircuitProvider)

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

func (*CircuitProvider) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CircuitProvider) GetCondition

func (mg *CircuitProvider) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CircuitProvider.

func (*CircuitProvider) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CircuitProvider

func (*CircuitProvider) GetDeletionPolicy

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

GetDeletionPolicy of this CircuitProvider.

func (*CircuitProvider) GetID

func (tr *CircuitProvider) GetID() string

GetID returns ID of underlying Terraform resource of this CircuitProvider

func (*CircuitProvider) GetManagementPolicy

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

GetManagementPolicy of this CircuitProvider.

func (*CircuitProvider) GetObservation

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

GetObservation of this CircuitProvider

func (*CircuitProvider) GetParameters

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

GetParameters of this CircuitProvider

func (*CircuitProvider) GetProviderConfigReference

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

GetProviderConfigReference of this CircuitProvider.

func (*CircuitProvider) GetProviderReference

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

GetProviderReference of this CircuitProvider. Deprecated: Use GetProviderConfigReference.

func (*CircuitProvider) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CircuitProvider.

func (*CircuitProvider) GetTerraformResourceType

func (mg *CircuitProvider) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CircuitProvider

func (*CircuitProvider) GetTerraformSchemaVersion

func (tr *CircuitProvider) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CircuitProvider) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CircuitProvider.

func (*CircuitProvider) LateInitialize

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

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

func (*CircuitProvider) SetConditions

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

SetConditions of this CircuitProvider.

func (*CircuitProvider) SetDeletionPolicy

func (mg *CircuitProvider) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CircuitProvider.

func (*CircuitProvider) SetManagementPolicy

func (mg *CircuitProvider) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this CircuitProvider.

func (*CircuitProvider) SetObservation

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

SetObservation for this CircuitProvider

func (*CircuitProvider) SetParameters

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

SetParameters for this CircuitProvider

func (*CircuitProvider) SetProviderConfigReference

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

SetProviderConfigReference of this CircuitProvider.

func (*CircuitProvider) SetProviderReference

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

SetProviderReference of this CircuitProvider. Deprecated: Use SetProviderConfigReference.

func (*CircuitProvider) SetPublishConnectionDetailsTo

func (mg *CircuitProvider) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CircuitProvider.

func (*CircuitProvider) SetWriteConnectionSecretToReference

func (mg *CircuitProvider) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CircuitProvider.

type CircuitProviderList

type CircuitProviderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CircuitProvider `json:"items"`
}

CircuitProviderList contains a list of CircuitProviders

func (*CircuitProviderList) DeepCopy

func (in *CircuitProviderList) DeepCopy() *CircuitProviderList

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

func (*CircuitProviderList) DeepCopyInto

func (in *CircuitProviderList) DeepCopyInto(out *CircuitProviderList)

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

func (*CircuitProviderList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CircuitProviderList) GetItems

func (l *CircuitProviderList) GetItems() []resource.Managed

GetItems of this CircuitProviderList.

type CircuitProviderObservation

type CircuitProviderObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`
}

func (*CircuitProviderObservation) DeepCopy

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

func (*CircuitProviderObservation) DeepCopyInto

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

type CircuitProviderParameters

type CircuitProviderParameters struct {

	// +kubebuilder:validation:Optional
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`
}

func (*CircuitProviderParameters) DeepCopy

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

func (*CircuitProviderParameters) DeepCopyInto

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

type CircuitProviderSpec

type CircuitProviderSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CircuitProviderParameters `json:"forProvider"`
}

CircuitProviderSpec defines the desired state of CircuitProvider

func (*CircuitProviderSpec) DeepCopy

func (in *CircuitProviderSpec) DeepCopy() *CircuitProviderSpec

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

func (*CircuitProviderSpec) DeepCopyInto

func (in *CircuitProviderSpec) DeepCopyInto(out *CircuitProviderSpec)

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

type CircuitProviderStatus

type CircuitProviderStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CircuitProviderObservation `json:"atProvider,omitempty"`
}

CircuitProviderStatus defines the observed state of CircuitProvider.

func (*CircuitProviderStatus) DeepCopy

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

func (*CircuitProviderStatus) DeepCopyInto

func (in *CircuitProviderStatus) DeepCopyInto(out *CircuitProviderStatus)

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

type CircuitSpec

type CircuitSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CircuitParameters `json:"forProvider"`
}

CircuitSpec defines the desired state of Circuit

func (*CircuitSpec) DeepCopy

func (in *CircuitSpec) DeepCopy() *CircuitSpec

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

func (*CircuitSpec) DeepCopyInto

func (in *CircuitSpec) DeepCopyInto(out *CircuitSpec)

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

type CircuitStatus

type CircuitStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CircuitObservation `json:"atProvider,omitempty"`
}

CircuitStatus defines the observed state of Circuit.

func (*CircuitStatus) DeepCopy

func (in *CircuitStatus) DeepCopy() *CircuitStatus

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

func (*CircuitStatus) DeepCopyInto

func (in *CircuitStatus) DeepCopyInto(out *CircuitStatus)

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

type CircuitType

type CircuitType struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CircuitTypeSpec   `json:"spec"`
	Status            CircuitTypeStatus `json:"status,omitempty"`
}

CircuitType is the Schema for the CircuitTypes 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 (*CircuitType) DeepCopy

func (in *CircuitType) DeepCopy() *CircuitType

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

func (*CircuitType) DeepCopyInto

func (in *CircuitType) DeepCopyInto(out *CircuitType)

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

func (*CircuitType) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CircuitType) GetCondition

func (mg *CircuitType) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CircuitType.

func (*CircuitType) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CircuitType

func (*CircuitType) GetDeletionPolicy

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

GetDeletionPolicy of this CircuitType.

func (*CircuitType) GetID

func (tr *CircuitType) GetID() string

GetID returns ID of underlying Terraform resource of this CircuitType

func (*CircuitType) GetManagementPolicy

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

GetManagementPolicy of this CircuitType.

func (*CircuitType) GetObservation

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

GetObservation of this CircuitType

func (*CircuitType) GetParameters

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

GetParameters of this CircuitType

func (*CircuitType) GetProviderConfigReference

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

GetProviderConfigReference of this CircuitType.

func (*CircuitType) GetProviderReference

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

GetProviderReference of this CircuitType. Deprecated: Use GetProviderConfigReference.

func (*CircuitType) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CircuitType.

func (*CircuitType) GetTerraformResourceType

func (mg *CircuitType) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CircuitType

func (*CircuitType) GetTerraformSchemaVersion

func (tr *CircuitType) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CircuitType) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CircuitType.

func (*CircuitType) LateInitialize

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

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

func (*CircuitType) SetConditions

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

SetConditions of this CircuitType.

func (*CircuitType) SetDeletionPolicy

func (mg *CircuitType) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CircuitType.

func (*CircuitType) SetManagementPolicy

func (mg *CircuitType) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this CircuitType.

func (*CircuitType) SetObservation

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

SetObservation for this CircuitType

func (*CircuitType) SetParameters

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

SetParameters for this CircuitType

func (*CircuitType) SetProviderConfigReference

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

SetProviderConfigReference of this CircuitType.

func (*CircuitType) SetProviderReference

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

SetProviderReference of this CircuitType. Deprecated: Use SetProviderConfigReference.

func (*CircuitType) SetPublishConnectionDetailsTo

func (mg *CircuitType) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CircuitType.

func (*CircuitType) SetWriteConnectionSecretToReference

func (mg *CircuitType) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CircuitType.

type CircuitTypeList

type CircuitTypeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CircuitType `json:"items"`
}

CircuitTypeList contains a list of CircuitTypes

func (*CircuitTypeList) DeepCopy

func (in *CircuitTypeList) DeepCopy() *CircuitTypeList

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

func (*CircuitTypeList) DeepCopyInto

func (in *CircuitTypeList) DeepCopyInto(out *CircuitTypeList)

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

func (*CircuitTypeList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CircuitTypeList) GetItems

func (l *CircuitTypeList) GetItems() []resource.Managed

GetItems of this CircuitTypeList.

type CircuitTypeObservation

type CircuitTypeObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`
}

func (*CircuitTypeObservation) DeepCopy

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

func (*CircuitTypeObservation) DeepCopyInto

func (in *CircuitTypeObservation) DeepCopyInto(out *CircuitTypeObservation)

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

type CircuitTypeParameters

type CircuitTypeParameters struct {

	// +kubebuilder:validation:Optional
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`
}

func (*CircuitTypeParameters) DeepCopy

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

func (*CircuitTypeParameters) DeepCopyInto

func (in *CircuitTypeParameters) DeepCopyInto(out *CircuitTypeParameters)

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

type CircuitTypeSpec

type CircuitTypeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CircuitTypeParameters `json:"forProvider"`
}

CircuitTypeSpec defines the desired state of CircuitType

func (*CircuitTypeSpec) DeepCopy

func (in *CircuitTypeSpec) DeepCopy() *CircuitTypeSpec

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

func (*CircuitTypeSpec) DeepCopyInto

func (in *CircuitTypeSpec) DeepCopyInto(out *CircuitTypeSpec)

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

type CircuitTypeStatus

type CircuitTypeStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CircuitTypeObservation `json:"atProvider,omitempty"`
}

CircuitTypeStatus defines the observed state of CircuitType.

func (*CircuitTypeStatus) DeepCopy

func (in *CircuitTypeStatus) DeepCopy() *CircuitTypeStatus

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

func (*CircuitTypeStatus) DeepCopyInto

func (in *CircuitTypeStatus) DeepCopyInto(out *CircuitTypeStatus)

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

type Termination

type Termination struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.termSide)",message="termSide is a required parameter"
	Spec   TerminationSpec   `json:"spec"`
	Status TerminationStatus `json:"status,omitempty"`
}

Termination is the Schema for the Terminations 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 (*Termination) DeepCopy

func (in *Termination) DeepCopy() *Termination

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

func (*Termination) DeepCopyInto

func (in *Termination) DeepCopyInto(out *Termination)

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

func (*Termination) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Termination) GetCondition

func (mg *Termination) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Termination.

func (*Termination) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Termination

func (*Termination) GetDeletionPolicy

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

GetDeletionPolicy of this Termination.

func (*Termination) GetID

func (tr *Termination) GetID() string

GetID returns ID of underlying Terraform resource of this Termination

func (*Termination) GetManagementPolicy

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

GetManagementPolicy of this Termination.

func (*Termination) GetObservation

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

GetObservation of this Termination

func (*Termination) GetParameters

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

GetParameters of this Termination

func (*Termination) GetProviderConfigReference

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

GetProviderConfigReference of this Termination.

func (*Termination) GetProviderReference

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

GetProviderReference of this Termination. Deprecated: Use GetProviderConfigReference.

func (*Termination) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Termination.

func (*Termination) GetTerraformResourceType

func (mg *Termination) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Termination

func (*Termination) GetTerraformSchemaVersion

func (tr *Termination) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Termination) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Termination.

func (*Termination) LateInitialize

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

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

func (*Termination) ResolveReferences

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

ResolveReferences of this Termination.

func (*Termination) SetConditions

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

SetConditions of this Termination.

func (*Termination) SetDeletionPolicy

func (mg *Termination) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Termination.

func (*Termination) SetManagementPolicy

func (mg *Termination) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Termination.

func (*Termination) SetObservation

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

SetObservation for this Termination

func (*Termination) SetParameters

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

SetParameters for this Termination

func (*Termination) SetProviderConfigReference

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

SetProviderConfigReference of this Termination.

func (*Termination) SetProviderReference

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

SetProviderReference of this Termination. Deprecated: Use SetProviderConfigReference.

func (*Termination) SetPublishConnectionDetailsTo

func (mg *Termination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Termination.

func (*Termination) SetWriteConnectionSecretToReference

func (mg *Termination) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Termination.

type TerminationList

type TerminationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Termination `json:"items"`
}

TerminationList contains a list of Terminations

func (*TerminationList) DeepCopy

func (in *TerminationList) DeepCopy() *TerminationList

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

func (*TerminationList) DeepCopyInto

func (in *TerminationList) DeepCopyInto(out *TerminationList)

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

func (*TerminationList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*TerminationList) GetItems

func (l *TerminationList) GetItems() []resource.Managed

GetItems of this TerminationList.

type TerminationObservation

type TerminationObservation struct {
	CircuitID *float64 `json:"circuitId,omitempty" tf:"circuit_id,omitempty"`

	CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	PortSpeed *float64 `json:"portSpeed,omitempty" tf:"port_speed,omitempty"`

	SiteID *float64 `json:"siteId,omitempty" tf:"site_id,omitempty"`

	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	TermSide *string `json:"termSide,omitempty" tf:"term_side,omitempty"`

	UpstreamSpeed *float64 `json:"upstreamSpeed,omitempty" tf:"upstream_speed,omitempty"`
}

func (*TerminationObservation) DeepCopy

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

func (*TerminationObservation) DeepCopyInto

func (in *TerminationObservation) DeepCopyInto(out *TerminationObservation)

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

type TerminationParameters

type TerminationParameters struct {

	// +crossplane:generate:reference:type=Circuit
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	CircuitID *float64 `json:"circuitId,omitempty" tf:"circuit_id,omitempty"`

	// Reference to a Circuit to populate circuitId.
	// +kubebuilder:validation:Optional
	CircuitIDRef *v1.Reference `json:"circuitIdRef,omitempty" tf:"-"`

	// Selector for a Circuit to populate circuitId.
	// +kubebuilder:validation:Optional
	CircuitIDSelector *v1.Selector `json:"circuitIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	CustomFields map[string]*string `json:"customFields,omitempty" tf:"custom_fields,omitempty"`

	// +kubebuilder:validation:Optional
	PortSpeed *float64 `json:"portSpeed,omitempty" tf:"port_speed,omitempty"`

	// +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"`

	// +kubebuilder:validation:Optional
	TermSide *string `json:"termSide,omitempty" tf:"term_side,omitempty"`

	// +kubebuilder:validation:Optional
	UpstreamSpeed *float64 `json:"upstreamSpeed,omitempty" tf:"upstream_speed,omitempty"`
}

func (*TerminationParameters) DeepCopy

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

func (*TerminationParameters) DeepCopyInto

func (in *TerminationParameters) DeepCopyInto(out *TerminationParameters)

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

type TerminationSpec

type TerminationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TerminationParameters `json:"forProvider"`
}

TerminationSpec defines the desired state of Termination

func (*TerminationSpec) DeepCopy

func (in *TerminationSpec) DeepCopy() *TerminationSpec

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

func (*TerminationSpec) DeepCopyInto

func (in *TerminationSpec) DeepCopyInto(out *TerminationSpec)

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

type TerminationStatus

type TerminationStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        TerminationObservation `json:"atProvider,omitempty"`
}

TerminationStatus defines the observed state of Termination.

func (*TerminationStatus) DeepCopy

func (in *TerminationStatus) DeepCopy() *TerminationStatus

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

func (*TerminationStatus) DeepCopyInto

func (in *TerminationStatus) DeepCopyInto(out *TerminationStatus)

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