MCPcopy
hub / github.com/nicholas-fedor/watchtower / Sorter

Interface Sorter

pkg/sorter/sorter.go:8–10  ·  view source on GitHub ↗

Sorter provides a common interface for sorting containers.

Source from the content-addressed store, hash-verified

6
7// Sorter provides a common interface for sorting containers.
8type Sorter interface {
9 Sort(containers []types.Container, useComposeDependsOn bool) error
10}
11
12// SortByCreated sorts containers in place by creation time.
13//

Callers 7

AllMethod · 0.65
allFromSlicesFunction · 0.65
sortCategoriesFunction · 0.65
dependency_test.goFile · 0.65
initializeQueueFunction · 0.65
SortMethod · 0.65
time_test.goFile · 0.65

Implementers 4

DependencySorterpkg/sorter/dependency.go
TimeSorterpkg/sorter/time.go
MockSorterpkg/sorter/mocks/Sorter.go
MockSorter_Expecterpkg/sorter/mocks/Sorter.go

Calls

no outgoing calls

Tested by

no test coverage detected