v1alpha1

package
v0.0.0-...-3fb6cc7 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the evms v1alpha1 API group +kubebuilder:object:generate=true +groupName=evms.kaph.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "evms.kaph.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: evms.GroupName, 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 ElasticVirtualMachine

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

	Spec   ElasticVirtualMachineSpec   `json:"spec,omitempty"`
	Status ElasticVirtualMachineStatus `json:"status,omitempty"`
}

ElasticVirtualMachine is the Schema for the elasticvirtualmachines API

func (*ElasticVirtualMachine) DeepCopy

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

func (*ElasticVirtualMachine) DeepCopyInto

func (in *ElasticVirtualMachine) DeepCopyInto(out *ElasticVirtualMachine)

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

func (*ElasticVirtualMachine) DeepCopyObject

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

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

type ElasticVirtualMachineList

type ElasticVirtualMachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ElasticVirtualMachine `json:"items"`
}

ElasticVirtualMachineList contains a list of ElasticVirtualMachine

func (*ElasticVirtualMachineList) DeepCopy

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

func (*ElasticVirtualMachineList) DeepCopyInto

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

func (*ElasticVirtualMachineList) DeepCopyObject

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

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

type ElasticVirtualMachineSpec

type ElasticVirtualMachineSpec struct {
	Image  string `json:"image"`
	CPU    string `json:"cpu"`
	Memory string `json:"memory"`
	// +optional
	Hostname string `json:"hostname"`
	// +optional
	IP string `json:"ip"`
}

ElasticVirtualMachineSpec defines the desired state of ElasticVirtualMachine

func (*ElasticVirtualMachineSpec) DeepCopy

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

func (*ElasticVirtualMachineSpec) DeepCopyInto

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

type ElasticVirtualMachineStatus

type ElasticVirtualMachineStatus struct {
	Conditions []appsv1.DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
	Image      string                       `json:"image"`
	CPU        string                       `json:"cpu"`
	Memory     string                       `json:"memory"`
	Hostname   string                       `json:"hostname"`
	IP         string                       `json:"ip"`
}

ElasticVirtualMachineStatus defines the observed state of ElasticVirtualMachine

func (*ElasticVirtualMachineStatus) DeepCopy

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

func (*ElasticVirtualMachineStatus) DeepCopyInto

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