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 unversioned.ReplicationControllersNamespacer PodGetter unversioned.PodsNamespacer ConnectionInfo kubeletclient.ConnectionInfoGetter Timeout time.Duration }
REST is an implementation of RESTStorage for the api server.
func NewREST ¶
func NewREST(dn client.DeploymentConfigsNamespacer, rn unversioned.ReplicationControllersNamespacer, pn unversioned.PodsNamespacer, connectionInfo kubeletclient.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.