util

package
v0.0.0-...-8468296 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PodInfoNamespaceKey          = "csi.storage.k8s.io/pod.namespace"
	PodInfoNameKey               = "csi.storage.k8s.io/pod.name"
	PodInfoUIDKey                = "csi.storage.k8s.io/pod.uid"
	PodInfoServiceAccountNameKey = "csi.storage.k8s.io/serviceAccount.name"
)

Variables

This section is empty.

Functions

func MountTargetPath

func MountTargetPath(source, target string, options []string) error

func UnmountTargetPath

func UnmountTargetPath(target string) error

Types

type PodInfo

type PodInfo struct {
	Namespace          string
	Name               string
	ServiceAccountName string
	UID                types.UID
}

func NewPodInfo

func NewPodInfo(context map[string]string) (PodInfo, error)

Jump to

Keyboard shortcuts

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