Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { kubernetes.Interface ConfigPath() string Config() *rest.Config ServicePods(ctx context.Context, namespace, name string) ([]corev1.Pod, error) ServicePod(ctx context.Context, namespace, name string) (*corev1.Pod, error) ServiceAddress(ctx context.Context, namespace, name string) (string, error) ServicePortForward(ctx context.Context, namespace, name, address string, ports map[int]int, readyChan chan struct{}) error PodExec(ctx context.Context, namespace, name, container string, command []string, tty bool, stdin io.Reader, stdout, stderr io.Writer) error PodPortForward(ctx context.Context, namespace, name, address string, ports map[int]int, readyChan chan struct{}) error WaitForPod(ctx context.Context, namespace, name string) (*corev1.Pod, error) WaitForService(ctx context.Context, namespace, name string) (*corev1.Service, error) CreateFileInPod(ctx context.Context, namespace, name, container, path string, data io.Reader) error }
func NewFromConfig ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.