kubernetes.v0: gopkg.in/kubernetes/kubernetes.v0/pkg/volume/util Index | Files

package util

import "gopkg.in/kubernetes/kubernetes.v0/pkg/volume/util"

Contains utility code for use by volume plugins.

Index

Package Files

doc.go util.go

func IsReady Uses

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 Uses

func SetReady(dir string)

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

Package util imports 3 packages (graph). Updated 2018-12-06. Refresh now. Tools for package owners.