Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicStateFromFile ¶
func NewBasicState ¶
func NewBasicState(saveFile string) *basicState
Types ¶
type State ¶
type State interface { GetImages() map[string]*types.Image GetInstances() map[string]*types.Instance GetVolumes() map[string]*types.Volume ModifyImages(modify func(images map[string]*types.Image) error) error ModifyInstances(modify func(instances map[string]*types.Instance) error) error ModifyVolumes(modify func(volumes map[string]*types.Volume) error) error RemoveImage(image *types.Image) error RemoveInstance(instance *types.Instance) error RemoveVolume(volume *types.Volume) error }
Click to show internal directories.
Click to hide internal directories.