v1alpha1

package
v0.0.0-...-f5371c8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.hasno.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "app.hasno.com", 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
)

Functions

This section is empty.

Types

type HALayerSet

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

	Spec   HALayerSetSpec   `json:"spec,omitempty"`
	Status HALayerSetStatus `json:"status,omitempty"`
}

HALayerSet is the Schema for the halayersets API

func (*HALayerSet) DeepCopy

func (in *HALayerSet) DeepCopy() *HALayerSet

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

func (*HALayerSet) DeepCopyInto

func (in *HALayerSet) DeepCopyInto(out *HALayerSet)

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

func (*HALayerSet) DeepCopyObject

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

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

type HALayerSetList

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

HALayerSetList contains a list of HALayerSet

func (*HALayerSetList) DeepCopy

func (in *HALayerSetList) DeepCopy() *HALayerSetList

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

func (*HALayerSetList) DeepCopyInto

func (in *HALayerSetList) DeepCopyInto(out *HALayerSetList)

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

func (*HALayerSetList) DeepCopyObject

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

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

type HALayerSetSpec

type HALayerSetSpec struct {

	//Node1Address is the ip address used by the first node in the cluster.
	Node1Address string `json:"node1address"`

	//Node2Address is the ip address used by the second node in the cluster.
	Node2Address string `json:"node2address"`

	//NodeName is the name of the node used in current SNO cluster (either cluster1 or cluster2).
	NodeName string `json:"nodename"`

	//TODO mshitrit use a Secret object
	//AuthKey is the authkey used by both sno clusters.
	AuthKey string `json:"authkey"`
}

HALayerSetSpec defines the desired state of HALayerSet

func (*HALayerSetSpec) DeepCopy

func (in *HALayerSetSpec) DeepCopy() *HALayerSetSpec

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

func (*HALayerSetSpec) DeepCopyInto

func (in *HALayerSetSpec) DeepCopyInto(out *HALayerSetSpec)

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

type HALayerSetStatus

type HALayerSetStatus struct {
}

HALayerSetStatus defines the observed state of HALayerSet

func (*HALayerSetStatus) DeepCopy

func (in *HALayerSetStatus) DeepCopy() *HALayerSetStatus

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

func (*HALayerSetStatus) DeepCopyInto

func (in *HALayerSetStatus) DeepCopyInto(out *HALayerSetStatus)

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