Documentation ¶
Overview ¶
Package curl provides a http implementation that utilises curl requests on an existing k8s pod
Index ¶
- Constants
- type Client
- func (c *Client) CloneForPod(podName string) *Client
- func (c *Client) Delete(path string, headers map[string]string) (*http.Response, error)
- func (c *Client) Get(path string, headers map[string]string) (*http.Response, error)
- func (c *Client) Head(path string, headers map[string]string) (*http.Response, error)
- func (c *Client) Post(path, payload string, headers map[string]string) (*http.Response, error)
- func (c *Client) PostMultipart(path string, parts map[string]string, headers map[string]string) (*http.Response, error)
- func (c *Client) Put(path, payload string, headers map[string]string) (*http.Response, error)
- type Config
- type Credentials
Constants ¶
View Source
const DEBUG = false
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config Config *kube.Kubernetes }
func (*Client) CloneForPod ¶
func (*Client) PostMultipart ¶
type Credentials ¶
Click to show internal directories.
Click to hide internal directories.