{"modulePath":"github.com/2lambda123/openshift-origin","version":"v3.10.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package deploylog\n\nPackage deploylog provides a Registry interface for retrieving deployment logs\n\n## Types\n\n```go\ntype REST struct {\n\t// contains filtered or unexported fields\n}\n```\nREST is an implementation of RESTStorage for the api server.\n\n```go\nfunc NewREST(dcClient appsclient.DeploymentConfigsGetter, rcClient kcoreclient.ReplicationControllersGetter, podClient kcoreclient.PodsGetter) *REST\n```\nNewREST 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.\n\n```go\nfunc (r *REST) Get(ctx apirequest.Context, name string, opts runtime.Object) (runtime.Object, error)\n```\nGet returns a streamer resource with the contents of the deployment log\n\n```go\nfunc (r *REST) New() runtime.Object\n```\nNew creates an empty DeploymentLog resource\n\n```go\nfunc (r *REST) NewGetOptions() (runtime.Object, bool, string)\n```\nNewGetOptions returns a new options object for deployment logs\n\n","path":"github.com/2lambda123/openshift-origin/pkg/apps/registry/deploylog","name":"deploylog","synopsis":"Package deploylog provides a Registry interface for retrieving deployment logs","isRedistributable":true}
