Documentation ¶
Index ¶
- func NewREST(b build.Registry, pn kclient.PodsNamespacer) apiserver.RESTStorage
- type PodControlInterface
- type REST
- func (r *REST) Create(ctx kapi.Context, obj runtime.Object) (<-chan apiserver.RESTResult, error)
- func (r *REST) Delete(ctx kapi.Context, id string) (<-chan apiserver.RESTResult, error)
- func (r *REST) Get(ctx kapi.Context, id string) (runtime.Object, error)
- func (r *REST) List(ctx kapi.Context, selector, fields labels.Selector) (runtime.Object, error)
- func (r *REST) New() runtime.Object
- func (*REST) NewList() runtime.Object
- func (r *REST) ResourceLocation(ctx kapi.Context, id string) (string, error)
- func (r *REST) Update(ctx kapi.Context, obj runtime.Object) (<-chan apiserver.RESTResult, error)
- type RealPodControl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewREST ¶
func NewREST(b build.Registry, pn kclient.PodsNamespacer) apiserver.RESTStorage
NewREST creates a new REST for BuildLog Takes build registry and pod client to get neccessary attibutes to assamble URL to which the request shall be redirected in order to get build logs.
Types ¶
type PodControlInterface ¶ added in v0.2.1
type PodControlInterface interface {
// contains filtered or unexported methods
}
type REST ¶
type REST struct { BuildRegistry build.Registry PodControl PodControlInterface }
REST is an implementation of RESTStorage for the api server.
func (*REST) ResourceLocation ¶
Redirector implementation
type RealPodControl ¶ added in v0.2.1
type RealPodControl struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.