v1alpha1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=codesink.net

Index

Constants

This section is empty.

Variables

View Source
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 ServiceWeight struct {
	Weight   int               `json:"weight"`
	Selector map[string]string `json:"selector"`
}

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

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.

Jump to

Keyboard shortcuts

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