Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewREST ¶ added in v1.1.2
func NewREST(s storage.Interface, rcNamespacer kclient.ReplicationControllersNamespacer) (*REST, *StatusREST, *ScaleREST)
NewStorage returns a DeploymentConfigStorage containing the REST storage for DeploymentConfig objects and their Scale subresources.
Types ¶
type REST ¶
type REST struct {
*etcdgeneric.Etcd
}
REST contains the REST storage for DeploymentConfig objects.
type ScaleREST ¶ added in v1.0.8
type ScaleREST struct {
// contains filtered or unexported fields
}
ScaleREST contains the REST storage for the Scale subresource of DeploymentConfigs.
func (*ScaleREST) Get ¶ added in v1.0.8
Get retrieves (computes) the Scale subresource for the given DeploymentConfig name.
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
StatusREST implements the REST endpoint for changing the status of a DeploymentConfig.
func (*StatusREST) New ¶
func (r *StatusREST) New() runtime.Object
Click to show internal directories.
Click to hide internal directories.