Documentation ¶
Overview ¶
+groupName=spot.equinixmetal.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type MarketRequest
- func (in *MarketRequest) DeepCopy() *MarketRequest
- func (in *MarketRequest) DeepCopyInto(out *MarketRequest)
- func (in *MarketRequest) DeepCopyObject() runtime.Object
- func (r *MarketRequest) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *MarketRequest) ValidateCreate() error
- func (r *MarketRequest) ValidateDelete() error
- func (r *MarketRequest) ValidateUpdate(old runtime.Object) error
- type MarketRequestList
- type MarketRequestSpec
- type MarketRequestSpecInstanceParameters
- type MarketRequestSpecInstanceParametersCodec
- type MarketRequestSpecResource
- type MarketRequestStatus
Constants ¶
This section is empty.
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: spot.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type MarketRequest ¶
type MarketRequest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MarketRequestSpec `json:"spec,omitempty"` Status MarketRequestStatus `json:"status,omitempty"` }
func (*MarketRequest) DeepCopy ¶
func (in *MarketRequest) DeepCopy() *MarketRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketRequest.
func (*MarketRequest) DeepCopyInto ¶
func (in *MarketRequest) DeepCopyInto(out *MarketRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MarketRequest) DeepCopyObject ¶
func (in *MarketRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MarketRequest) SetupWebhookWithManager ¶
func (r *MarketRequest) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*MarketRequest) ValidateCreate ¶
func (r *MarketRequest) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MarketRequest) ValidateDelete ¶
func (r *MarketRequest) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*MarketRequest) ValidateUpdate ¶
func (r *MarketRequest) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MarketRequestList ¶
type MarketRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of MarketRequest CRD objects Items []MarketRequest `json:"items,omitempty"` }
MarketRequestList is a list of MarketRequests
func (*MarketRequestList) DeepCopy ¶
func (in *MarketRequestList) DeepCopy() *MarketRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketRequestList.
func (*MarketRequestList) DeepCopyInto ¶
func (in *MarketRequestList) DeepCopyInto(out *MarketRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MarketRequestList) DeepCopyObject ¶
func (in *MarketRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MarketRequestSpec ¶
type MarketRequestSpec struct { State *MarketRequestSpecResource `json:"state,omitempty" tf:"-"` Resource MarketRequestSpecResource `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 (*MarketRequestSpec) DeepCopy ¶
func (in *MarketRequestSpec) DeepCopy() *MarketRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketRequestSpec.
func (*MarketRequestSpec) DeepCopyInto ¶
func (in *MarketRequestSpec) DeepCopyInto(out *MarketRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MarketRequestSpecInstanceParameters ¶
type MarketRequestSpecInstanceParameters struct { // +optional AlwaysPxe *bool `json:"alwaysPxe,omitempty" tf:"always_pxe"` BillingCycle *string `json:"billingCycle" tf:"billing_cycle"` // +optional Customdata *string `json:"customdata,omitempty" tf:"customdata"` // +optional Description *string `json:"description,omitempty" tf:"description"` // +optional Features []string `json:"features,omitempty" tf:"features"` Hostname *string `json:"hostname" tf:"hostname"` // +optional IpxeScriptURL *string `json:"ipxeScriptURL,omitempty" tf:"ipxe_script_url"` // +optional Locked *bool `json:"locked,omitempty" tf:"locked"` OperatingSystem *string `json:"operatingSystem" tf:"operating_system"` Plan *string `json:"plan" tf:"plan"` // +optional ProjectSSHKeys []string `json:"projectSSHKeys,omitempty" tf:"project_ssh_keys"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // +optional TermintationTime *string `json:"termintationTime,omitempty" tf:"termintation_time"` // +optional UserSSHKeys []string `json:"userSSHKeys,omitempty" tf:"user_ssh_keys"` // +optional Userdata *string `json:"userdata,omitempty" tf:"userdata"` }
func (*MarketRequestSpecInstanceParameters) DeepCopy ¶
func (in *MarketRequestSpecInstanceParameters) DeepCopy() *MarketRequestSpecInstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketRequestSpecInstanceParameters.
func (*MarketRequestSpecInstanceParameters) DeepCopyInto ¶
func (in *MarketRequestSpecInstanceParameters) DeepCopyInto(out *MarketRequestSpecInstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MarketRequestSpecInstanceParametersCodec ¶
type MarketRequestSpecInstanceParametersCodec struct { }
+k8s:deepcopy-gen=false
func (MarketRequestSpecInstanceParametersCodec) Decode ¶
func (MarketRequestSpecInstanceParametersCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type MarketRequestSpecResource ¶
type MarketRequestSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // Maximum number devices to be created DevicesMax *int64 `json:"devicesMax" tf:"devices_max"` // Miniumum number devices to be created DevicesMin *int64 `json:"devicesMin" tf:"devices_min"` // Facility IDs where devices should be created // +optional Facilities []string `json:"facilities,omitempty" tf:"facilities"` // Parameters for devices provisioned from this request. You can find the parameter description from the [metal_device doc](device.md) InstanceParameters *MarketRequestSpecInstanceParameters `json:"instanceParameters" tf:"instance_parameters"` // Maximum price user is willing to pay per hour per device MaxBidPrice *float64 `json:"maxBidPrice" tf:"max_bid_price"` // Metro where devices should be created // +optional Metro *string `json:"metro,omitempty" tf:"metro"` // Project ID ProjectID *string `json:"projectID" tf:"project_id"` // On resource creation - wait until all desired devices are active, on resource destruction - wait until devices are removed // +optional WaitForDevices *bool `json:"waitForDevices,omitempty" tf:"wait_for_devices"` }
func (*MarketRequestSpecResource) DeepCopy ¶
func (in *MarketRequestSpecResource) DeepCopy() *MarketRequestSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketRequestSpecResource.
func (*MarketRequestSpecResource) DeepCopyInto ¶
func (in *MarketRequestSpecResource) DeepCopyInto(out *MarketRequestSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MarketRequestStatus ¶
type MarketRequestStatus 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 (*MarketRequestStatus) DeepCopy ¶
func (in *MarketRequestStatus) DeepCopy() *MarketRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MarketRequestStatus.
func (*MarketRequestStatus) DeepCopyInto ¶
func (in *MarketRequestStatus) DeepCopyInto(out *MarketRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.