Documentation ¶
Index ¶
- type Runner
- func (r Runner) Clean(threshold int64, ignoredImages []string) (string, error)
- func (r Runner) Create(spec groot.CreateSpec) (groot.ImageInfo, error)
- func (r Runner) Delete(id string) error
- func (r Runner) DeleteStore() error
- func (r Runner) EnsureMounted(image groot.ImageInfo) error
- func (r Runner) InitStore(spec manager.InitSpec) error
- func (r Runner) List() ([]groot.ImageInfo, error)
- func (r Runner) RunSubcommand(subcommand string, args ...string) (string, error)
- func (r Runner) RunningAsUser(uid, gid uint32) Runner
- func (r *Runner) SetConfig(cfg config.Config) error
- func (r Runner) SkipInitStore() Runner
- func (r Runner) StartCreate(spec groot.CreateSpec) (*gexec.Session, error)
- func (r Runner) StartSubcommand(subcommand string, args ...string) (*gexec.Session, error)
- func (r Runner) Stats(id string) (groot.VolumeStats, error)
- func (r Runner) WithBtrfsBin(btrfsBin string) Runner
- func (r Runner) WithClean() Runner
- func (r Runner) WithConfig(configPath string) Runner
- func (r Runner) WithCredentials(username, password string) Runner
- func (r Runner) WithDraxBin(draxBin string) Runner
- func (r Runner) WithDriver(driver string) Runner
- func (r Runner) WithEnvVar(variable string) Runner
- func (r Runner) WithInsecureRegistry(registry string) Runner
- func (r Runner) WithJson() Runner
- func (r Runner) WithLogFile(path string) Runner
- func (r Runner) WithLogLevel(level lager.LogLevel) Runner
- func (r Runner) WithMetronEndpoint(host net.IP, port uint16) Runner
- func (r Runner) WithNewgidmapBin(newgidmapBin string) Runner
- func (r Runner) WithNewuidmapBin(newuidmapBin string) Runner
- func (r Runner) WithNoClean() Runner
- func (r Runner) WithNoJson() Runner
- func (r Runner) WithStderr(stderr io.Writer) Runner
- func (r Runner) WithStdout(stdout io.Writer) Runner
- func (r Runner) WithStore(path string) Runner
- func (r Runner) WithTardisBin(draxBin string) Runner
- func (r Runner) WithTimeout(timeout time.Duration) Runner
- func (r Runner) WithoutDraxBin() Runner
- func (r Runner) WithoutDriver() Runner
- func (r Runner) WithoutLogLevel() Runner
- func (r Runner) WithoutStore() Runner
- func (r Runner) WithoutTardisBin() Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶ added in v0.2.0
type Runner struct { GrootFSBin string Driver string // Store path StorePath string // Binaries DraxBin string TardisBin string BtrfsBin string NewuidmapBin string NewgidmapBin string // Metrics MetronHost net.IP MetronPort uint16 // Logging LogLevelSet bool LogLevel lager.LogLevel LogFile string // Streams Stdout io.Writer Stderr io.Writer // Configuration ConfigPath string // Timeout Timeout time.Duration // Registry InsecureRegistry string RegistryUsername string RegistryPassword string EnvVars []string // Clean on Create CleanOnCreate bool NoCleanOnCreate bool // Jason Json bool NoJson bool SysCredential *syscall.Credential // contains filtered or unexported fields }
func (Runner) DeleteStore ¶ added in v0.16.0
func (Runner) EnsureMounted ¶ added in v0.16.0
func (Runner) RunSubcommand ¶ added in v0.2.0
func (Runner) RunningAsUser ¶ added in v0.11.0
func (Runner) SkipInitStore ¶ added in v0.16.0
func (Runner) StartCreate ¶ added in v0.16.0
func (Runner) StartSubcommand ¶ added in v0.16.0
func (Runner) WithBtrfsBin ¶ added in v0.7.0
func (Runner) WithConfig ¶ added in v0.5.0
func (Runner) WithCredentials ¶ added in v0.11.0
func (Runner) WithDraxBin ¶ added in v0.7.0
func (Runner) WithDriver ¶ added in v0.11.0
///////////////////////////////////////////////////////////////////////////// Drivers /////////////////////////////////////////////////////////////////////////////
func (Runner) WithEnvVar ¶ added in v0.11.0
func (Runner) WithInsecureRegistry ¶ added in v0.11.0
func (Runner) WithLogFile ¶ added in v0.2.0
func (Runner) WithLogLevel ¶ added in v0.4.0
func (Runner) WithMetronEndpoint ¶ added in v0.5.0
func (Runner) WithNewgidmapBin ¶ added in v0.7.0
func (Runner) WithNewuidmapBin ¶ added in v0.7.0
func (Runner) WithNoClean ¶ added in v0.11.0
func (Runner) WithNoJson ¶ added in v0.16.0
func (Runner) WithTardisBin ¶ added in v0.16.0
func (Runner) WithTimeout ¶ added in v0.7.0
func (Runner) WithoutDraxBin ¶ added in v0.7.0
func (Runner) WithoutDriver ¶ added in v0.11.0
func (Runner) WithoutLogLevel ¶ added in v0.4.0
func (Runner) WithoutStore ¶ added in v0.7.0
func (Runner) WithoutTardisBin ¶ added in v0.16.0
Click to show internal directories.
Click to hide internal directories.