v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=databox.azurerm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: databox.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type EdgeDevice

type EdgeDevice struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EdgeDeviceSpec   `json:"spec,omitempty"`
	Status            EdgeDeviceStatus `json:"status,omitempty"`
}

func (*EdgeDevice) DeepCopy

func (in *EdgeDevice) DeepCopy() *EdgeDevice

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

func (*EdgeDevice) DeepCopyInto

func (in *EdgeDevice) DeepCopyInto(out *EdgeDevice)

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

func (*EdgeDevice) DeepCopyObject

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

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

func (*EdgeDevice) SetupWebhookWithManager

func (r *EdgeDevice) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*EdgeDevice) ValidateCreate

func (r *EdgeDevice) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*EdgeDevice) ValidateDelete

func (r *EdgeDevice) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*EdgeDevice) ValidateUpdate

func (r *EdgeDevice) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type EdgeDeviceList

type EdgeDeviceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of EdgeDevice CRD objects
	Items []EdgeDevice `json:"items,omitempty"`
}

EdgeDeviceList is a list of EdgeDevices

func (*EdgeDeviceList) DeepCopy

func (in *EdgeDeviceList) DeepCopy() *EdgeDeviceList

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

func (*EdgeDeviceList) DeepCopyInto

func (in *EdgeDeviceList) DeepCopyInto(out *EdgeDeviceList)

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

func (*EdgeDeviceList) DeepCopyObject

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

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

type EdgeDeviceSpec

type EdgeDeviceSpec struct {
	State *EdgeDeviceSpecResource `json:"state,omitempty" tf:"-"`

	Resource EdgeDeviceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*EdgeDeviceSpec) DeepCopy

func (in *EdgeDeviceSpec) DeepCopy() *EdgeDeviceSpec

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

func (*EdgeDeviceSpec) DeepCopyInto

func (in *EdgeDeviceSpec) DeepCopyInto(out *EdgeDeviceSpec)

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

type EdgeDeviceSpecDeviceProperties

type EdgeDeviceSpecDeviceProperties struct {
	// +optional
	Capacity *int64 `json:"capacity,omitempty" tf:"capacity"`
	// +optional
	ConfiguredRoleTypes []string `json:"configuredRoleTypes,omitempty" tf:"configured_role_types"`
	// +optional
	Culture *string `json:"culture,omitempty" tf:"culture"`
	// +optional
	HcsVersion *string `json:"hcsVersion,omitempty" tf:"hcs_version"`
	// +optional
	Model *string `json:"model,omitempty" tf:"model"`
	// +optional
	NodeCount *int64 `json:"nodeCount,omitempty" tf:"node_count"`
	// +optional
	SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number"`
	// +optional
	SoftwareVersion *string `json:"softwareVersion,omitempty" tf:"software_version"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*EdgeDeviceSpecDeviceProperties) DeepCopy

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

func (*EdgeDeviceSpecDeviceProperties) DeepCopyInto

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

type EdgeDeviceSpecResource

type EdgeDeviceSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	// +optional
	DeviceProperties  []EdgeDeviceSpecDeviceProperties `json:"deviceProperties,omitempty" tf:"device_properties"`
	Location          *string                          `json:"location" tf:"location"`
	Name              *string                          `json:"name" tf:"name"`
	ResourceGroupName *string                          `json:"resourceGroupName" tf:"resource_group_name"`
	SkuName           *string                          `json:"skuName" tf:"sku_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*EdgeDeviceSpecResource) DeepCopy

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

func (*EdgeDeviceSpecResource) DeepCopyInto

func (in *EdgeDeviceSpecResource) DeepCopyInto(out *EdgeDeviceSpecResource)

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

type EdgeDeviceStatus

type EdgeDeviceStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*EdgeDeviceStatus) DeepCopy

func (in *EdgeDeviceStatus) DeepCopy() *EdgeDeviceStatus

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

func (*EdgeDeviceStatus) DeepCopyInto

func (in *EdgeDeviceStatus) DeepCopyInto(out *EdgeDeviceStatus)

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

type EdgeOrder

type EdgeOrder struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EdgeOrderSpec   `json:"spec,omitempty"`
	Status            EdgeOrderStatus `json:"status,omitempty"`
}

func (*EdgeOrder) DeepCopy

func (in *EdgeOrder) DeepCopy() *EdgeOrder

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

func (*EdgeOrder) DeepCopyInto

func (in *EdgeOrder) DeepCopyInto(out *EdgeOrder)

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

func (*EdgeOrder) DeepCopyObject

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

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

func (*EdgeOrder) SetupWebhookWithManager

func (r *EdgeOrder) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*EdgeOrder) ValidateCreate

func (r *EdgeOrder) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*EdgeOrder) ValidateDelete

func (r *EdgeOrder) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*EdgeOrder) ValidateUpdate

func (r *EdgeOrder) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type EdgeOrderList

type EdgeOrderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of EdgeOrder CRD objects
	Items []EdgeOrder `json:"items,omitempty"`
}

EdgeOrderList is a list of EdgeOrders

func (*EdgeOrderList) DeepCopy

func (in *EdgeOrderList) DeepCopy() *EdgeOrderList

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

func (*EdgeOrderList) DeepCopyInto

func (in *EdgeOrderList) DeepCopyInto(out *EdgeOrderList)

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

func (*EdgeOrderList) DeepCopyObject

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

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

type EdgeOrderSpec

type EdgeOrderSpec struct {
	State *EdgeOrderSpecResource `json:"state,omitempty" tf:"-"`

	Resource EdgeOrderSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*EdgeOrderSpec) DeepCopy

func (in *EdgeOrderSpec) DeepCopy() *EdgeOrderSpec

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

func (*EdgeOrderSpec) DeepCopyInto

func (in *EdgeOrderSpec) DeepCopyInto(out *EdgeOrderSpec)

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

type EdgeOrderSpecContact

type EdgeOrderSpecContact struct {
	CompanyName *string  `json:"companyName" tf:"company_name"`
	Emails      []string `json:"emails" tf:"emails"`
	Name        *string  `json:"name" tf:"name"`
	PhoneNumber *string  `json:"phoneNumber" tf:"phone_number"`
}

func (*EdgeOrderSpecContact) DeepCopy

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

func (*EdgeOrderSpecContact) DeepCopyInto

func (in *EdgeOrderSpecContact) DeepCopyInto(out *EdgeOrderSpecContact)

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

type EdgeOrderSpecContactCodec

type EdgeOrderSpecContactCodec struct {
}

+k8s:deepcopy-gen=false

func (EdgeOrderSpecContactCodec) Decode

func (EdgeOrderSpecContactCodec) Encode

func (EdgeOrderSpecContactCodec) IsEmpty

type EdgeOrderSpecResource

type EdgeOrderSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

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

	Contact    *EdgeOrderSpecContact `json:"contact" tf:"contact"`
	DeviceName *string               `json:"deviceName" tf:"device_name"`
	// +optional
	Name              *string `json:"name,omitempty" tf:"name"`
	ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	ReturnTracking []EdgeOrderSpecReturnTracking `json:"returnTracking,omitempty" tf:"return_tracking"`
	// +optional
	SerialNumber    *string                       `json:"serialNumber,omitempty" tf:"serial_number"`
	ShipmentAddress *EdgeOrderSpecShipmentAddress `json:"shipmentAddress" tf:"shipment_address"`
	// +optional
	ShipmentHistory []EdgeOrderSpecShipmentHistory `json:"shipmentHistory,omitempty" tf:"shipment_history"`
	// +optional
	ShipmentTracking []EdgeOrderSpecShipmentTracking `json:"shipmentTracking,omitempty" tf:"shipment_tracking"`
	// +optional
	Status []EdgeOrderSpecStatus `json:"status,omitempty" tf:"status"`
}

func (*EdgeOrderSpecResource) DeepCopy

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

func (*EdgeOrderSpecResource) DeepCopyInto

func (in *EdgeOrderSpecResource) DeepCopyInto(out *EdgeOrderSpecResource)

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

type EdgeOrderSpecReturnTracking

type EdgeOrderSpecReturnTracking struct {
	// +optional
	CarrierName *string `json:"carrierName,omitempty" tf:"carrier_name"`
	// +optional
	SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number"`
	// +optional
	TrackingID *string `json:"trackingID,omitempty" tf:"tracking_id"`
	// +optional
	TrackingURL *string `json:"trackingURL,omitempty" tf:"tracking_url"`
}

func (*EdgeOrderSpecReturnTracking) DeepCopy

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

func (*EdgeOrderSpecReturnTracking) DeepCopyInto

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

type EdgeOrderSpecShipmentAddress

type EdgeOrderSpecShipmentAddress struct {
	// +kubebuilder:validation:MaxItems=3
	Address    []string `json:"address" tf:"address"`
	City       *string  `json:"city" tf:"city"`
	Country    *string  `json:"country" tf:"country"`
	PostalCode *string  `json:"postalCode" tf:"postal_code"`
	State      *string  `json:"state" tf:"state"`
}

func (*EdgeOrderSpecShipmentAddress) DeepCopy

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

func (*EdgeOrderSpecShipmentAddress) DeepCopyInto

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

type EdgeOrderSpecShipmentAddressCodec

type EdgeOrderSpecShipmentAddressCodec struct {
}

+k8s:deepcopy-gen=false

func (EdgeOrderSpecShipmentAddressCodec) Decode

func (EdgeOrderSpecShipmentAddressCodec) Encode

func (EdgeOrderSpecShipmentAddressCodec) IsEmpty

type EdgeOrderSpecShipmentHistory

type EdgeOrderSpecShipmentHistory struct {
	// +optional
	AdditionalDetails *map[string]string `json:"additionalDetails,omitempty" tf:"additional_details"`
	// +optional
	Comments *string `json:"comments,omitempty" tf:"comments"`
	// +optional
	LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update"`
}

func (*EdgeOrderSpecShipmentHistory) DeepCopy

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

func (*EdgeOrderSpecShipmentHistory) DeepCopyInto

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

type EdgeOrderSpecShipmentTracking

type EdgeOrderSpecShipmentTracking struct {
	// +optional
	CarrierName *string `json:"carrierName,omitempty" tf:"carrier_name"`
	// +optional
	SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number"`
	// +optional
	TrackingID *string `json:"trackingID,omitempty" tf:"tracking_id"`
	// +optional
	TrackingURL *string `json:"trackingURL,omitempty" tf:"tracking_url"`
}

func (*EdgeOrderSpecShipmentTracking) DeepCopy

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

func (*EdgeOrderSpecShipmentTracking) DeepCopyInto

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

type EdgeOrderSpecStatus

type EdgeOrderSpecStatus struct {
	// +optional
	AdditionalDetails *map[string]string `json:"additionalDetails,omitempty" tf:"additional_details"`
	// +optional
	Comments *string `json:"comments,omitempty" tf:"comments"`
	// +optional
	Info *string `json:"info,omitempty" tf:"info"`
	// +optional
	LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update"`
}

func (*EdgeOrderSpecStatus) DeepCopy

func (in *EdgeOrderSpecStatus) DeepCopy() *EdgeOrderSpecStatus

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

func (*EdgeOrderSpecStatus) DeepCopyInto

func (in *EdgeOrderSpecStatus) DeepCopyInto(out *EdgeOrderSpecStatus)

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

type EdgeOrderStatus

type EdgeOrderStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*EdgeOrderStatus) DeepCopy

func (in *EdgeOrderStatus) DeepCopy() *EdgeOrderStatus

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

func (*EdgeOrderStatus) DeepCopyInto

func (in *EdgeOrderStatus) DeepCopyInto(out *EdgeOrderStatus)

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