Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=galaxy.k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: galaxy.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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"` //subnet used as node's subnet Subnet string `json:"subnet"` //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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pool.
func (*Pool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Pool) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolList.
func (*PoolList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PoolList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.