kubernetes: github.com/erimatnor/kubernetes/pkg/volume/util Index | Files

package util

import "github.com/erimatnor/kubernetes/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 2017-05-11. Refresh now. Tools for package owners.