Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct {
Getter rest.Getter
Watcher rest.Watcher
PodGetter pod.ResourceGetter
ConnectionInfo kubeletclient.ConnectionInfoGetter
Timeout time.Duration
}
REST is an implementation of RESTStorage for the api server.
func NewREST ¶
func NewREST(getter rest.Getter, watcher rest.Watcher, pn unversioned.PodsNamespacer, connectionInfo kubeletclient.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.