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 FsInfo

func FsInfo(path string) (int64, int64, error)

FSInfo unsupported returns 0 values for available and capacity and an error.

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 fs_unsupported.go util.go

Version
v1.2.0-alpha.6
Published
Jan 13, 2016
Platform
darwin/amd64
Imports
4 packages
Last checked
5 minutes ago

Tools for package owners.