util

package
v2.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(c Closer)

Close is a convenience function to close a object that has a Close() method, ignoring any errors Used to satisfy errcheck lint

func GetSecrets

func GetSecrets(clientSet kubernetes.Interface, namespace, name, key string) ([]byte, error)

GetSecrets retrieves a secret value and memoizes the result

func WriteTeriminateMessage

func WriteTeriminateMessage(message string)

Write the Terminate message in pod spec

Types

type Closer

type Closer interface {
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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