v1alpha1

package
v0.0.0-...-8c56025 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: cluster.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 Hypernode

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

	Spec HypernodeSpec `json:"spec"`
}

Hypernode is a specification for a Hypernode resource

func (*Hypernode) DeepCopy

func (in *Hypernode) DeepCopy() *Hypernode

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

func (*Hypernode) DeepCopyInto

func (in *Hypernode) DeepCopyInto(out *Hypernode)

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

func (*Hypernode) DeepCopyObject

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

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

type HypernodeList

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

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

HypernodeList is a list of Foo resources

func (*HypernodeList) DeepCopy

func (in *HypernodeList) DeepCopy() *HypernodeList

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

func (*HypernodeList) DeepCopyInto

func (in *HypernodeList) DeepCopyInto(out *HypernodeList)

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

func (*HypernodeList) DeepCopyObject

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

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

type HypernodeSpec

type HypernodeSpec struct {
	MyAreaName     string `json:"myAreaName"`
	NodeAreaType   string `json:"nodeAreaType"`
	SupervisorName string `json:"supervisorName"`
}

HypernodeSpec is the spec for a Foo resource

func (*HypernodeSpec) DeepCopy

func (in *HypernodeSpec) DeepCopy() *HypernodeSpec

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

func (*HypernodeSpec) DeepCopyInto

func (in *HypernodeSpec) DeepCopyInto(out *HypernodeSpec)

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