secret

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DummySecretResource

func DummySecretResource(namespace, name string, opts ...Customizer) *corev1.Secret

DummySecretResource returns a dummy, minimal Secret resource with the specified namespace and name. If any customization functions are specified, they are run before the resource is returned.

Types

type Customizer

type Customizer func(secret *corev1.Secret)

Customizer represents a function that can be used to customize a Secret resource.

Jump to

Keyboard shortcuts

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