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: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Field_Kind             = "Field"
	Field_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Field_Kind}.String()
	Field_KindAPIVersion   = Field_Kind + "." + CRDGroupVersion.String()
	Field_GroupVersionKind = CRDGroupVersion.WithKind(Field_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 (
	Tag_Kind             = "Tag"
	Tag_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Tag_Kind}.String()
	Tag_KindAPIVersion   = Tag_Kind + "." + CRDGroupVersion.String()
	Tag_GroupVersionKind = CRDGroupVersion.WithKind(Tag_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Field

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

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

func (in *Field) DeepCopy() *Field

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

func (*Field) DeepCopyInto

func (in *Field) DeepCopyInto(out *Field)

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

func (*Field) DeepCopyObject

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

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

func (*Field) GetCondition

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

GetCondition of this Field.

func (*Field) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Field

func (*Field) GetDeletionPolicy

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

GetDeletionPolicy of this Field.

func (*Field) GetID

func (tr *Field) GetID() string

GetID returns ID of underlying Terraform resource of this Field

func (*Field) GetManagementPolicy

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

GetManagementPolicy of this Field.

func (*Field) GetObservation

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

GetObservation of this Field

func (*Field) GetParameters

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

GetParameters of this Field

func (*Field) GetProviderConfigReference

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

GetProviderConfigReference of this Field.

func (*Field) GetProviderReference

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

GetProviderReference of this Field. Deprecated: Use GetProviderConfigReference.

func (*Field) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Field.

func (*Field) GetTerraformResourceType

func (mg *Field) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Field

func (*Field) GetTerraformSchemaVersion

func (tr *Field) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Field) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Field.

func (*Field) LateInitialize

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

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

func (*Field) SetConditions

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

SetConditions of this Field.

func (*Field) SetDeletionPolicy

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

SetDeletionPolicy of this Field.

func (*Field) SetManagementPolicy

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

SetManagementPolicy of this Field.

func (*Field) SetObservation

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

SetObservation for this Field

func (*Field) SetParameters

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

SetParameters for this Field

func (*Field) SetProviderConfigReference

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

SetProviderConfigReference of this Field.

func (*Field) SetProviderReference

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

SetProviderReference of this Field. Deprecated: Use SetProviderConfigReference.

func (*Field) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Field.

func (*Field) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Field.

type FieldList

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

FieldList contains a list of Fields

func (*FieldList) DeepCopy

func (in *FieldList) DeepCopy() *FieldList

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

func (*FieldList) DeepCopyInto

func (in *FieldList) DeepCopyInto(out *FieldList)

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

func (*FieldList) DeepCopyObject

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

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

func (*FieldList) GetItems

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

GetItems of this FieldList.

type FieldObservation

type FieldObservation struct {
	Choices []*string `json:"choices,omitempty" tf:"choices,omitempty"`

	ContentTypes []*string `json:"contentTypes,omitempty" tf:"content_types,omitempty"`

	Default *string `json:"default,omitempty" tf:"default,omitempty"`

	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"`

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

	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	Required *bool `json:"required,omitempty" tf:"required,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	ValidationMaximum *float64 `json:"validationMaximum,omitempty" tf:"validation_maximum,omitempty"`

	ValidationMinimum *float64 `json:"validationMinimum,omitempty" tf:"validation_minimum,omitempty"`

	ValidationRegex *string `json:"validationRegex,omitempty" tf:"validation_regex,omitempty"`

	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*FieldObservation) DeepCopy

func (in *FieldObservation) DeepCopy() *FieldObservation

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

func (*FieldObservation) DeepCopyInto

func (in *FieldObservation) DeepCopyInto(out *FieldObservation)

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

type FieldParameters

type FieldParameters struct {

	// +kubebuilder:validation:Optional
	Choices []*string `json:"choices,omitempty" tf:"choices,omitempty"`

	// +kubebuilder:validation:Optional
	ContentTypes []*string `json:"contentTypes,omitempty" tf:"content_types,omitempty"`

	// +kubebuilder:validation:Optional
	Default *string `json:"default,omitempty" tf:"default,omitempty"`

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"`

	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// +kubebuilder:validation:Optional
	Required *bool `json:"required,omitempty" tf:"required,omitempty"`

	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// +kubebuilder:validation:Optional
	ValidationMaximum *float64 `json:"validationMaximum,omitempty" tf:"validation_maximum,omitempty"`

	// +kubebuilder:validation:Optional
	ValidationMinimum *float64 `json:"validationMinimum,omitempty" tf:"validation_minimum,omitempty"`

	// +kubebuilder:validation:Optional
	ValidationRegex *string `json:"validationRegex,omitempty" tf:"validation_regex,omitempty"`

	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*FieldParameters) DeepCopy

func (in *FieldParameters) DeepCopy() *FieldParameters

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

func (*FieldParameters) DeepCopyInto

func (in *FieldParameters) DeepCopyInto(out *FieldParameters)

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

type FieldSpec

type FieldSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FieldParameters `json:"forProvider"`
}

FieldSpec defines the desired state of Field

func (*FieldSpec) DeepCopy

func (in *FieldSpec) DeepCopy() *FieldSpec

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

func (*FieldSpec) DeepCopyInto

func (in *FieldSpec) DeepCopyInto(out *FieldSpec)

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

type FieldStatus

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

FieldStatus defines the observed state of Field.

func (*FieldStatus) DeepCopy

func (in *FieldStatus) DeepCopy() *FieldStatus

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

func (*FieldStatus) DeepCopyInto

func (in *FieldStatus) DeepCopyInto(out *FieldStatus)

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

type Tag

type Tag struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TagSpec   `json:"spec"`
	Status            TagStatus `json:"status,omitempty"`
}

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

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

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

func (*Tag) DeepCopyObject

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

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

func (*Tag) GetCondition

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

GetCondition of this Tag.

func (*Tag) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Tag

func (*Tag) GetDeletionPolicy

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

GetDeletionPolicy of this Tag.

func (*Tag) GetID

func (tr *Tag) GetID() string

GetID returns ID of underlying Terraform resource of this Tag

func (*Tag) GetManagementPolicy

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

GetManagementPolicy of this Tag.

func (*Tag) GetObservation

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

GetObservation of this Tag

func (*Tag) GetParameters

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

GetParameters of this Tag

func (*Tag) GetProviderConfigReference

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

GetProviderConfigReference of this Tag.

func (*Tag) GetProviderReference

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

GetProviderReference of this Tag. Deprecated: Use GetProviderConfigReference.

func (*Tag) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Tag.

func (*Tag) GetTerraformResourceType

func (mg *Tag) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Tag

func (*Tag) GetTerraformSchemaVersion

func (tr *Tag) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Tag) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Tag.

func (*Tag) LateInitialize

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

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

func (*Tag) SetConditions

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

SetConditions of this Tag.

func (*Tag) SetDeletionPolicy

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

SetDeletionPolicy of this Tag.

func (*Tag) SetManagementPolicy

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

SetManagementPolicy of this Tag.

func (*Tag) SetObservation

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

SetObservation for this Tag

func (*Tag) SetParameters

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

SetParameters for this Tag

func (*Tag) SetProviderConfigReference

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

SetProviderConfigReference of this Tag.

func (*Tag) SetProviderReference

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

SetProviderReference of this Tag. Deprecated: Use SetProviderConfigReference.

func (*Tag) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Tag.

func (*Tag) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Tag.

type TagList

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

TagList contains a list of Tags

func (*TagList) DeepCopy

func (in *TagList) DeepCopy() *TagList

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

func (*TagList) DeepCopyInto

func (in *TagList) DeepCopyInto(out *TagList)

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

func (*TagList) DeepCopyObject

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

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

func (*TagList) GetItems

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

GetItems of this TagList.

type TagObservation

type TagObservation struct {

	// Defaults to `9e9e9e`.
	ColorHex *string `json:"colorHex,omitempty" tf:"color_hex,omitempty"`

	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

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

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

func (*TagObservation) DeepCopy

func (in *TagObservation) DeepCopy() *TagObservation

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

func (*TagObservation) DeepCopyInto

func (in *TagObservation) DeepCopyInto(out *TagObservation)

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

type TagParameters

type TagParameters struct {

	// Defaults to `9e9e9e`.
	// +kubebuilder:validation:Optional
	ColorHex *string `json:"colorHex,omitempty" tf:"color_hex,omitempty"`

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// +kubebuilder:validation:Optional
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*TagParameters) DeepCopy

func (in *TagParameters) DeepCopy() *TagParameters

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

func (*TagParameters) DeepCopyInto

func (in *TagParameters) DeepCopyInto(out *TagParameters)

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

type TagSpec

type TagSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TagParameters `json:"forProvider"`
}

TagSpec defines the desired state of Tag

func (*TagSpec) DeepCopy

func (in *TagSpec) DeepCopy() *TagSpec

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

func (*TagSpec) DeepCopyInto

func (in *TagSpec) DeepCopyInto(out *TagSpec)

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

type TagStatus

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

TagStatus defines the observed state of Tag.

func (*TagStatus) DeepCopy

func (in *TagStatus) DeepCopy() *TagStatus

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

func (*TagStatus) DeepCopyInto

func (in *TagStatus) DeepCopyInto(out *TagStatus)

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