Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnknownDeploymentPhase is returned for WaitForRunningDeployment if an unknown phase is returned. ErrUnknownDeploymentPhase = errors.New("unknown deployment phase") )
Functions ¶
func WaitForRunningDeployment ¶
func WaitForRunningDeployment(rn kclient.ReplicationControllersNamespacer, observed *kapi.ReplicationController, timeout time.Duration) (*kapi.ReplicationController, bool, error)
WaitForRunningDeployment waits until the specified deployment is no longer New or Pending. Returns true if the deployment became running, complete, or failed within timeout, false if it did not, and an error if any other error state occurred. The last observed deployment state is returned.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package deployconfig provides Registry interface and its RESTStorage implementation for storing DeploymentConfig api objects.
|
Package deployconfig provides Registry interface and its RESTStorage implementation for storing DeploymentConfig api objects. |
Package deploylog provides a Registry interface for retrieving deployment logs
|
Package deploylog provides a Registry interface for retrieving deployment logs |
Package generator contains the code for DeploymentConfig regeneration as well as REST support to help expose the generator from an API.
|
Package generator contains the code for DeploymentConfig regeneration as well as REST support to help expose the generator from an API. |
Package rollback contains the code for generating DeploymentConfigs representing rollbacks as well as REST support for API clients.
|
Package rollback contains the code for generating DeploymentConfigs representing rollbacks as well as REST support for API clients. |
Click to show internal directories.
Click to hide internal directories.