Documentation ¶
Index ¶
- type InitSpec
- type Runner
- func (r Runner) Clean(threshold int64) (string, error)
- func (r Runner) Create(spec groot.CreateSpec) (specs.Spec, error)
- func (r Runner) Delete(id string) error
- func (r Runner) DeleteStore() error
- func (r Runner) EnsureMounted(containerSpec specs.Spec) error
- func (r Runner) GenerateVolumeSizeMetadata() error
- func (r Runner) InitStore(spec 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 int) Runner
- func (r *Runner) SetConfig(cfg config.Config) error
- func (r Runner) SkipInitStore() Runner
- func (r Runner) SkipLayerCheckSumValidation() 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) WithBtrfsProgsPath(btrfsProgsPath 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) WithEnvVar(variable string) Runner
- func (r Runner) WithInsecureRegistry(registry string) 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) WithStderr(stderr io.Writer) Runner
- func (r Runner) WithStdout(stdout io.Writer) Runner
- func (r Runner) WithStore(path string) Runner
- func (r Runner) WithoutDraxBin() Runner
- func (r Runner) WithoutLogLevel() Runner
- func (r Runner) WithoutStore() Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitSpec ¶
type InitSpec struct { UIDMappings []groot.IDMappingSpec GIDMappings []groot.IDMappingSpec StoreSizeBytes int64 }
type Runner ¶
type Runner struct { GrootFSBin string // Store path StorePath string // Binaries DraxBin string BtrfsProgsPath 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 // Registry InsecureRegistry string RegistryUsername string RegistryPassword string EnvVars []string // Clean on Create CleanOnCreate bool NoCleanOnCreate bool // Layer Checksum Validation SkipLayerValidation bool SysCredential syscall.Credential // contains filtered or unexported fields }
func (Runner) DeleteStore ¶
func (Runner) GenerateVolumeSizeMetadata ¶
func (Runner) RunSubcommand ¶
func (Runner) RunningAsUser ¶
func (Runner) SkipInitStore ¶
func (Runner) SkipLayerCheckSumValidation ¶
func (Runner) StartCreate ¶
func (Runner) StartSubcommand ¶
func (Runner) WithBtrfsProgsPath ¶
func (Runner) WithConfig ¶
func (Runner) WithCredentials ¶
func (Runner) WithDraxBin ¶
func (Runner) WithEnvVar ¶
func (Runner) WithInsecureRegistry ¶
func (Runner) WithLogFile ¶
func (Runner) WithMetronEndpoint ¶
func (Runner) WithNewgidmapBin ¶
func (Runner) WithNewuidmapBin ¶
func (Runner) WithNoClean ¶
func (Runner) WithoutDraxBin ¶
func (Runner) WithoutLogLevel ¶
func (Runner) WithoutStore ¶
Click to show internal directories.
Click to hide internal directories.