Documentation
¶
Overview ¶
Package host contains host-level test helpers for fleet tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePermissions ¶
FilePermissions represents the permissions of a file on Unix systems.
type Host ¶
type Host struct {
*environments.Host
}
Host wraps an environments.Host with helper methods for fleet tests.
func (*Host) GetFilePermissions ¶
func (h *Host) GetFilePermissions(filePath string) (*FilePermissions, error)
GetFilePermissions returns the permissions of a file on Unix systems. Returns an error on Windows as POSIX permissions don't apply.
Click to show internal directories.
Click to hide internal directories.