api

package
v0.0.0-...-c83f773 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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
}

func CreateClient

func CreateClient() Client

Creates a client which wraps the kube client in helpers.

func (*Client) StreamLogs

func (c *Client) StreamLogs(ctx context.Context, pod *v1.Pod, sub chan<- tea.Msg)

func (*Client) WatchPods

func (c *Client) WatchPods(namespace string, sub chan<- tea.Msg, stop <-chan struct{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL