secret

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VolumeAndMount

func VolumeAndMount(secretName string, mountPath string) volumes.VolumeAndMount

VolumeAndMount creates a volume named after the secret and mounts it read-only at the given path. Note that this assumes/enforces: - The volume and secret will be named the same - All items in the secret will be mounted

Types

type File

type File struct {
	volumes.VolumeAndMount
	// contains filtered or unexported fields
}

func NewFile

func NewFile(filePath string, secretName string, mountPath string) File

func (File) Path

func (f File) Path() string

Jump to

Keyboard shortcuts

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