v1alpha1

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=galaxy.k8s.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder is a pointer used to call AddToScheme
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is used to register the types to API encoding/decoding machinery
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: galaxy.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 FloatingIP

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

	// Spec defines the desired identities of FloatingIP.
	Spec FloatingIPSpec `json:"spec"`
}

FloatingIP provides configuration for floatingIP.

func (*FloatingIP) DeepCopy

func (in *FloatingIP) DeepCopy() *FloatingIP

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

func (*FloatingIP) DeepCopyInto

func (in *FloatingIP) DeepCopyInto(out *FloatingIP)

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

func (*FloatingIP) DeepCopyObject

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

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

type FloatingIPList

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

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

FloatingIPList is list of FloatingIP.

func (*FloatingIPList) DeepCopy

func (in *FloatingIPList) DeepCopy() *FloatingIPList

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

func (*FloatingIPList) DeepCopyInto

func (in *FloatingIPList) DeepCopyInto(out *FloatingIPList)

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

func (*FloatingIPList) DeepCopyObject

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

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

type FloatingIPSpec

type FloatingIPSpec struct {
	//key can be resolved as pool, namespace name, app name, app type and pod name
	Key string `json:"key"`
	//attribute used as node ip
	Attribute string `json:"attribute"`
	//policy used as
	Policy constant.ReleasePolicy `json:"policy"`
	//FloatingIP update(allocate, release or update) timestamp
	UpdateTime metav1.Time `json:"updateTime"`
}

FloatingIPSpec is spec of FloatingIP.

func (*FloatingIPSpec) DeepCopy

func (in *FloatingIPSpec) DeepCopy() *FloatingIPSpec

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

func (*FloatingIPSpec) DeepCopyInto

func (in *FloatingIPSpec) DeepCopyInto(out *FloatingIPSpec)

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

type Pool

type Pool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// The pool size
	Size int `json:"size"`
	// Pre-allocate IP when creating pool
	PreAllocateIP bool `json:"preAllocateIP"`
}

Pool provides configuration for FloatingIP pool which used to store FloatingIP.

func (*Pool) DeepCopy

func (in *Pool) DeepCopy() *Pool

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

func (*Pool) DeepCopyInto

func (in *Pool) DeepCopyInto(out *Pool)

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

func (*Pool) DeepCopyObject

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

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

type PoolList

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

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

PoolList is list of Pool struct.

func (*PoolList) DeepCopy

func (in *PoolList) DeepCopy() *PoolList

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

func (*PoolList) DeepCopyInto

func (in *PoolList) DeepCopyInto(out *PoolList)

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

func (*PoolList) DeepCopyObject

func (in *PoolList) 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