Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface { Open(host kubeoneapi.HostConfig) (Interface, error) Tunnel(host kubeoneapi.HostConfig) (Tunneler, error) }
type ExtendedFile ¶
type ExtendedFile interface { fs.File io.Writer io.Seeker // Chmod changes the mode of the file to mode. If there is an error, it will be of type *fs.PathError. Chmod(mode fs.FileMode) error // Chown changes the numeric uid and gid of the named file. If there is an error, it will be of type *fs.PathError. Chown(uid, gid int) error // Truncate changes the size of the file. It does not change the I/O offset. If there is an error, it will be of // type *fs.PathError. Truncate(size int64) error }
ExtendedFile extends fs.File bringing it closer in abilities to the os.File.
type MkdirFS ¶
type MkdirFS interface { fs.FS // MkdirAll creates a directory named path, along with any necessary parents, and returns nil, or else returns an // error. The permission bits perm (before umask) are used for last directory that MkdirAll creates. If path is // already a directory, MkdirAll does nothing and returns nil. MkdirAll(path string, perm fs.FileMode) error }
MkdirFS is the interface implemented by a file system that provides mkdir capabilities.
Click to show internal directories.
Click to hide internal directories.