Documentation ¶
Index ¶
- type KubeClient
- func (c *KubeClient) Exec(namespace, pod, container string, cmd []string, tty bool, ...) error
- func (c *KubeClient) GetConfig() *rest.Config
- func (c *KubeClient) Log(ctx context.Context, namespace, pod, container string, follow bool) (io.ReadCloser, error)
- func (c *KubeClient) StartCache() (err error)
- func (c *KubeClient) Watch(objs ...client.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeClient ¶
func NewClient ¶
func NewClient(kubeconfig *weaveconfig.KubeConfig) (*KubeClient, error)
func (*KubeClient) Exec ¶
func (c *KubeClient) Exec(namespace, pod, container string, cmd []string, tty bool, options remotecommand.StreamOptions) error
func (*KubeClient) GetConfig ¶
func (c *KubeClient) GetConfig() *rest.Config
func (*KubeClient) Log ¶
func (c *KubeClient) Log(ctx context.Context, namespace, pod, container string, follow bool) (io.ReadCloser, error)
func (*KubeClient) StartCache ¶
func (c *KubeClient) StartCache() (err error)
Click to show internal directories.
Click to hide internal directories.