Documentation
¶
Index ¶
- type CommandCreator
- type DefaultCommandCreator
- func (cc *DefaultCommandCreator) CreateCommand(log lager.Logger, handle string, spec rootfs_provider.Spec) (*exec.Cmd, error)
- func (cc *DefaultCommandCreator) DestroyCommand(log lager.Logger, handle string) *exec.Cmd
- func (cc *DefaultCommandCreator) MetricsCommand(log lager.Logger, handle string) *exec.Cmd
- type Image
- type ImageConfig
- type ImagePlugin
- func (p *ImagePlugin) Create(log lager.Logger, handle string, spec rootfs_provider.Spec) (string, []string, error)
- func (p *ImagePlugin) Destroy(log lager.Logger, handle string) error
- func (p *ImagePlugin) GC(log lager.Logger) error
- func (p *ImagePlugin) Metrics(log lager.Logger, handle string, namespaced bool) (garden.ContainerDiskStat, error)
- type NotImplementedCommandCreator
- func (cc *NotImplementedCommandCreator) CreateCommand(log lager.Logger, handle string, spec rootfs_provider.Spec) (*exec.Cmd, error)
- func (cc *NotImplementedCommandCreator) DestroyCommand(log lager.Logger, handle string) *exec.Cmd
- func (cc *NotImplementedCommandCreator) MetricsCommand(log lager.Logger, handle string) *exec.Cmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandCreator ¶
type DefaultCommandCreator ¶
func (*DefaultCommandCreator) CreateCommand ¶
func (cc *DefaultCommandCreator) CreateCommand(log lager.Logger, handle string, spec rootfs_provider.Spec) (*exec.Cmd, error)
func (*DefaultCommandCreator) DestroyCommand ¶
func (*DefaultCommandCreator) MetricsCommand ¶
type Image ¶
type Image struct {
Config ImageConfig `json:"config,omitempty"`
}
type ImageConfig ¶
type ImageConfig struct {
Env []string `json:"Env,omitempty"`
}
type ImagePlugin ¶
type ImagePlugin struct { UnprivilegedCommandCreator CommandCreator PrivilegedCommandCreator CommandCreator CommandRunner command_runner.CommandRunner DefaultRootfs string }
func (*ImagePlugin) Create ¶
func (p *ImagePlugin) Create(log lager.Logger, handle string, spec rootfs_provider.Spec) (string, []string, error)
func (*ImagePlugin) Metrics ¶
func (p *ImagePlugin) Metrics(log lager.Logger, handle string, namespaced bool) (garden.ContainerDiskStat, error)
type NotImplementedCommandCreator ¶
type NotImplementedCommandCreator struct {
Err error
}
func (*NotImplementedCommandCreator) CreateCommand ¶
func (cc *NotImplementedCommandCreator) CreateCommand(log lager.Logger, handle string, spec rootfs_provider.Spec) (*exec.Cmd, error)
func (*NotImplementedCommandCreator) DestroyCommand ¶
func (*NotImplementedCommandCreator) MetricsCommand ¶
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.