v1alpha1

package
v0.3.3-1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

Exported variables

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "fogatlas.fbk.eu", Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back 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 DynamicNode

type DynamicNode struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DynamicNodeSpec   `json:"spec"`
	Status DynamicNodeStatus `json:"status,omitempty"`
}

DynamicNode is a specification for a DynamicNode resource +kubebuilder:subresource:status

func (*DynamicNode) DeepCopy

func (in *DynamicNode) DeepCopy() *DynamicNode

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

func (*DynamicNode) DeepCopyInto

func (in *DynamicNode) DeepCopyInto(out *DynamicNode)

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

func (*DynamicNode) DeepCopyObject

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

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

type DynamicNodeList

type DynamicNodeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []DynamicNode `json:"items"`
}

DynamicNodeList is a list of DynamicNode resources

func (*DynamicNodeList) DeepCopy

func (in *DynamicNodeList) DeepCopy() *DynamicNodeList

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

func (*DynamicNodeList) DeepCopyInto

func (in *DynamicNodeList) DeepCopyInto(out *DynamicNodeList)

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

func (*DynamicNodeList) DeepCopyObject

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

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

type DynamicNodeSpec

type DynamicNodeSpec struct {
	ID              string        `json:"id"`
	Description     string        `json:"description"`
	Location        string        `json:"location"`
	Tier            int32         `json:"tier"`
	IPAddress       string        `json:"ip_address"`
	RegionID        string        `json:"region_id"`
	AnsibleSSHUser  string        `json:"ansible_ssh_user"`
	Architecture    string        `json:"architecture"`
	Processor       string        `json:"processor"`
	Gpu             string        `json:"gpu"`
	Memory          string        `json:"memory"`
	Storage         string        `json:"storage"`
	OperatingSystem string        `json:"operating_system"`
	Status          DynamicStatus `json:"status"`
}

DynamicNodeSpec is the spec for a DynamicNode resource

func (*DynamicNodeSpec) DeepCopy

func (in *DynamicNodeSpec) DeepCopy() *DynamicNodeSpec

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

func (*DynamicNodeSpec) DeepCopyInto

func (in *DynamicNodeSpec) DeepCopyInto(out *DynamicNodeSpec)

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

type DynamicNodeStatus

type DynamicNodeStatus struct {
	CurrentStatus int32 `json:"currentStatus"`
}

DynamicNodeStatus is the status for a DynamicNode resource

func (*DynamicNodeStatus) DeepCopy

func (in *DynamicNodeStatus) DeepCopy() *DynamicNodeStatus

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

func (*DynamicNodeStatus) DeepCopyInto

func (in *DynamicNodeStatus) DeepCopyInto(out *DynamicNodeStatus)

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

type DynamicStatus

type DynamicStatus string

DynamicStatus defined type represents the possibile statuses of a dynamic node

const (
	Baremetal      DynamicStatus = "baremetal"
	Vpnset         DynamicStatus = "vpnset"
	Clustered      DynamicStatus = "clustered"
	FreeExt        DynamicStatus = "free_ext"
	Free           DynamicStatus = "free"
	Advertised     DynamicStatus = "advertised"
	ReservedExt    DynamicStatus = "reserved_ext"
	Reserved       DynamicStatus = "reserved"
	ProvisionedExt DynamicStatus = "provisioned_ext"
	Provisioned    DynamicStatus = "provisioned"
	Provisioning   DynamicStatus = "provisioning"
	Unprovisioning DynamicStatus = "unprovisioning"
	Clustering     DynamicStatus = "clustering"
	Unclustering   DynamicStatus = "unclustering"
)

Possible values of a dynamic node

type ExternalEndpoint

type ExternalEndpoint struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ExternalEndpointSpec `json:"spec"`
	// RegionStatus is not used at the moment
	Status ExternalEndpointStatus `json:"status,omitempty"`
}

ExternalEndpoint is a specification for a ExternalEndpoint resource +kubebuilder:subresource:status

func (*ExternalEndpoint) DeepCopy

func (in *ExternalEndpoint) DeepCopy() *ExternalEndpoint

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

func (*ExternalEndpoint) DeepCopyInto

func (in *ExternalEndpoint) DeepCopyInto(out *ExternalEndpoint)

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

func (*ExternalEndpoint) DeepCopyObject

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

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

type ExternalEndpointList

type ExternalEndpointList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ExternalEndpoint `json:"items"`
}

ExternalEndpointList is a list of ExternalEndpoint resources

func (*ExternalEndpointList) DeepCopy

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

func (*ExternalEndpointList) DeepCopyInto

func (in *ExternalEndpointList) DeepCopyInto(out *ExternalEndpointList)

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

func (*ExternalEndpointList) DeepCopyObject

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

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

type ExternalEndpointSpec

type ExternalEndpointSpec struct {
	ID          string `json:"id"`
	Type        string `json:"type"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
	IPAddress   string `json:"ipaddress"`
	Location    string `json:"location"`
	RegionID    string `json:"regionid"`
}

ExternalEndpointSpec is the spec for a ExternalEndpoint resource

func (*ExternalEndpointSpec) DeepCopy

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

func (*ExternalEndpointSpec) DeepCopyInto

func (in *ExternalEndpointSpec) DeepCopyInto(out *ExternalEndpointSpec)

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

type ExternalEndpointStatus

type ExternalEndpointStatus struct {
	CurrentStatus int32 `json:"currentStatus"`
}

ExternalEndpointStatus is the status for a ExternalEndpoint resource

func (*ExternalEndpointStatus) DeepCopy

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

func (*ExternalEndpointStatus) DeepCopyInto

func (in *ExternalEndpointStatus) DeepCopyInto(out *ExternalEndpointStatus)

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

type FADepl

type FADepl struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FADeplSpec   `json:"spec"`
	Status FADeplStatus `json:"status,omitempty"`
}

FADepl is a specification for a FADepl resource +kubebuilder:subresource:status

func (*FADepl) DeepCopy

func (in *FADepl) DeepCopy() *FADepl

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

func (*FADepl) DeepCopyInto

func (in *FADepl) DeepCopyInto(out *FADepl)

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

func (*FADepl) DeepCopyObject

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

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

type FADeplDataFlow

type FADeplDataFlow struct {
	Name              string            `json:"name,omitempty"`
	Labels            map[string]string `json:"labels,omitempty"`
	BandwidthRequired resource.Quantity `json:"bandwidthrequired"`
	LatencyRequired   resource.Quantity `json:"latency"`
	SourceID          string            `json:"sourceid"`
	DestinationID     string            `json:"destinationid"`
}

FADeplDataFlow represent a data flow

func (*FADeplDataFlow) DeepCopy

func (in *FADeplDataFlow) DeepCopy() *FADeplDataFlow

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

func (*FADeplDataFlow) DeepCopyInto

func (in *FADeplDataFlow) DeepCopyInto(out *FADeplDataFlow)

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

type FADeplList

type FADeplList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []FADepl `json:"items"`
}

FADeplList is a list of FADepl resources

func (*FADeplList) DeepCopy

func (in *FADeplList) DeepCopy() *FADeplList

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

func (*FADeplList) DeepCopyInto

func (in *FADeplList) DeepCopyInto(out *FADeplList)

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

func (*FADeplList) DeepCopyObject

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

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

type FADeplMicroservice

type FADeplMicroservice struct {
	Name         string            `json:"name"`
	Regions      []*FARegion       `json:"regions,omitempty"`
	MIPSRequired resource.Quantity `json:"mipsrequired,omitempty"`
	// +kubebuilder:validation:EmbeddedResource
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:validation:Type=object
	Deployment appsv1.Deployment `json:"deployment"`
}

FADeplMicroservice represent a FADepl microservice

func (*FADeplMicroservice) DeepCopy

func (in *FADeplMicroservice) DeepCopy() *FADeplMicroservice

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

func (*FADeplMicroservice) DeepCopyInto

func (in *FADeplMicroservice) DeepCopyInto(out *FADeplMicroservice)

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

type FADeplSpec

type FADeplSpec struct {
	ExternalEndpoints []string              `json:"externalendpoints"`
	Microservices     []*FADeplMicroservice `json:"microservices"`
	DataFlows         []*FADeplDataFlow     `json:"dataflows,omitempty"`
	Algorithm         string                `json:"algorithm"`
}

FADeplSpec is the spec for a FADepl resource

func (*FADeplSpec) DeepCopy

func (in *FADeplSpec) DeepCopy() *FADeplSpec

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

func (*FADeplSpec) DeepCopyInto

func (in *FADeplSpec) DeepCopyInto(out *FADeplSpec)

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

type FADeplStatus

type FADeplStatus struct {
	Placements     []*FAPlacement     `json:"placements,omitempty"`
	LinksOccupancy []*FALinkOccupancy `json:"linksoccupancy,omitempty"`
	CurrentStatus  FAStatus           `json:"currentstatus"`
}

FADeplStatus is the status for a FADepl resource

func (*FADeplStatus) DeepCopy

func (in *FADeplStatus) DeepCopy() *FADeplStatus

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

func (*FADeplStatus) DeepCopyInto

func (in *FADeplStatus) DeepCopyInto(out *FADeplStatus)

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

type FALinkOccupancy

type FALinkOccupancy struct {
	LinkID          string            `json:"linkid"`
	BwAllocated     resource.Quantity `json:"bwallocated"`
	PrevBwAllocated resource.Quantity `json:"prevbwallocated"`
	IsChanged       bool              `json:"ischanged"`
}

FALinkOccupancy stores the link occupancy

func (*FALinkOccupancy) DeepCopy

func (in *FALinkOccupancy) DeepCopy() *FALinkOccupancy

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

func (*FALinkOccupancy) DeepCopyInto

func (in *FALinkOccupancy) DeepCopyInto(out *FALinkOccupancy)

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

type FAPlacement

type FAPlacement struct {
	Regions      []*FARegion `json:"regions"`
	Microservice string      `json:"microservice"`
}

FAPlacement maps micrsoervices on regions

func (*FAPlacement) DeepCopy

func (in *FAPlacement) DeepCopy() *FAPlacement

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

func (*FAPlacement) DeepCopyInto

func (in *FAPlacement) DeepCopyInto(out *FAPlacement)

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

type FARegion

type FARegion struct {
	RegionRequired string `json:"regionrequired,omitempty"`
	RegionSelected string `json:"regionselected,omitempty"`
	Replicas       int32  `json:"replicas,omitempty"`
	Image          string `json:"image,omitempty"`
	CPU2MIPSMilli  int64  `json:"cpu2mipsmilli,omitempty"`
}

FARegion represents a region inside a FADepl

func (*FARegion) DeepCopy

func (in *FARegion) DeepCopy() *FARegion

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

func (*FARegion) DeepCopyInto

func (in *FARegion) DeepCopyInto(out *FARegion)

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

type FAStatus

type FAStatus int32

FAStatus is a type for the possibile status values

const (
	New FAStatus = iota
	Synced
	Failed
	Changed
)

Possible values of FAStaus

type FedFAApp

type FedFAApp struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FedFAAppSpec `json:"spec"`
	Status FADeplStatus `json:"status"`
}

FedFAApp is a specification for a FedFAApp resource +kubebuilder:subresource:status

func (*FedFAApp) DeepCopy

func (in *FedFAApp) DeepCopy() *FedFAApp

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

func (*FedFAApp) DeepCopyInto

func (in *FedFAApp) DeepCopyInto(out *FedFAApp)

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

func (*FedFAApp) DeepCopyObject

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

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

type FedFAAppChunk

type FedFAAppChunk struct {
	Name            string                    `json:"name"`
	FederatedFADepl unstructured.Unstructured `json:"chunk"`
}

FedFAAppChunk represents a chunk (piece) of a federated application

func (*FedFAAppChunk) DeepCopy

func (in *FedFAAppChunk) DeepCopy() *FedFAAppChunk

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

func (*FedFAAppChunk) DeepCopyInto

func (in *FedFAAppChunk) DeepCopyInto(out *FedFAAppChunk)

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

type FedFAAppList

type FedFAAppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []FedFAApp `json:"items"`
}

FedFAAppList is a list of FedFAApp resources

func (*FedFAAppList) DeepCopy

func (in *FedFAAppList) DeepCopy() *FedFAAppList

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

func (*FedFAAppList) DeepCopyInto

func (in *FedFAAppList) DeepCopyInto(out *FedFAAppList)

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

func (*FedFAAppList) DeepCopyObject

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

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

type FedFAAppSpec

type FedFAAppSpec struct {
	Name              string            `json:"name"`
	Description       string            `json:"description"`
	ApplicationChunks []*FedFAAppChunk  `json:"applicationchunks"`
	DataFlows         []*FADeplDataFlow `json:"c2cdataflows"`
	Algorithm         string            `json:"algorithm"`
}

FedFAAppSpec is the spec for a FADepl resource

func (*FedFAAppSpec) DeepCopy

func (in *FedFAAppSpec) DeepCopy() *FedFAAppSpec

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

func (*FedFAAppSpec) DeepCopyInto

func (in *FedFAAppSpec) DeepCopyInto(out *FedFAAppSpec)

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

type Link struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LinkSpec   `json:"spec"`
	Status LinkStatus `json:"status,omitempty"`
}

Link is a specification for a Link resource +kubebuilder:subresource:status

func (*Link) DeepCopy

func (in *Link) DeepCopy() *Link

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

func (*Link) DeepCopyInto

func (in *Link) DeepCopyInto(out *Link)

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

func (*Link) DeepCopyObject

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

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

type LinkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Link `json:"items"`
}

LinkList is a list of Link resources

func (*LinkList) DeepCopy

func (in *LinkList) DeepCopy() *LinkList

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

func (*LinkList) DeepCopyInto

func (in *LinkList) DeepCopyInto(out *LinkList)

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

func (*LinkList) DeepCopyObject

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

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

type LinkSpec

type LinkSpec struct {
	ID        string            `json:"id"`
	EndpointA string            `json:"endpointa"`
	EndpointB string            `json:"endpointb"`
	Bandwidth resource.Quantity `json:"bandwidth"`
	// in milliseconds
	Latency resource.Quantity `json:"latency"`
	Status  string            `json:"status"`
}

LinkSpec is the spec for a Link resource

func (*LinkSpec) DeepCopy

func (in *LinkSpec) DeepCopy() *LinkSpec

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

func (*LinkSpec) DeepCopyInto

func (in *LinkSpec) DeepCopyInto(out *LinkSpec)

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

type LinkStatus

type LinkStatus struct {
	BwAllocated   resource.Quantity `json:"bwallocated"`
	CurrentStatus int32             `json:"currentstatus"`
}

LinkStatus is the status for a Link resource

func (*LinkStatus) DeepCopy

func (in *LinkStatus) DeepCopy() *LinkStatus

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

func (*LinkStatus) DeepCopyInto

func (in *LinkStatus) DeepCopyInto(out *LinkStatus)

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

type Region

type Region struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec RegionSpec `json:"spec"`
	// RegionStatus is not used at the moment
	Status RegionStatus `json:"status,omitempty"`
}

Region is a specification for a Region resource +kubebuilder:subresource:status

func (*Region) DeepCopy

func (in *Region) DeepCopy() *Region

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

func (*Region) DeepCopyInto

func (in *Region) DeepCopyInto(out *Region)

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

func (*Region) DeepCopyObject

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

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

type RegionList

type RegionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Region `json:"items"`
}

RegionList is a list of Region resources

func (*RegionList) DeepCopy

func (in *RegionList) DeepCopy() *RegionList

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

func (*RegionList) DeepCopyInto

func (in *RegionList) DeepCopyInto(out *RegionList)

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

func (*RegionList) DeepCopyObject

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

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

type RegionSpec

type RegionSpec struct {
	ID          string     `json:"id"`
	Name        string     `json:"name"`
	Description string     `json:"description,omitempty"`
	Location    string     `json:"location"`
	Tier        int32      `json:"tier"`
	Type        RegionType `json:"type,omitempty"`
	CPUModel    string     `json:"cpumodel"`
	CPU2MIPS    int64      `json:"cpu2mips"`
}

RegionSpec is the spec for a Region resource

func (*RegionSpec) DeepCopy

func (in *RegionSpec) DeepCopy() *RegionSpec

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

func (*RegionSpec) DeepCopyInto

func (in *RegionSpec) DeepCopyInto(out *RegionSpec)

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

type RegionStatus

type RegionStatus struct {
	CurrentStatus int32 `json:"currentStatus"`
}

RegionStatus is the status for a Region resource

func (*RegionStatus) DeepCopy

func (in *RegionStatus) DeepCopy() *RegionStatus

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

func (*RegionStatus) DeepCopyInto

func (in *RegionStatus) DeepCopyInto(out *RegionStatus)

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

type RegionType

type RegionType string

RegionType is the type of a Region resource. Could be nodes, clusters, hostcluster

const (
	Nodes       RegionType = "nodes"
	Clusters    RegionType = "clusters"
	Hostcluster RegionType = "hostcluster"
)

Possibile values of RegionType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL