Documentation ¶
Index ¶
- type Client
- type HTTPProxy
- func (p *HTTPProxy) NewClient(namespace string, pod string, port int) *Client
- func (p *HTTPProxy) NewClientWithPath(namespace string, pod string, port int, path string) *Client
- func (p *HTTPProxy) NewSecureClient(namespace string, pod string, port int) *Client
- func (p *HTTPProxy) NewSecureClientWithPath(namespace string, pod string, port int, path string) *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an HTTP client using Kubernetes API server as a proxy. With this client you can execute HTTP methods on any k8s pod from outside the cluster. No need to manually execute `kubectl port-forward`, `kubectl proxy` or something similar.
type HTTPProxy ¶
type HTTPProxy struct {
// contains filtered or unexported fields
}
func (*HTTPProxy) NewClientWithPath ¶
func (*HTTPProxy) NewSecureClient ¶
Click to show internal directories.
Click to hide internal directories.