util

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clientset

func Clientset() kubernetes.Interface

Clientset abstracts the cluster config loading both locally and on Kubernetes

func InstallSignalHandler

func InstallSignalHandler(stop chan struct{})

InstallSignalHandler sends a message on sigint or sigterm

func ParseArgs

func ParseArgs(options interface{})

ParseArgs needs a struct compatible to jeddevdk/go-flags and will fill it based on CLI parameters.

Types

type PodLister added in v1.1.0

type PodLister interface {
	Pods(namespace string) listersV1.PodNamespaceLister
}

Jump to

Keyboard shortcuts

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