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

package chmod

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

Package chown provides an interface and implementations for things that run run the chmod system call.

Index

Types

type Interface

type Interface interface {
	// Chmod changes the mode of the given file, implementing the same
	// semantics as os.Chmod.
	Chmod(path string, filemode os.FileMode) error
}

Interface is something that knows how to run the chmod system call. It is non-recursive.

func New

func New() Interface

Source Files

chmod.go doc.go

Version
v1.6.0-rc.1
Published
Mar 24, 2017
Platform
js/wasm
Imports
1 packages
Last checked
2 minutes ago

Tools for package owners.