Documentation ¶
Index ¶
- type Store
- func (s *Store) Close() error
- func (s *Store) Container(id string) (c *store.Container, err error)
- func (s *Store) CreateContainer(id string, layerId string) (r *store.Container, err error)
- func (s *Store) CreateImage(id string, names []string, layerId string, cfg *ispecs.Image) (*store.Image, error)
- func (s *Store) DeleteImage(id string) error
- func (s *Store) Diff(containerId string) (io.ReadCloser, error)
- func (s *Store) Image(id string) (r *store.Image, err error)
- func (s *Store) ImageByName(name string) (r *store.Image, err error)
- func (s *Store) ImageConfig(imageId string) (r *ispecs.Image, err error)
- func (s *Store) ImageGC() error
- func (s *Store) Images() (r []*store.Image, err error)
- func (s *Store) ImportImage(src string) (img *store.Image, err error)
- func (s *Store) Mount(containerId string) (m *store.ContainerMount, err error)
- func (s *Store) PutLayer(parent string, diff archive.Reader) (*store.Layer, error)
- func (s *Store) Unmount(containerId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Deprecated since containers/storage cannot be used by unprivileged user (https://github.com/containers/storage/issues/96)
func NewContainersStore ¶
func NewContainersStore(dir string, systemContext *types.SystemContext) (*Store, error)
func (*Store) CreateContainer ¶
func (*Store) CreateImage ¶
func (*Store) DeleteImage ¶
func (*Store) ImageConfig ¶
func (*Store) Mount ¶
func (s *Store) Mount(containerId string) (m *store.ContainerMount, err error)
Click to show internal directories.
Click to hide internal directories.