Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.openyurt.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "apps.openyurt.io", 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 EdgeLoadBalancer ¶
type EdgeLoadBalancer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EdgeLoadBalancerSpec `json:"spec,omitempty"` Status EdgeLoadBalancerStatus `json:"status,omitempty"` }
EdgeLoadBalancer is the Schema for the edgeloadbalancers API
func (*EdgeLoadBalancer) DeepCopy ¶
func (in *EdgeLoadBalancer) DeepCopy() *EdgeLoadBalancer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeLoadBalancer.
func (*EdgeLoadBalancer) DeepCopyInto ¶
func (in *EdgeLoadBalancer) DeepCopyInto(out *EdgeLoadBalancer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeLoadBalancer) DeepCopyObject ¶
func (in *EdgeLoadBalancer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EdgeLoadBalancerList ¶
type EdgeLoadBalancerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EdgeLoadBalancer `json:"items"` }
EdgeLoadBalancerList contains a list of EdgeLoadBalancer
func (*EdgeLoadBalancerList) DeepCopy ¶
func (in *EdgeLoadBalancerList) DeepCopy() *EdgeLoadBalancerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeLoadBalancerList.
func (*EdgeLoadBalancerList) DeepCopyInto ¶
func (in *EdgeLoadBalancerList) DeepCopyInto(out *EdgeLoadBalancerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeLoadBalancerList) DeepCopyObject ¶
func (in *EdgeLoadBalancerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EdgeLoadBalancerSpec ¶
type EdgeLoadBalancerSpec struct { Usecase string `json:"usecase,omitempty"` Devices []string `json:"devices,omitempty"` // device priority list Policy string `json:"policy,omitempty"` // balance(default), round-robin, squeeze, random Performance int32 `json:"performance,omitempty"` // fps }
EdgeLoadBalancerSpec defines the desired state of EdgeLoadBalancer
func (*EdgeLoadBalancerSpec) DeepCopy ¶
func (in *EdgeLoadBalancerSpec) DeepCopy() *EdgeLoadBalancerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeLoadBalancerSpec.
func (*EdgeLoadBalancerSpec) DeepCopyInto ¶
func (in *EdgeLoadBalancerSpec) DeepCopyInto(out *EdgeLoadBalancerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeLoadBalancerStatus ¶
type EdgeLoadBalancerStatus struct { }
EdgeLoadBalancerStatus defines the observed state of EdgeLoadBalancer
func (*EdgeLoadBalancerStatus) DeepCopy ¶
func (in *EdgeLoadBalancerStatus) DeepCopy() *EdgeLoadBalancerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeLoadBalancerStatus.
func (*EdgeLoadBalancerStatus) DeepCopyInto ¶
func (in *EdgeLoadBalancerStatus) DeepCopyInto(out *EdgeLoadBalancerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.