Documentation ¶
Index ¶
- Constants
- Variables
- func AddToScheme(scheme *runtime.Scheme)
- func DeepCopy_autoscaling_Scale(in Scale, out *Scale, c *conversion.Cloner) error
- func DeepCopy_autoscaling_ScaleSpec(in ScaleSpec, out *ScaleSpec, c *conversion.Cloner) error
- func DeepCopy_autoscaling_ScaleStatus(in ScaleStatus, out *ScaleStatus, c *conversion.Cloner) error
- func Kind(kind string) unversioned.GroupKind
- func Resource(resource string) unversioned.GroupResource
- type Scale
- type ScaleSpec
- type ScaleStatus
Constants ¶
View Source
const GroupName = "autoscaling"
GroupName is the group name use in this package
Variables ¶
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func AddToScheme ¶
func DeepCopy_autoscaling_Scale ¶
func DeepCopy_autoscaling_Scale(in Scale, out *Scale, c *conversion.Cloner) error
func DeepCopy_autoscaling_ScaleSpec ¶
func DeepCopy_autoscaling_ScaleSpec(in ScaleSpec, out *ScaleSpec, c *conversion.Cloner) error
func DeepCopy_autoscaling_ScaleStatus ¶
func DeepCopy_autoscaling_ScaleStatus(in ScaleStatus, out *ScaleStatus, c *conversion.Cloner) error
func Kind ¶
func Kind(kind string) unversioned.GroupKind
Kind takes an unqualified kind and returns back a Group qualified GroupKind
func Resource ¶
func Resource(resource string) unversioned.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
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. api.ObjectMeta `json:"metadata,omitempty"` // defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Spec ScaleSpec `json:"spec,omitempty"` // current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. Status ScaleStatus `json:"status,omitempty"` }
Scale represents a scaling request for a resource.
func (*Scale) CodecDecodeSelf ¶
func (*Scale) CodecEncodeSelf ¶
func (*Scale) GetObjectKind ¶
func (obj *Scale) GetObjectKind() unversioned.ObjectKind
type ScaleSpec ¶
type ScaleSpec struct { // desired number of instances for the scaled object. Replicas int `json:"replicas,omitempty"` }
ScaleSpec describes the attributes of a scale subresource.
func (*ScaleSpec) CodecDecodeSelf ¶
func (*ScaleSpec) CodecEncodeSelf ¶
type ScaleStatus ¶
type ScaleStatus struct { // actual number of observed instances of the scaled object. Replicas int `json:"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: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors Selector string `json:"selector,omitempty"` }
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)
Directories ¶
Path | Synopsis |
---|---|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
+genconversion=true Package v1 is a generated protocol buffer package.
|
+genconversion=true Package v1 is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.