Documentation ¶
Index ¶
- type CmderMock
- type ResolverMock
- type StoreMock
- func (s *StoreMock) CheckHealth() error
- func (s *StoreMock) CreateHostRules(hostRules models.HostRules) error
- func (s *StoreMock) DeleteHostRules(host string) error
- func (s *StoreMock) GetHostRules(host string) (*models.HostRules, error)
- func (s *StoreMock) ListHostRules() ([]models.HostRules, error)
- func (s *StoreMock) UpdateHostRules(host string, hostRules models.HostRules) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolverMock ¶
ResolverMock is mock for resolver.Resolver
type StoreMock ¶
StoreMock is mock for Store interface
func (*StoreMock) CreateHostRules ¶
CreateHostRules for store mock
func (*StoreMock) DeleteHostRules ¶
DeleteHostRules for store mock
func (*StoreMock) GetHostRules ¶
GetHostRules for store mock
func (*StoreMock) ListHostRules ¶
ListHostRules for store mock
Click to show internal directories.
Click to hide internal directories.