v1alpha1

package
v0.0.0-...-d0e1227 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

View Source
const APIKind = "API"
View Source
const APIResource = "apis"
View Source
const GroupName = "kolm.tools.onmetal.de"

Variables

View Source
var (
	GroupVersion = schema.GroupVersion{
		Group:   GroupName,
		Version: "v1alpha1",
	}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type API

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

	ETCD      APIETCD      `json:"etcd"`
	APIServer APIAPIServer `json:"apiServer"`
}

func (*API) DeepCopy

func (in *API) DeepCopy() *API

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

func (*API) DeepCopyInto

func (in *API) DeepCopyInto(out *API)

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

func (*API) DeepCopyObject

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

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

type APIAPIServer

type APIAPIServer struct {
	Host string `json:"host"`
	Port int32  `json:"port"`
}

func (*APIAPIServer) DeepCopy

func (in *APIAPIServer) DeepCopy() *APIAPIServer

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

func (*APIAPIServer) DeepCopyInto

func (in *APIAPIServer) DeepCopyInto(out *APIAPIServer)

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

type APIETCD

type APIETCD struct {
	Host string `json:"host"`
	Port int32  `json:"port"`

	PeerHost string `json:"peerHost"`
	PeerPort int32  `json:"peerPort"`
}

func (*APIETCD) DeepCopy

func (in *APIETCD) DeepCopy() *APIETCD

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

func (*APIETCD) DeepCopyInto

func (in *APIETCD) DeepCopyInto(out *APIETCD)

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

type APIList

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

func (*APIList) DeepCopy

func (in *APIList) DeepCopy() *APIList

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

func (*APIList) DeepCopyInto

func (in *APIList) DeepCopyInto(out *APIList)

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

func (*APIList) DeepCopyObject

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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