Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipeStreamer ¶
type PipeStreamer struct { In *io.PipeWriter Out *io.PipeReader Flush bool ContentType string }
PipeStreamer is a resource that streams the contents of a particular pipe
func (*PipeStreamer) DeepCopyObject ¶
func (obj *PipeStreamer) DeepCopyObject() runtime.Object
func (*PipeStreamer) GetObjectKind ¶
func (obj *PipeStreamer) GetObjectKind() schema.ObjectKind
func (*PipeStreamer) InputStream ¶
func (s *PipeStreamer) InputStream(ctx context.Context, apiVersion, acceptHeader string) (stream io.ReadCloser, flush bool, contentType string, err error)
InputStream returns a stream with the contents of the embedded pipe.
type REST ¶
type REST struct { BuildClient buildtypedclient.BuildsGetter PodClient kubetypedclient.PodsGetter Timeout time.Duration // contains filtered or unexported fields }
REST is an implementation of RESTStorage for the api server.
func NewREST ¶
func NewREST(buildClient buildtypedclient.BuildsGetter, podClient kubetypedclient.PodsGetter) *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.