v1

package
v1.5.6-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

k8s.io/kubernetes/pkg/apis/autoscaling/v1/generated.proto

It has these top-level messages:

CrossVersionObjectReference
HorizontalPodAutoscaler
HorizontalPodAutoscalerList
HorizontalPodAutoscalerSpec
HorizontalPodAutoscalerStatus
Scale
ScaleSpec
ScaleStatus

Index

Constants

View Source
const GroupName = "autoscaling"

GroupName is the group name use in this package

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_autoscaling_CrossVersionObjectReference_To_v1_CrossVersionObjectReference added in v1.3.0

func Convert_autoscaling_CrossVersionObjectReference_To_v1_CrossVersionObjectReference(in *autoscaling.CrossVersionObjectReference, out *CrossVersionObjectReference, s conversion.Scope) error

func Convert_autoscaling_HorizontalPodAutoscalerList_To_v1_HorizontalPodAutoscalerList added in v1.3.0

func Convert_autoscaling_HorizontalPodAutoscalerList_To_v1_HorizontalPodAutoscalerList(in *autoscaling.HorizontalPodAutoscalerList, out *HorizontalPodAutoscalerList, s conversion.Scope) error

func Convert_autoscaling_HorizontalPodAutoscalerSpec_To_v1_HorizontalPodAutoscalerSpec added in v1.3.0

func Convert_autoscaling_HorizontalPodAutoscalerSpec_To_v1_HorizontalPodAutoscalerSpec(in *autoscaling.HorizontalPodAutoscalerSpec, out *HorizontalPodAutoscalerSpec, s conversion.Scope) error

func Convert_autoscaling_HorizontalPodAutoscalerStatus_To_v1_HorizontalPodAutoscalerStatus added in v1.3.0

func Convert_autoscaling_HorizontalPodAutoscalerStatus_To_v1_HorizontalPodAutoscalerStatus(in *autoscaling.HorizontalPodAutoscalerStatus, out *HorizontalPodAutoscalerStatus, s conversion.Scope) error

func Convert_autoscaling_HorizontalPodAutoscaler_To_v1_HorizontalPodAutoscaler added in v1.3.0

func Convert_autoscaling_HorizontalPodAutoscaler_To_v1_HorizontalPodAutoscaler(in *autoscaling.HorizontalPodAutoscaler, out *HorizontalPodAutoscaler, s conversion.Scope) error

func Convert_autoscaling_ScaleSpec_To_v1_ScaleSpec

func Convert_autoscaling_ScaleSpec_To_v1_ScaleSpec(in *autoscaling.ScaleSpec, out *ScaleSpec, s conversion.Scope) error

func Convert_autoscaling_ScaleStatus_To_v1_ScaleStatus

func Convert_autoscaling_ScaleStatus_To_v1_ScaleStatus(in *autoscaling.ScaleStatus, out *ScaleStatus, s conversion.Scope) error

func Convert_autoscaling_Scale_To_v1_Scale

func Convert_autoscaling_Scale_To_v1_Scale(in *autoscaling.Scale, out *Scale, s conversion.Scope) error

func Convert_v1_CrossVersionObjectReference_To_autoscaling_CrossVersionObjectReference added in v1.3.0

func Convert_v1_CrossVersionObjectReference_To_autoscaling_CrossVersionObjectReference(in *CrossVersionObjectReference, out *autoscaling.CrossVersionObjectReference, s conversion.Scope) error

func Convert_v1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAutoscalerList added in v1.3.0

func Convert_v1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAutoscalerList(in *HorizontalPodAutoscalerList, out *autoscaling.HorizontalPodAutoscalerList, s conversion.Scope) error

func Convert_v1_HorizontalPodAutoscalerSpec_To_autoscaling_HorizontalPodAutoscalerSpec added in v1.3.0

func Convert_v1_HorizontalPodAutoscalerSpec_To_autoscaling_HorizontalPodAutoscalerSpec(in *HorizontalPodAutoscalerSpec, out *autoscaling.HorizontalPodAutoscalerSpec, s conversion.Scope) error

func Convert_v1_HorizontalPodAutoscalerStatus_To_autoscaling_HorizontalPodAutoscalerStatus added in v1.3.0

func Convert_v1_HorizontalPodAutoscalerStatus_To_autoscaling_HorizontalPodAutoscalerStatus(in *HorizontalPodAutoscalerStatus, out *autoscaling.HorizontalPodAutoscalerStatus, s conversion.Scope) error

func Convert_v1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutoscaler added in v1.3.0

func Convert_v1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutoscaler(in *HorizontalPodAutoscaler, out *autoscaling.HorizontalPodAutoscaler, s conversion.Scope) error

func Convert_v1_ScaleSpec_To_autoscaling_ScaleSpec

func Convert_v1_ScaleSpec_To_autoscaling_ScaleSpec(in *ScaleSpec, out *autoscaling.ScaleSpec, s conversion.Scope) error

func Convert_v1_ScaleStatus_To_autoscaling_ScaleStatus

func Convert_v1_ScaleStatus_To_autoscaling_ScaleStatus(in *ScaleStatus, out *autoscaling.ScaleStatus, s conversion.Scope) error

func Convert_v1_Scale_To_autoscaling_Scale

func Convert_v1_Scale_To_autoscaling_Scale(in *Scale, out *autoscaling.Scale, s conversion.Scope) error

func DeepCopy_v1_CrossVersionObjectReference added in v1.3.0

func DeepCopy_v1_CrossVersionObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_HorizontalPodAutoscaler added in v1.3.0

func DeepCopy_v1_HorizontalPodAutoscaler(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_HorizontalPodAutoscalerList added in v1.3.0

func DeepCopy_v1_HorizontalPodAutoscalerList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_HorizontalPodAutoscalerSpec added in v1.3.0

func DeepCopy_v1_HorizontalPodAutoscalerSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_HorizontalPodAutoscalerStatus added in v1.3.0

func DeepCopy_v1_HorizontalPodAutoscalerStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_Scale added in v1.3.0

func DeepCopy_v1_Scale(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ScaleSpec added in v1.3.0

func DeepCopy_v1_ScaleSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ScaleStatus added in v1.3.0

func DeepCopy_v1_ScaleStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func RegisterConversions added in v1.4.0

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies added in v1.4.0

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults added in v1.5.0

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func SetDefaults_HorizontalPodAutoscaler added in v1.3.0

func SetDefaults_HorizontalPodAutoscaler(obj *HorizontalPodAutoscaler)

func SetObjectDefaults_HorizontalPodAutoscaler added in v1.5.0

func SetObjectDefaults_HorizontalPodAutoscaler(in *HorizontalPodAutoscaler)

func SetObjectDefaults_HorizontalPodAutoscalerList added in v1.5.0

func SetObjectDefaults_HorizontalPodAutoscalerList(in *HorizontalPodAutoscalerList)

Types

type CrossVersionObjectReference

type CrossVersionObjectReference struct {
	// Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds"
	Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name string `json:"name" protobuf:"bytes,2,opt,name=name"`
	// API version of the referent
	// +optional
	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,3,opt,name=apiVersion"`
}

CrossVersionObjectReference contains enough information to let you identify the referred resource.

func (*CrossVersionObjectReference) CodecDecodeSelf

func (x *CrossVersionObjectReference) CodecDecodeSelf(d *codec1978.Decoder)

func (*CrossVersionObjectReference) CodecEncodeSelf

func (x *CrossVersionObjectReference) CodecEncodeSelf(e *codec1978.Encoder)

func (*CrossVersionObjectReference) Descriptor added in v1.4.0

func (*CrossVersionObjectReference) Descriptor() ([]byte, []int)

func (*CrossVersionObjectReference) Marshal added in v1.3.0

func (m *CrossVersionObjectReference) Marshal() (data []byte, err error)

func (*CrossVersionObjectReference) MarshalTo added in v1.3.0

func (m *CrossVersionObjectReference) MarshalTo(data []byte) (int, error)

func (*CrossVersionObjectReference) ProtoMessage added in v1.3.0

func (*CrossVersionObjectReference) ProtoMessage()

func (*CrossVersionObjectReference) Reset added in v1.3.0

func (m *CrossVersionObjectReference) Reset()

func (*CrossVersionObjectReference) Size added in v1.3.0

func (m *CrossVersionObjectReference) Size() (n int)

func (*CrossVersionObjectReference) String added in v1.3.0

func (this *CrossVersionObjectReference) String() string

func (CrossVersionObjectReference) SwaggerDoc

func (CrossVersionObjectReference) SwaggerDoc() map[string]string

func (*CrossVersionObjectReference) Unmarshal added in v1.3.0

func (m *CrossVersionObjectReference) Unmarshal(data []byte) error

type HorizontalPodAutoscaler

type HorizontalPodAutoscaler struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.
	// +optional
	Spec HorizontalPodAutoscalerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// current information about the autoscaler.
	// +optional
	Status HorizontalPodAutoscalerStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

configuration of a horizontal pod autoscaler.

func (*HorizontalPodAutoscaler) CodecDecodeSelf

func (x *HorizontalPodAutoscaler) CodecDecodeSelf(d *codec1978.Decoder)

func (*HorizontalPodAutoscaler) CodecEncodeSelf

func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder)

func (*HorizontalPodAutoscaler) Descriptor added in v1.4.0

func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int)

func (*HorizontalPodAutoscaler) Marshal added in v1.3.0

func (m *HorizontalPodAutoscaler) Marshal() (data []byte, err error)

func (*HorizontalPodAutoscaler) MarshalTo added in v1.3.0

func (m *HorizontalPodAutoscaler) MarshalTo(data []byte) (int, error)

func (*HorizontalPodAutoscaler) ProtoMessage added in v1.3.0

func (*HorizontalPodAutoscaler) ProtoMessage()

func (*HorizontalPodAutoscaler) Reset added in v1.3.0

func (m *HorizontalPodAutoscaler) Reset()

func (*HorizontalPodAutoscaler) Size added in v1.3.0

func (m *HorizontalPodAutoscaler) Size() (n int)

func (*HorizontalPodAutoscaler) String added in v1.3.0

func (this *HorizontalPodAutoscaler) String() string

func (HorizontalPodAutoscaler) SwaggerDoc

func (HorizontalPodAutoscaler) SwaggerDoc() map[string]string

func (*HorizontalPodAutoscaler) Unmarshal added in v1.3.0

func (m *HorizontalPodAutoscaler) Unmarshal(data []byte) error

type HorizontalPodAutoscalerList

type HorizontalPodAutoscalerList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata.
	// +optional
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// list of horizontal pod autoscaler objects.
	Items []HorizontalPodAutoscaler `json:"items" protobuf:"bytes,2,rep,name=items"`
}

list of horizontal pod autoscaler objects.

func (*HorizontalPodAutoscalerList) CodecDecodeSelf

func (x *HorizontalPodAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder)

func (*HorizontalPodAutoscalerList) CodecEncodeSelf

func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder)

func (*HorizontalPodAutoscalerList) Descriptor added in v1.4.0

func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int)

func (*HorizontalPodAutoscalerList) Marshal added in v1.3.0

func (m *HorizontalPodAutoscalerList) Marshal() (data []byte, err error)

func (*HorizontalPodAutoscalerList) MarshalTo added in v1.3.0

func (m *HorizontalPodAutoscalerList) MarshalTo(data []byte) (int, error)

func (*HorizontalPodAutoscalerList) ProtoMessage added in v1.3.0

func (*HorizontalPodAutoscalerList) ProtoMessage()

func (*HorizontalPodAutoscalerList) Reset added in v1.3.0

func (m *HorizontalPodAutoscalerList) Reset()

func (*HorizontalPodAutoscalerList) Size added in v1.3.0

func (m *HorizontalPodAutoscalerList) Size() (n int)

func (*HorizontalPodAutoscalerList) String added in v1.3.0

func (this *HorizontalPodAutoscalerList) String() string

func (HorizontalPodAutoscalerList) SwaggerDoc

func (HorizontalPodAutoscalerList) SwaggerDoc() map[string]string

func (*HorizontalPodAutoscalerList) Unmarshal added in v1.3.0

func (m *HorizontalPodAutoscalerList) Unmarshal(data []byte) error

type HorizontalPodAutoscalerSpec

type HorizontalPodAutoscalerSpec struct {
	// reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
	// and will set the desired number of pods by using its Scale subresource.
	ScaleTargetRef CrossVersionObjectReference `json:"scaleTargetRef" protobuf:"bytes,1,opt,name=scaleTargetRef"`
	// lower limit for the number of pods that can be set by the autoscaler, default 1.
	// +optional
	MinReplicas *int32 `json:"minReplicas,omitempty" protobuf:"varint,2,opt,name=minReplicas"`
	// upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
	MaxReplicas int32 `json:"maxReplicas" protobuf:"varint,3,opt,name=maxReplicas"`
	// target average CPU utilization (represented as a percentage of requested CPU) over all the pods;
	// if not specified the default autoscaling policy will be used.
	// +optional
	TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage,omitempty" protobuf:"varint,4,opt,name=targetCPUUtilizationPercentage"`
}

specification of a horizontal pod autoscaler.

func (*HorizontalPodAutoscalerSpec) CodecDecodeSelf

func (x *HorizontalPodAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder)

func (*HorizontalPodAutoscalerSpec) CodecEncodeSelf

func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder)

func (*HorizontalPodAutoscalerSpec) Descriptor added in v1.4.0

func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int)

func (*HorizontalPodAutoscalerSpec) Marshal added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) Marshal() (data []byte, err error)

func (*HorizontalPodAutoscalerSpec) MarshalTo added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error)

func (*HorizontalPodAutoscalerSpec) ProtoMessage added in v1.3.0

func (*HorizontalPodAutoscalerSpec) ProtoMessage()

func (*HorizontalPodAutoscalerSpec) Reset added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) Reset()

func (*HorizontalPodAutoscalerSpec) Size added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) Size() (n int)

func (*HorizontalPodAutoscalerSpec) String added in v1.3.0

func (this *HorizontalPodAutoscalerSpec) String() string

func (HorizontalPodAutoscalerSpec) SwaggerDoc

func (HorizontalPodAutoscalerSpec) SwaggerDoc() map[string]string

func (*HorizontalPodAutoscalerSpec) Unmarshal added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) Unmarshal(data []byte) error

type HorizontalPodAutoscalerStatus

type HorizontalPodAutoscalerStatus struct {
	// most recent generation observed by this autoscaler.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`

	// last time the HorizontalPodAutoscaler scaled the number of pods;
	// used by the autoscaler to control how often the number of pods is changed.
	// +optional
	LastScaleTime *unversioned.Time `json:"lastScaleTime,omitempty" protobuf:"bytes,2,opt,name=lastScaleTime"`

	// current number of replicas of pods managed by this autoscaler.
	CurrentReplicas int32 `json:"currentReplicas" protobuf:"varint,3,opt,name=currentReplicas"`

	// desired number of replicas of pods managed by this autoscaler.
	DesiredReplicas int32 `json:"desiredReplicas" protobuf:"varint,4,opt,name=desiredReplicas"`

	// current average CPU utilization over all pods, represented as a percentage of requested CPU,
	// e.g. 70 means that an average pod is using now 70% of its requested CPU.
	// +optional
	CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage,omitempty" protobuf:"varint,5,opt,name=currentCPUUtilizationPercentage"`
}

current status of a horizontal pod autoscaler

func (*HorizontalPodAutoscalerStatus) CodecDecodeSelf

func (x *HorizontalPodAutoscalerStatus) CodecDecodeSelf(d *codec1978.Decoder)

func (*HorizontalPodAutoscalerStatus) CodecEncodeSelf

func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder)

func (*HorizontalPodAutoscalerStatus) Descriptor added in v1.4.0

func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int)

func (*HorizontalPodAutoscalerStatus) Marshal added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) Marshal() (data []byte, err error)

func (*HorizontalPodAutoscalerStatus) MarshalTo added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) MarshalTo(data []byte) (int, error)

func (*HorizontalPodAutoscalerStatus) ProtoMessage added in v1.3.0

func (*HorizontalPodAutoscalerStatus) ProtoMessage()

func (*HorizontalPodAutoscalerStatus) Reset added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) Reset()

func (*HorizontalPodAutoscalerStatus) Size added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) Size() (n int)

func (*HorizontalPodAutoscalerStatus) String added in v1.3.0

func (this *HorizontalPodAutoscalerStatus) String() string

func (HorizontalPodAutoscalerStatus) SwaggerDoc

func (HorizontalPodAutoscalerStatus) SwaggerDoc() map[string]string

func (*HorizontalPodAutoscalerStatus) Unmarshal added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) Unmarshal(data []byte) error

type Scale

type Scale struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.
	// +optional
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status.
	// +optional
	Spec ScaleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only.
	// +optional
	Status ScaleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Scale represents a scaling request for a resource.

func (*Scale) CodecDecodeSelf

func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder)

func (*Scale) CodecEncodeSelf

func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder)

func (*Scale) Descriptor added in v1.4.0

func (*Scale) Descriptor() ([]byte, []int)

func (*Scale) Marshal added in v1.3.0

func (m *Scale) Marshal() (data []byte, err error)

func (*Scale) MarshalTo added in v1.3.0

func (m *Scale) MarshalTo(data []byte) (int, error)

func (*Scale) ProtoMessage added in v1.3.0

func (*Scale) ProtoMessage()

func (*Scale) Reset added in v1.3.0

func (m *Scale) Reset()

func (*Scale) Size added in v1.3.0

func (m *Scale) Size() (n int)

func (*Scale) String added in v1.3.0

func (this *Scale) String() string

func (Scale) SwaggerDoc

func (Scale) SwaggerDoc() map[string]string

func (*Scale) Unmarshal added in v1.3.0

func (m *Scale) Unmarshal(data []byte) error

type ScaleSpec

type ScaleSpec struct {
	// desired number of instances for the scaled object.
	// +optional
	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
}

ScaleSpec describes the attributes of a scale subresource.

func (*ScaleSpec) CodecDecodeSelf

func (x *ScaleSpec) CodecDecodeSelf(d *codec1978.Decoder)

func (*ScaleSpec) CodecEncodeSelf

func (x *ScaleSpec) CodecEncodeSelf(e *codec1978.Encoder)

func (*ScaleSpec) Descriptor added in v1.4.0

func (*ScaleSpec) Descriptor() ([]byte, []int)

func (*ScaleSpec) Marshal added in v1.3.0

func (m *ScaleSpec) Marshal() (data []byte, err error)

func (*ScaleSpec) MarshalTo added in v1.3.0

func (m *ScaleSpec) MarshalTo(data []byte) (int, error)

func (*ScaleSpec) ProtoMessage added in v1.3.0

func (*ScaleSpec) ProtoMessage()

func (*ScaleSpec) Reset added in v1.3.0

func (m *ScaleSpec) Reset()

func (*ScaleSpec) Size added in v1.3.0

func (m *ScaleSpec) Size() (n int)

func (*ScaleSpec) String added in v1.3.0

func (this *ScaleSpec) String() string

func (ScaleSpec) SwaggerDoc

func (ScaleSpec) SwaggerDoc() map[string]string

func (*ScaleSpec) Unmarshal added in v1.3.0

func (m *ScaleSpec) Unmarshal(data []byte) error

type ScaleStatus

type ScaleStatus struct {
	// actual number of observed instances of the scaled object.
	Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`

	// label query over pods that should match the replicas count. This is same
	// as the label selector but in the string format to avoid introspection
	// by clients. The string will be in the same format as the query-param syntax.
	// More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
	// +optional
	Selector string `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"`
}

ScaleStatus represents the current status of a scale subresource.

func (*ScaleStatus) CodecDecodeSelf

func (x *ScaleStatus) CodecDecodeSelf(d *codec1978.Decoder)

func (*ScaleStatus) CodecEncodeSelf

func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder)

func (*ScaleStatus) Descriptor added in v1.4.0

func (*ScaleStatus) Descriptor() ([]byte, []int)

func (*ScaleStatus) Marshal added in v1.3.0

func (m *ScaleStatus) Marshal() (data []byte, err error)

func (*ScaleStatus) MarshalTo added in v1.3.0

func (m *ScaleStatus) MarshalTo(data []byte) (int, error)

func (*ScaleStatus) ProtoMessage added in v1.3.0

func (*ScaleStatus) ProtoMessage()

func (*ScaleStatus) Reset added in v1.3.0

func (m *ScaleStatus) Reset()

func (*ScaleStatus) Size added in v1.3.0

func (m *ScaleStatus) Size() (n int)

func (*ScaleStatus) String added in v1.3.0

func (this *ScaleStatus) String() string

func (ScaleStatus) SwaggerDoc

func (ScaleStatus) SwaggerDoc() map[string]string

func (*ScaleStatus) Unmarshal added in v1.3.0

func (m *ScaleStatus) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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