v1

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package,register +groupName=kubernikus.sap.cc

Index

Constants

View Source
const GroupName = "kubernikus.sap.cc"

GroupName is the group name for the Ark API

View Source
const (
	KlusterResourcePlural = "klusters"
)

Variables

View Source
var (
	// SchemeBuilder collects the scheme builder functions for the Ark API
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	// AddToScheme applies the SchemeBuilder functions to a specified scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is the GroupVersion for the Ark API

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource gets an Ark GroupResource for a specified resource

Types

type Kluster

type Kluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              models.KlusterSpec   `json:"spec"`
	Status            models.KlusterStatus `json:"status,omitempty"`
}

func (Kluster) Account

func (spec Kluster) Account() string

func (*Kluster) AddFinalizer added in v1.5.0

func (k *Kluster) AddFinalizer(finalizer string)

func (Kluster) ApiServiceIP

func (spec Kluster) ApiServiceIP() (net.IP, error)

func (*Kluster) DeepCopy added in v1.5.0

func (in *Kluster) DeepCopy() *Kluster

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

func (*Kluster) DeepCopyInto added in v1.5.0

func (in *Kluster) DeepCopyInto(out *Kluster)

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

func (*Kluster) DeepCopyObject added in v1.5.0

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

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

func (*Kluster) HasFinalizer added in v1.5.0

func (k *Kluster) HasFinalizer(finalizer string) bool

func (*Kluster) NeedsFinalizer added in v1.5.0

func (k *Kluster) NeedsFinalizer(finalizer string) bool

func (*Kluster) RemoveFinalizer added in v1.5.0

func (k *Kluster) RemoveFinalizer(finalizer string)

type KlusterList

type KlusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Kluster `json:"items"`
}

func (*KlusterList) DeepCopy added in v1.5.0

func (in *KlusterList) DeepCopy() *KlusterList

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

func (*KlusterList) DeepCopyInto added in v1.5.0

func (in *KlusterList) DeepCopyInto(out *KlusterList)

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

func (*KlusterList) DeepCopyObject added in v1.5.0

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

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

Jump to

Keyboard shortcuts

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