Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=codesink.net
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: groupName, Version: version} )
Functions ¶
This section is empty.
Types ¶
type ServiceWeight ¶
type WeightedService ¶
type WeightedService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec WeightedServiceSpec `json:"spec"` Status WeightedServiceStatus `json:"status,omitempty"` }
func (*WeightedService) DeepCopy ¶
func (in *WeightedService) DeepCopy() *WeightedService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedService.
func (*WeightedService) DeepCopyInto ¶
func (in *WeightedService) DeepCopyInto(out *WeightedService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WeightedService) DeepCopyObject ¶
func (in *WeightedService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WeightedServiceList ¶
type WeightedServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []WeightedService `json:"items"` }
func (*WeightedServiceList) DeepCopy ¶
func (in *WeightedServiceList) DeepCopy() *WeightedServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedServiceList.
func (*WeightedServiceList) DeepCopyInto ¶
func (in *WeightedServiceList) DeepCopyInto(out *WeightedServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WeightedServiceList) DeepCopyObject ¶
func (in *WeightedServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WeightedServiceSpec ¶
type WeightedServiceSpec struct { *corev1.ServiceSpec Scheduler string `json:"scheduler"` Weights []ServiceWeight `json:"weights,omitempty"` }
func (*WeightedServiceSpec) DeepCopy ¶
func (in *WeightedServiceSpec) DeepCopy() *WeightedServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedServiceSpec.
func (*WeightedServiceSpec) DeepCopyInto ¶
func (in *WeightedServiceSpec) DeepCopyInto(out *WeightedServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeightedServiceStatus ¶
type WeightedServiceStatus struct { }
func (*WeightedServiceStatus) DeepCopy ¶
func (in *WeightedServiceStatus) DeepCopy() *WeightedServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedServiceStatus.
func (*WeightedServiceStatus) DeepCopyInto ¶
func (in *WeightedServiceStatus) DeepCopyInto(out *WeightedServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.