Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocationStreamer ¶
type LocationStreamer struct { Token string Location *url.URL Transport http.RoundTripper ContentType string Flush bool ResponseChecker genericrest.HttpResponseChecker RedirectChecker func(req *http.Request, via []*http.Request) error }
LocationStreamer is a resource that streams the contents of a particular location URL.
func (*LocationStreamer) DeepCopyObject ¶
func (s *LocationStreamer) DeepCopyObject() runtime.Object
DeepCopyObject return an Object may choose to return a no-op ObjectKindAccessor in cases where it is not expected to be serialized.
func (*LocationStreamer) GetObjectKind ¶
func (s *LocationStreamer) GetObjectKind() schema.ObjectKind
GetObjectKind return an Object must provide to the Scheme allows serializers to set the kind, version, and group the object is represented as.
func (*LocationStreamer) InputStream ¶
func (s *LocationStreamer) 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 URL location. If no location is provided, a null stream is returned.
Click to show internal directories.
Click to hide internal directories.