session

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Remove

func Remove(kubeClient client.Client, session *InternalSession) error

Types

type InternalSession

type InternalSession struct {
	SessionName      string
	SessionNamespace string
	PortForward      []string
	CliVersion       string
	Command          string
	Namespace        string
}

func Get

func Get(kubeClient client.Client, name string, namespace string) (*InternalSession, error)

func List

func List(kubeClient client.Client, targetNamespace string) ([]*InternalSession, error)

Jump to

Keyboard shortcuts

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