Documentation ¶
Index ¶
- type InMemoryContainerRepository
- func (cr *InMemoryContainerRepository) Add(container linux_backend.Container)
- func (cr *InMemoryContainerRepository) All() []linux_backend.Container
- func (cr *InMemoryContainerRepository) Delete(container linux_backend.Container)
- func (cr *InMemoryContainerRepository) FindByHandle(handle string) (linux_backend.Container, error)
- func (cr *InMemoryContainerRepository) Query(filter func(linux_backend.Container) bool) []linux_backend.Container
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryContainerRepository ¶
type InMemoryContainerRepository struct {
// contains filtered or unexported fields
}
func New ¶
func New() *InMemoryContainerRepository
func (*InMemoryContainerRepository) Add ¶
func (cr *InMemoryContainerRepository) Add(container linux_backend.Container)
func (*InMemoryContainerRepository) All ¶
func (cr *InMemoryContainerRepository) All() []linux_backend.Container
func (*InMemoryContainerRepository) Delete ¶
func (cr *InMemoryContainerRepository) Delete(container linux_backend.Container)
func (*InMemoryContainerRepository) FindByHandle ¶
func (cr *InMemoryContainerRepository) FindByHandle(handle string) (linux_backend.Container, error)
func (*InMemoryContainerRepository) Query ¶
func (cr *InMemoryContainerRepository) Query(filter func(linux_backend.Container) bool) []linux_backend.Container
Click to show internal directories.
Click to hide internal directories.