k8s

package
v0.0.0-...-039e894 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSecretFromCache

func DeleteSecretFromCache(username string)

func ExecInPod

func ExecInPod(clientset kubernetes.Interface, restClient rest.Interface, executor Executor, config *rest.Config, username, command string, conn ssh.Channel, isTerminal bool) error

func GetSecretFromCache

func GetSecretFromCache(username string) (interface{}, bool)

func SetSecretInCache

func SetSecretInCache(username string, secretData map[string]string)

func WatchSecretsClusterWide

func WatchSecretsClusterWide(reconcileInterval int, namespace string, readyCh chan struct{}) (watch.Interface, error)

Types

type Executor

type Executor interface {
	Stream(options remotecommand.StreamOptions) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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