Documentation ¶
Index ¶
- Variables
- type Options
- type Params
- type Request
- func (r *Request) Body(in interface{}) *Request
- func (r *Request) Delete() *Request
- func (r *Request) Do() *Response
- func (r *Request) Get() *Request
- func (r *Request) Name(s string) *Request
- func (r *Request) Namespace(s string) *Request
- func (r *Request) Params(p *Params) *Request
- func (r *Request) Patch() *Request
- func (r *Request) Post() *Request
- func (r *Request) Put() *Request
- func (r *Request) Resource(s string) *Request
- func (r *Request) SetHeader(key, value string) *Request
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("kubernetes: resource not found") ErrDecode = errors.New("kubernetes: error decoding") ErrUnknown = errors.New("kubernetes: unknown error") )
Errors ...
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
Request is used to construct a http request for the k8s API.
Click to show internal directories.
Click to hide internal directories.