Documentation ¶
Index ¶
- type ContainerStore
- func (c *ContainerStore) Export(op trace.Operation, id, ancestor string, spec *archive.FilterSpec, data bool) (io.ReadCloser, error)
- func (c *ContainerStore) Import(op trace.Operation, id string, spec *archive.FilterSpec, ...) error
- func (c *ContainerStore) NewDataSink(op trace.Operation, id string) (storage.DataSink, error)
- func (c *ContainerStore) NewDataSource(op trace.Operation, id string) (storage.DataSource, error)
- func (c *ContainerStore) Owners(op trace.Operation, url *url.URL, filter func(vm *mo.VirtualMachine) bool) ([]*vm.VirtualMachine, error)
- func (c *ContainerStore) URL(op trace.Operation, id string) (*url.URL, error)
- type ContainerStorer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerStore ¶
ContainerStore stores container storage information
func NewContainerStore ¶
func NewContainerStore(op trace.Operation, s *session.Session, imageResolver storage.Resolver) (*ContainerStore, error)
NewContainerStore creates and returns a new container store
func (*ContainerStore) Export ¶
func (c *ContainerStore) Export(op trace.Operation, id, ancestor string, spec *archive.FilterSpec, data bool) (io.ReadCloser, error)
func (*ContainerStore) Import ¶
func (c *ContainerStore) Import(op trace.Operation, id string, spec *archive.FilterSpec, tarstream io.ReadCloser) error
func (*ContainerStore) NewDataSink ¶
NewDataSink creates and returns an DataSink associated with container storage
func (*ContainerStore) NewDataSource ¶
func (c *ContainerStore) NewDataSource(op trace.Operation, id string) (storage.DataSource, error)
NewDataSource creates and returns an DataSource associated with container storage
func (*ContainerStore) Owners ¶
func (c *ContainerStore) Owners(op trace.Operation, url *url.URL, filter func(vm *mo.VirtualMachine) bool) ([]*vm.VirtualMachine, error)
Owners returns a list of VMs that are using the resource specified by `url`
Click to show internal directories.
Click to hide internal directories.