kubernetesk8s.io/kubernetes/pkg/volume/util Index | Files

package util

import "k8s.io/kubernetes/pkg/volume/util"

Contains utility code for use by volume plugins.

Index

Functions

func IsReady

func IsReady(dir string) bool

IsReady checks for the existence of a regular file called 'ready' in the given directory and returns true if that file exists.

func SetReady

func SetReady(dir string)

SetReady creates a file called 'ready' in the given directory. It logs an error if the file cannot be created.

Source Files

doc.go util.go

Version
v0.17.1
Published
May 21, 2015
Platform
js/wasm
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.