filesystem

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(workingDirs []string, hostAPI filesystem.API) (*Server, error)

func (*Server) GetWorkingDirs added in v1.1.0

func (s *Server) GetWorkingDirs() []string

func (*Server) IsMountPoint

func (*Server) LinkPath

func (*Server) Mkdir

func (*Server) PathExists

PathExists checks if the given path exists on the host.

func (*Server) PathValid

func (s *Server) PathValid(ctx context.Context, path string) (bool, error)

PathValid checks if the given path is accessible.

func (*Server) Rmdir

func (*Server) RmdirContents added in v1.1.0

func (*Server) ValidatePluginPath

func (s *Server) ValidatePluginPath(path string) error

ValidatePluginPath - Validates the path is compatible with the 'kubelet path' restrictions.

func (*Server) VersionedAPIs

func (s *Server) VersionedAPIs() []*srvtypes.VersionedAPI

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL