Documentation ¶
Overview ¶
Package deploylog provides a Registry interface for retrieving deployment logs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct { ConfigGetter client.DeploymentConfigsNamespacer DeploymentGetter kclient.ReplicationControllersNamespacer PodGetter pod.ResourceGetter ConnectionInfo kclient.ConnectionInfoGetter Timeout time.Duration }
REST is an implementation of RESTStorage for the api server.
func NewREST ¶
func NewREST(dn client.DeploymentConfigsNamespacer, rn kclient.ReplicationControllersNamespacer, pn kclient.PodsNamespacer, connectionInfo kclient.ConnectionInfoGetter) *REST
NewREST creates a new REST for DeploymentLogs. It uses three clients: one for configs, one for deployments (replication controllers) and one for pods to get the necessary attributes to assemble the URL to which the request shall be redirected in order to get the deployment logs.
Click to show internal directories.
Click to hide internal directories.