Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=databoxedge.azure.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type Device
- func (in *Device) DeepCopy() *Device
- func (in *Device) DeepCopyInto(out *Device)
- func (in *Device) DeepCopyObject() runtime.Object
- func (mg *Device) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Device) GetConnectionDetailsMapping() map[string]string
- func (mg *Device) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Device) GetID() string
- func (tr *Device) GetInitParameters() (map[string]any, error)
- func (mg *Device) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Device) GetObservation() (map[string]any, error)
- func (tr *Device) GetParameters() (map[string]any, error)
- func (mg *Device) GetProviderConfigReference() *xpv1.Reference
- func (mg *Device) GetProviderReference() *xpv1.Reference
- func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Device) GetTerraformResourceType() string
- func (tr *Device) GetTerraformSchemaVersion() int
- func (mg *Device) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Device) LateInitialize(attrs []byte) (bool, error)
- func (mg *Device) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Device) SetConditions(c ...xpv1.Condition)
- func (mg *Device) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Device) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Device) SetObservation(obs map[string]any) error
- func (tr *Device) SetParameters(params map[string]any) error
- func (mg *Device) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Device) SetProviderReference(r *xpv1.Reference)
- func (mg *Device) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Device) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeviceInitParameters
- type DeviceList
- type DeviceObservation
- type DeviceParameters
- type DevicePropertiesInitParameters
- type DevicePropertiesObservation
- type DevicePropertiesParameters
- type DeviceSpec
- type DeviceStatus
Constants ¶
const ( CRDGroup = "databoxedge.azure.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( Device_Kind = "Device" Device_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Device_Kind}.String() Device_KindAPIVersion = Device_Kind + "." + CRDGroupVersion.String() Device_GroupVersionKind = CRDGroupVersion.WithKind(Device_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 )
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || has(self.initProvider.location)",message="location is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.skuName) || has(self.initProvider.skuName)",message="skuName is a required parameter" Spec DeviceSpec `json:"spec"` Status DeviceStatus `json:"status,omitempty"` }
Device is the Schema for the Devices API. Manages a Databox Edge Device. +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,azure}
func (*Device) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Device.
func (*Device) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Device) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Device) GetCondition ¶
func (mg *Device) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Device.
func (*Device) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Device
func (*Device) GetDeletionPolicy ¶
func (mg *Device) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Device.
func (*Device) GetInitParameters ¶ added in v0.35.0
GetInitParameters of this Device
func (*Device) GetManagementPolicies ¶ added in v0.35.0
func (mg *Device) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Device.
func (*Device) GetObservation ¶
GetObservation of this Device
func (*Device) GetParameters ¶
GetParameters of this Device
func (*Device) GetProviderConfigReference ¶
GetProviderConfigReference of this Device.
func (*Device) GetProviderReference ¶
GetProviderReference of this Device. Deprecated: Use GetProviderConfigReference.
func (*Device) GetPublishConnectionDetailsTo ¶
func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Device.
func (*Device) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Device
func (*Device) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Device) GetWriteConnectionSecretToReference ¶
func (mg *Device) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Device.
func (*Device) LateInitialize ¶
LateInitialize this Device using its observed tfState. returns True if there are any spec changes for the resource.
func (*Device) ResolveReferences ¶
ResolveReferences of this Device.
func (*Device) SetConditions ¶
SetConditions of this Device.
func (*Device) SetDeletionPolicy ¶
func (mg *Device) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Device.
func (*Device) SetManagementPolicies ¶ added in v0.35.0
func (mg *Device) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Device.
func (*Device) SetObservation ¶
SetObservation for this Device
func (*Device) SetParameters ¶
SetParameters for this Device
func (*Device) SetProviderConfigReference ¶
SetProviderConfigReference of this Device.
func (*Device) SetProviderReference ¶
SetProviderReference of this Device. Deprecated: Use SetProviderConfigReference.
func (*Device) SetPublishConnectionDetailsTo ¶
func (mg *Device) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Device.
func (*Device) SetWriteConnectionSecretToReference ¶
func (mg *Device) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Device.
type DeviceInitParameters ¶ added in v0.35.0
type DeviceInitParameters struct { // The Azure Region where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // The sku_name is comprised of two segments separated by a hyphen (e.g. TEA_1Node_UPS_Heater-Standard). The first segment of the sku_name defines the name of the SKU, possible values are Gateway, EdgeMR_Mini, EdgeP_Base, EdgeP_High, EdgePR_Base, EdgePR_Base_UPS, GPU, RCA_Large, RCA_Small, RDC, TCA_Large, TCA_Small, TDC, TEA_1Node, TEA_1Node_UPS, TEA_1Node_Heater, TEA_1Node_UPS_Heater, TEA_4Node_Heater, TEA_4Node_UPS_Heater or TMA. The second segment defines the tier of the sku_name, possible values are Standard. For more information see the product documentation. Changing this forces a new Databox Edge Device to be created. SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` // A mapping of tags which should be assigned to the Databox Edge Device. Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*DeviceInitParameters) DeepCopy ¶ added in v0.35.0
func (in *DeviceInitParameters) DeepCopy() *DeviceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceInitParameters.
func (*DeviceInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *DeviceInitParameters) DeepCopyInto(out *DeviceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceList ¶
type DeviceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Device `json:"items"` }
DeviceList contains a list of Devices
func (*DeviceList) DeepCopy ¶
func (in *DeviceList) DeepCopy() *DeviceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceList.
func (*DeviceList) DeepCopyInto ¶
func (in *DeviceList) DeepCopyInto(out *DeviceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeviceList) DeepCopyObject ¶
func (in *DeviceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeviceList) GetItems ¶
func (l *DeviceList) GetItems() []resource.Managed
GetItems of this DeviceList.
type DeviceObservation ¶
type DeviceObservation struct { // A device_properties block as defined below. DeviceProperties []DevicePropertiesObservation `json:"deviceProperties,omitempty" tf:"device_properties,omitempty"` // The ID of the Databox Edge Device. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The Azure Region where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created. Location *string `json:"location,omitempty" tf:"location,omitempty"` // The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created. ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` // The sku_name is comprised of two segments separated by a hyphen (e.g. TEA_1Node_UPS_Heater-Standard). The first segment of the sku_name defines the name of the SKU, possible values are Gateway, EdgeMR_Mini, EdgeP_Base, EdgeP_High, EdgePR_Base, EdgePR_Base_UPS, GPU, RCA_Large, RCA_Small, RDC, TCA_Large, TCA_Small, TDC, TEA_1Node, TEA_1Node_UPS, TEA_1Node_Heater, TEA_1Node_UPS_Heater, TEA_4Node_Heater, TEA_4Node_UPS_Heater or TMA. The second segment defines the tier of the sku_name, possible values are Standard. For more information see the product documentation. Changing this forces a new Databox Edge Device to be created. SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` // A mapping of tags which should be assigned to the Databox Edge Device. Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*DeviceObservation) DeepCopy ¶
func (in *DeviceObservation) DeepCopy() *DeviceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceObservation.
func (*DeviceObservation) DeepCopyInto ¶
func (in *DeviceObservation) DeepCopyInto(out *DeviceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceParameters ¶
type DeviceParameters struct { // The Azure Region where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created. // +crossplane:generate:reference:type=github.com/upbound/provider-azure/apis/azure/v1beta1.ResourceGroup // +kubebuilder:validation:Optional ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` // Reference to a ResourceGroup in azure to populate resourceGroupName. // +kubebuilder:validation:Optional ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"` // Selector for a ResourceGroup in azure to populate resourceGroupName. // +kubebuilder:validation:Optional ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // The sku_name is comprised of two segments separated by a hyphen (e.g. TEA_1Node_UPS_Heater-Standard). The first segment of the sku_name defines the name of the SKU, possible values are Gateway, EdgeMR_Mini, EdgeP_Base, EdgeP_High, EdgePR_Base, EdgePR_Base_UPS, GPU, RCA_Large, RCA_Small, RDC, TCA_Large, TCA_Small, TDC, TEA_1Node, TEA_1Node_UPS, TEA_1Node_Heater, TEA_1Node_UPS_Heater, TEA_4Node_Heater, TEA_4Node_UPS_Heater or TMA. The second segment defines the tier of the sku_name, possible values are Standard. For more information see the product documentation. Changing this forces a new Databox Edge Device to be created. // +kubebuilder:validation:Optional SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` // A mapping of tags which should be assigned to the Databox Edge Device. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*DeviceParameters) DeepCopy ¶
func (in *DeviceParameters) DeepCopy() *DeviceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceParameters.
func (*DeviceParameters) DeepCopyInto ¶
func (in *DeviceParameters) DeepCopyInto(out *DeviceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevicePropertiesInitParameters ¶ added in v0.35.0
type DevicePropertiesInitParameters struct { }
func (*DevicePropertiesInitParameters) DeepCopy ¶ added in v0.35.0
func (in *DevicePropertiesInitParameters) DeepCopy() *DevicePropertiesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicePropertiesInitParameters.
func (*DevicePropertiesInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *DevicePropertiesInitParameters) DeepCopyInto(out *DevicePropertiesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevicePropertiesObservation ¶
type DevicePropertiesObservation struct { // The Data Box Edge/Gateway device local capacity in MB. Capacity *float64 `json:"capacity,omitempty" tf:"capacity,omitempty"` // Type of compute roles configured. ConfiguredRoleTypes []*string `json:"configuredRoleTypes,omitempty" tf:"configured_role_types,omitempty"` // The Data Box Edge/Gateway device culture. Culture *string `json:"culture,omitempty" tf:"culture,omitempty"` // The device software version number of the device (e.g. 1.2.18105.6). HcsVersion *string `json:"hcsVersion,omitempty" tf:"hcs_version,omitempty"` // The Data Box Edge/Gateway device model. Model *string `json:"model,omitempty" tf:"model,omitempty"` // The number of nodes in the cluster. NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"` // The Serial Number of Data Box Edge/Gateway device. SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number,omitempty"` // The Data Box Edge/Gateway device software version. SoftwareVersion *string `json:"softwareVersion,omitempty" tf:"software_version,omitempty"` // The status of the Data Box Edge/Gateway device. Status *string `json:"status,omitempty" tf:"status,omitempty"` // The Data Box Edge/Gateway device timezone. TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` // The type of the Data Box Edge/Gateway device. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*DevicePropertiesObservation) DeepCopy ¶
func (in *DevicePropertiesObservation) DeepCopy() *DevicePropertiesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicePropertiesObservation.
func (*DevicePropertiesObservation) DeepCopyInto ¶
func (in *DevicePropertiesObservation) DeepCopyInto(out *DevicePropertiesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevicePropertiesParameters ¶
type DevicePropertiesParameters struct { }
func (*DevicePropertiesParameters) DeepCopy ¶
func (in *DevicePropertiesParameters) DeepCopy() *DevicePropertiesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicePropertiesParameters.
func (*DevicePropertiesParameters) DeepCopyInto ¶
func (in *DevicePropertiesParameters) DeepCopyInto(out *DevicePropertiesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceSpec ¶
type DeviceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DeviceParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DeviceInitParameters `json:"initProvider,omitempty"` }
DeviceSpec defines the desired state of Device
func (*DeviceSpec) DeepCopy ¶
func (in *DeviceSpec) DeepCopy() *DeviceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpec.
func (*DeviceSpec) DeepCopyInto ¶
func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceStatus ¶
type DeviceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DeviceObservation `json:"atProvider,omitempty"` }
DeviceStatus defines the observed state of Device.
func (*DeviceStatus) DeepCopy ¶
func (in *DeviceStatus) DeepCopy() *DeviceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatus.
func (*DeviceStatus) DeepCopyInto ¶
func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.