 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
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 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/release-1.2/docs/devel/api-conventions.md#metadata.
	api.ObjectMeta `json:"metadata,omitempty"`
	// defines the behavior of the scale. More info: http://releases.k8s.io/release-1.2/docs/devel/api-conventions.md#spec-and-status.
	Spec ScaleSpec `json:"spec,omitempty"`
	// current status of the scale. More info: http://releases.k8s.io/release-1.2/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/release-1.2/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
      ¶
      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. | 
 Click to show internal directories. 
   Click to hide internal directories.