Documentation ¶
Index ¶
- type MockedContainer
- type MockedService
- type MockedServiceStorage
- func (s *MockedServiceStorage) Create(ctx context.Context, service *model.Service) error
- func (s *MockedServiceStorage) Delete(ctx context.Context, serviceID string) error
- func (s *MockedServiceStorage) List(ctx context.Context) (*[]model.Service, error)
- func (s *MockedServiceStorage) Read(ctx context.Context, service *model.Service) error
- func (s *MockedServiceStorage) Update(ctx context.Context, service *model.Service) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedContainer ¶
func (*MockedContainer) SaveImage ¶
func (m *MockedContainer) SaveImage(ctx context.Context, containerID, name string) error
func (*MockedContainer) Start ¶
func (m *MockedContainer) Start(ctx context.Context, serviceName, image string) <-chan service.ContainerStatus
type MockedService ¶
Click to show internal directories.
Click to hide internal directories.