Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=extras.netbox.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Field
- func (in *Field) DeepCopy() *Field
- func (in *Field) DeepCopyInto(out *Field)
- func (in *Field) DeepCopyObject() runtime.Object
- func (mg *Field) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Field) GetConnectionDetailsMapping() map[string]string
- func (mg *Field) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Field) GetID() string
- func (mg *Field) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Field) GetObservation() (map[string]any, error)
- func (tr *Field) GetParameters() (map[string]any, error)
- func (mg *Field) GetProviderConfigReference() *xpv1.Reference
- func (mg *Field) GetProviderReference() *xpv1.Reference
- func (mg *Field) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Field) GetTerraformResourceType() string
- func (tr *Field) GetTerraformSchemaVersion() int
- func (mg *Field) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Field) LateInitialize(attrs []byte) (bool, error)
- func (mg *Field) SetConditions(c ...xpv1.Condition)
- func (mg *Field) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Field) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Field) SetObservation(obs map[string]any) error
- func (tr *Field) SetParameters(params map[string]any) error
- func (mg *Field) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Field) SetProviderReference(r *xpv1.Reference)
- func (mg *Field) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Field) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FieldList
- type FieldObservation
- type FieldParameters
- type FieldSpec
- type FieldStatus
- type Tag
- func (in *Tag) DeepCopy() *Tag
- func (in *Tag) DeepCopyInto(out *Tag)
- func (in *Tag) DeepCopyObject() runtime.Object
- func (mg *Tag) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Tag) GetConnectionDetailsMapping() map[string]string
- func (mg *Tag) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Tag) GetID() string
- func (mg *Tag) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Tag) GetObservation() (map[string]any, error)
- func (tr *Tag) GetParameters() (map[string]any, error)
- func (mg *Tag) GetProviderConfigReference() *xpv1.Reference
- func (mg *Tag) GetProviderReference() *xpv1.Reference
- func (mg *Tag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Tag) GetTerraformResourceType() string
- func (tr *Tag) GetTerraformSchemaVersion() int
- func (mg *Tag) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Tag) LateInitialize(attrs []byte) (bool, error)
- func (mg *Tag) SetConditions(c ...xpv1.Condition)
- func (mg *Tag) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Tag) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Tag) SetObservation(obs map[string]any) error
- func (tr *Tag) SetParameters(params map[string]any) error
- func (mg *Tag) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Tag) SetProviderReference(r *xpv1.Reference)
- func (mg *Tag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Tag) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TagList
- type TagObservation
- type TagParameters
- type TagSpec
- type TagStatus
Constants ¶
const ( CRDGroup = "extras.netbox.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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.
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 ( 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Field.
func (*Field) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Field) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Field
func (*Field) GetDeletionPolicy ¶
func (mg *Field) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Field.
func (*Field) GetManagementPolicy ¶
func (mg *Field) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Field.
func (*Field) GetObservation ¶
GetObservation of this Field
func (*Field) GetParameters ¶
GetParameters of this Field
func (*Field) GetProviderConfigReference ¶
GetProviderConfigReference of this Field.
func (*Field) GetProviderReference ¶
GetProviderReference of this Field. Deprecated: Use GetProviderConfigReference.
func (*Field) GetPublishConnectionDetailsTo ¶
func (mg *Field) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Field.
func (*Field) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Field
func (*Field) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Field) GetWriteConnectionSecretToReference ¶
func (mg *Field) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Field.
func (*Field) LateInitialize ¶
LateInitialize this Field using its observed tfState. returns True if there are any spec changes for the resource.
func (*Field) SetConditions ¶
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 ¶
SetObservation for this Field
func (*Field) SetParameters ¶
SetParameters for this Field
func (*Field) SetProviderConfigReference ¶
SetProviderConfigReference of this Field.
func (*Field) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldList.
func (*FieldList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FieldList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldSpec.
func (*FieldSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag.
func (*Tag) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tag) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Tag
func (*Tag) GetDeletionPolicy ¶
func (mg *Tag) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Tag.
func (*Tag) GetManagementPolicy ¶
func (mg *Tag) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Tag.
func (*Tag) GetObservation ¶
GetObservation of this Tag
func (*Tag) GetParameters ¶
GetParameters of this Tag
func (*Tag) GetProviderConfigReference ¶
GetProviderConfigReference of this Tag.
func (*Tag) GetProviderReference ¶
GetProviderReference of this Tag. Deprecated: Use GetProviderConfigReference.
func (*Tag) GetPublishConnectionDetailsTo ¶
func (mg *Tag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Tag.
func (*Tag) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Tag
func (*Tag) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Tag) GetWriteConnectionSecretToReference ¶
func (mg *Tag) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Tag.
func (*Tag) LateInitialize ¶
LateInitialize this Tag using its observed tfState. returns True if there are any spec changes for the resource.
func (*Tag) SetConditions ¶
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 ¶
SetObservation for this Tag
func (*Tag) SetParameters ¶
SetParameters for this Tag
func (*Tag) SetProviderConfigReference ¶
SetProviderConfigReference of this Tag.
func (*Tag) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagList.
func (*TagList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TagList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagSpec.
func (*TagSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagStatus.
func (*TagStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.