k8s

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 27 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
}

Client object capable of interacting with Client.

func New

func New(ctx context.Context, log *logger.Zerolog) *Client

New creates a new Client.

func (*Client) PortForward

PortForward port forward.

func (*Client) SetSettings

func (c *Client) SetSettings(cfg *entity.Settings)

SetSettings sets application settings.

type PortForwardControl

type PortForwardControl struct {
	// contains filtered or unexported fields
}

PortForwardControl port forwarding control.

func (*PortForwardControl) Close

func (c *PortForwardControl) Close()

Close stop port forwarding.

func (*PortForwardControl) Error

func (c *PortForwardControl) Error() *bytes.Buffer

Error returns a buffer containing error messages for port forwarding.

func (*PortForwardControl) Output

func (c *PortForwardControl) Output() *bytes.Buffer

Output returns a buffer containing port forward messages.

Jump to

Keyboard shortcuts

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