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 {
// contains filtered or unexported fields
}
REST is an implementation of RESTStorage for the api server.
func NewREST ¶
func NewREST(dn client.DeploymentConfigsNamespacer, rn kcoreclient.ReplicationControllersGetter, pn kcoreclient.PodsGetter, 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.