k8s

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Image = "quay.io/omrikiei/ktunnel:latest"
)

Variables

View Source
var Verbose = false

Functions

func ExposeAsService

func ExposeAsService(namespace, name *string, tunnelPort int, scheme string, rawPorts []string, image string, readyChan chan<- bool) error

func InjectSidecar

func InjectSidecar(namespace, objectName *string, port *int, image string, readyChan chan<- bool) (bool, error)

func PortForward

func PortForward(namespace, deploymentName *string, targetPort string, fwdWaitGroup *sync.WaitGroup, stopChan <-chan struct{}) (*[]string, error)

func RemoveSidecar

func RemoveSidecar(namespace, objectName *string, image string, readyChan chan<- bool) (bool, error)

func TeardownExposedService

func TeardownExposedService(namespace, name string) error

Types

type ByCreationTime

type ByCreationTime []apiv1.Pod

func (ByCreationTime) Len

func (a ByCreationTime) Len() int

func (ByCreationTime) Less

func (a ByCreationTime) Less(i, j int) bool

func (ByCreationTime) Swap

func (a ByCreationTime) Swap(i, j int)

Jump to

Keyboard shortcuts

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