Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct { BuildRegistry build.Registry PodGetter pod.ResourceGetter ConnectionInfo kclient.ConnectionInfoGetter Timeout time.Duration }
REST is an implementation of RESTStorage for the api server.
func NewREST ¶
func NewREST(b build.Registry, pn kclient.PodsNamespacer, connectionInfo kclient.ConnectionInfoGetter) *REST
NewREST creates a new REST for BuildLog Takes build registry and pod client to get necessary attributes to assemble URL to which the request shall be redirected in order to get build logs.
Click to show internal directories.
Click to hide internal directories.