Documentation
¶
Overview ¶
Package mock_platforms is a generated GoMock package.
Index ¶
- type MockIContainer
- func (m *MockIContainer) Delete() error
- func (m *MockIContainer) EXPECT() *MockIContainerMockRecorder
- func (m *MockIContainer) Exec(command []string) (types.ExecResult, error)
- func (m *MockIContainer) GetDefinition() contracts.IDefinition
- func (m *MockIContainer) GetDomain(network string) string
- func (m *MockIContainer) GetGeneratedName() string
- func (m *MockIContainer) GetGroup() string
- func (m *MockIContainer) GetGroupIdentifier() string
- func (m *MockIContainer) GetHeadlessDomain(network string) string
- func (m *MockIContainer) GetId() string
- func (m *MockIContainer) GetLabels() map[string]string
- func (m *MockIContainer) GetName() string
- func (m *MockIContainer) GetNode() uint64
- func (m *MockIContainer) GetNodeName() string
- func (m *MockIContainer) GetRuntime() *types.Runtime
- func (m *MockIContainer) GetState() (state.State, error)
- func (m *MockIContainer) GetStatus() *status.Status
- func (m *MockIContainer) HasDependencyOn(arg0, arg1, arg2 string) bool
- func (m *MockIContainer) HasOwner() bool
- func (m *MockIContainer) IsGhost() bool
- func (m *MockIContainer) Kill(signal string) error
- func (m *MockIContainer) Logs(arg0 bool) (io.ReadCloser, error)
- func (m *MockIContainer) PostRun(config *configuration.Configuration, dnsCache *dns.Records) error
- func (m *MockIContainer) PreRun(config *configuration.Configuration, client *client.Http, ...) error
- func (m *MockIContainer) RemoveDns(dnsCache *dns.Records, networkId string) error
- func (m *MockIContainer) Rename(newName string) error
- func (m *MockIContainer) Restart() error
- func (m *MockIContainer) Run() error
- func (m *MockIContainer) SetGhost(arg0 bool)
- func (m *MockIContainer) Start() error
- func (m *MockIContainer) Stop(signal string) error
- func (m *MockIContainer) SyncNetwork() error
- func (m *MockIContainer) ToJson() ([]byte, error)
- func (m *MockIContainer) UpdateDns(dnsCache *dns.Records) error
- type MockIContainerMockRecorder
- func (mr *MockIContainerMockRecorder) Delete() *gomock.Call
- func (mr *MockIContainerMockRecorder) Exec(command any) *gomock.Call
- func (mr *MockIContainerMockRecorder) GetDefinition() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetDomain(network any) *gomock.Call
- func (mr *MockIContainerMockRecorder) GetGeneratedName() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetGroup() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetGroupIdentifier() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetHeadlessDomain(network any) *gomock.Call
- func (mr *MockIContainerMockRecorder) GetId() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetLabels() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetName() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetNode() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetNodeName() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetRuntime() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetState() *gomock.Call
- func (mr *MockIContainerMockRecorder) GetStatus() *gomock.Call
- func (mr *MockIContainerMockRecorder) HasDependencyOn(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockIContainerMockRecorder) HasOwner() *gomock.Call
- func (mr *MockIContainerMockRecorder) IsGhost() *gomock.Call
- func (mr *MockIContainerMockRecorder) Kill(signal any) *gomock.Call
- func (mr *MockIContainerMockRecorder) Logs(arg0 any) *gomock.Call
- func (mr *MockIContainerMockRecorder) PostRun(config, dnsCache any) *gomock.Call
- func (mr *MockIContainerMockRecorder) PreRun(config, client, user any) *gomock.Call
- func (mr *MockIContainerMockRecorder) RemoveDns(dnsCache, networkId any) *gomock.Call
- func (mr *MockIContainerMockRecorder) Rename(newName any) *gomock.Call
- func (mr *MockIContainerMockRecorder) Restart() *gomock.Call
- func (mr *MockIContainerMockRecorder) Run() *gomock.Call
- func (mr *MockIContainerMockRecorder) SetGhost(arg0 any) *gomock.Call
- func (mr *MockIContainerMockRecorder) Start() *gomock.Call
- func (mr *MockIContainerMockRecorder) Stop(signal any) *gomock.Call
- func (mr *MockIContainerMockRecorder) SyncNetwork() *gomock.Call
- func (mr *MockIContainerMockRecorder) ToJson() *gomock.Call
- func (mr *MockIContainerMockRecorder) UpdateDns(dnsCache any) *gomock.Call
- type MockIPlatform
- func (m *MockIPlatform) Delete() error
- func (m *MockIPlatform) EXPECT() *MockIPlatformMockRecorder
- func (m *MockIPlatform) Exec(command []string) (types.ExecResult, error)
- func (m *MockIPlatform) GetDefinition() contracts.IDefinition
- func (m *MockIPlatform) GetDomain(networkName string) string
- func (m *MockIPlatform) GetGeneratedName() string
- func (m *MockIPlatform) GetGroup() string
- func (m *MockIPlatform) GetGroupIdentifier() string
- func (m *MockIPlatform) GetHeadlessDomain(networkName string) string
- func (m *MockIPlatform) GetId() string
- func (m *MockIPlatform) GetName() string
- func (m *MockIPlatform) GetState() (state.State, error)
- func (m *MockIPlatform) Kill(signal string) error
- func (m *MockIPlatform) Logs(arg0 bool) (io.ReadCloser, error)
- func (m *MockIPlatform) PostRun(config *configuration.Configuration, dnsCache *dns.Records) error
- func (m *MockIPlatform) PreRun(config *configuration.Configuration, client *client.Http, ...) error
- func (m *MockIPlatform) RemoveDns(dnsCache *dns.Records, networkId string) error
- func (m *MockIPlatform) Rename(newName string) error
- func (m *MockIPlatform) Restart() error
- func (m *MockIPlatform) Run() error
- func (m *MockIPlatform) Start() error
- func (m *MockIPlatform) Stop(signal string) error
- func (m *MockIPlatform) SyncNetwork() error
- func (m *MockIPlatform) ToJson() ([]byte, error)
- func (m *MockIPlatform) UpdateDns(dnsCache *dns.Records) error
- type MockIPlatformMockRecorder
- func (mr *MockIPlatformMockRecorder) Delete() *gomock.Call
- func (mr *MockIPlatformMockRecorder) Exec(command any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) GetDefinition() *gomock.Call
- func (mr *MockIPlatformMockRecorder) GetDomain(networkName any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) GetGeneratedName() *gomock.Call
- func (mr *MockIPlatformMockRecorder) GetGroup() *gomock.Call
- func (mr *MockIPlatformMockRecorder) GetGroupIdentifier() *gomock.Call
- func (mr *MockIPlatformMockRecorder) GetHeadlessDomain(networkName any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) GetId() *gomock.Call
- func (mr *MockIPlatformMockRecorder) GetName() *gomock.Call
- func (mr *MockIPlatformMockRecorder) GetState() *gomock.Call
- func (mr *MockIPlatformMockRecorder) Kill(signal any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) Logs(arg0 any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) PostRun(config, dnsCache any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) PreRun(config, client, user, runtime any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) RemoveDns(dnsCache, networkId any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) Rename(newName any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) Restart() *gomock.Call
- func (mr *MockIPlatformMockRecorder) Run() *gomock.Call
- func (mr *MockIPlatformMockRecorder) Start() *gomock.Call
- func (mr *MockIPlatformMockRecorder) Stop(signal any) *gomock.Call
- func (mr *MockIPlatformMockRecorder) SyncNetwork() *gomock.Call
- func (mr *MockIPlatformMockRecorder) ToJson() *gomock.Call
- func (mr *MockIPlatformMockRecorder) UpdateDns(dnsCache any) *gomock.Call
- type MockRegistry
- func (m *MockRegistry) AddOrUpdate(group, name string, containerAddr platforms.IContainer)
- func (m *MockRegistry) BackOff(group, name string) error
- func (m *MockRegistry) BackOffReset(group, name string)
- func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
- func (m *MockRegistry) Find(prefix, group, name string) platforms.IContainer
- func (m *MockRegistry) FindGroup(prefix, group string) []platforms.IContainer
- func (m *MockRegistry) FindLocal(group, name string) platforms.IContainer
- func (m *MockRegistry) GetIndexes(group, name string) []uint64
- func (m *MockRegistry) Name(client *client.Http, group, name string) (string, []uint64)
- func (m *MockRegistry) NameReplica(group, name string, index uint64) string
- func (m *MockRegistry) Remove(prefix, group, name string) error
- func (m *MockRegistry) Sync(group, name string) error
- type MockRegistryMockRecorder
- func (mr *MockRegistryMockRecorder) AddOrUpdate(group, name, containerAddr any) *gomock.Call
- func (mr *MockRegistryMockRecorder) BackOff(group, name any) *gomock.Call
- func (mr *MockRegistryMockRecorder) BackOffReset(group, name any) *gomock.Call
- func (mr *MockRegistryMockRecorder) Find(prefix, group, name any) *gomock.Call
- func (mr *MockRegistryMockRecorder) FindGroup(prefix, group any) *gomock.Call
- func (mr *MockRegistryMockRecorder) FindLocal(group, name any) *gomock.Call
- func (mr *MockRegistryMockRecorder) GetIndexes(group, name any) *gomock.Call
- func (mr *MockRegistryMockRecorder) Name(client, group, name any) *gomock.Call
- func (mr *MockRegistryMockRecorder) NameReplica(group, name, index any) *gomock.Call
- func (mr *MockRegistryMockRecorder) Remove(prefix, group, name any) *gomock.Call
- func (mr *MockRegistryMockRecorder) Sync(group, name any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIContainer ¶
type MockIContainer struct {
// contains filtered or unexported fields
}
MockIContainer is a mock of IContainer interface.
func NewMockIContainer ¶
func NewMockIContainer(ctrl *gomock.Controller) *MockIContainer
NewMockIContainer creates a new mock instance.
func (*MockIContainer) EXPECT ¶
func (m *MockIContainer) EXPECT() *MockIContainerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIContainer) Exec ¶
func (m *MockIContainer) Exec(command []string) (types.ExecResult, error)
Exec mocks base method.
func (*MockIContainer) GetDefinition ¶
func (m *MockIContainer) GetDefinition() contracts.IDefinition
GetDefinition mocks base method.
func (*MockIContainer) GetDomain ¶
func (m *MockIContainer) GetDomain(network string) string
GetDomain mocks base method.
func (*MockIContainer) GetGeneratedName ¶
func (m *MockIContainer) GetGeneratedName() string
GetGeneratedName mocks base method.
func (*MockIContainer) GetGroup ¶
func (m *MockIContainer) GetGroup() string
GetGroup mocks base method.
func (*MockIContainer) GetGroupIdentifier ¶
func (m *MockIContainer) GetGroupIdentifier() string
GetGroupIdentifier mocks base method.
func (*MockIContainer) GetHeadlessDomain ¶
func (m *MockIContainer) GetHeadlessDomain(network string) string
GetHeadlessDomain mocks base method.
func (*MockIContainer) GetLabels ¶
func (m *MockIContainer) GetLabels() map[string]string
GetLabels mocks base method.
func (*MockIContainer) GetName ¶
func (m *MockIContainer) GetName() string
GetName mocks base method.
func (*MockIContainer) GetNode ¶
func (m *MockIContainer) GetNode() uint64
GetNode mocks base method.
func (*MockIContainer) GetNodeName ¶
func (m *MockIContainer) GetNodeName() string
GetNodeName mocks base method.
func (*MockIContainer) GetRuntime ¶
func (m *MockIContainer) GetRuntime() *types.Runtime
GetRuntime mocks base method.
func (*MockIContainer) GetState ¶
func (m *MockIContainer) GetState() (state.State, error)
GetState mocks base method.
func (*MockIContainer) GetStatus ¶
func (m *MockIContainer) GetStatus() *status.Status
GetStatus mocks base method.
func (*MockIContainer) HasDependencyOn ¶
func (m *MockIContainer) HasDependencyOn(arg0, arg1, arg2 string) bool
HasDependencyOn mocks base method.
func (*MockIContainer) HasOwner ¶
func (m *MockIContainer) HasOwner() bool
HasOwner mocks base method.
func (*MockIContainer) Kill ¶
func (m *MockIContainer) Kill(signal string) error
Kill mocks base method.
func (*MockIContainer) Logs ¶
func (m *MockIContainer) Logs(arg0 bool) (io.ReadCloser, error)
Logs mocks base method.
func (*MockIContainer) PostRun ¶
func (m *MockIContainer) PostRun(config *configuration.Configuration, dnsCache *dns.Records) error
PostRun mocks base method.
func (*MockIContainer) PreRun ¶
func (m *MockIContainer) PreRun(config *configuration.Configuration, client *client.Http, user *authentication.User) error
PreRun mocks base method.
func (*MockIContainer) RemoveDns ¶
func (m *MockIContainer) RemoveDns(dnsCache *dns.Records, networkId string) error
RemoveDns mocks base method.
func (*MockIContainer) Rename ¶
func (m *MockIContainer) Rename(newName string) error
Rename mocks base method.
func (*MockIContainer) Restart ¶
func (m *MockIContainer) Restart() error
Restart mocks base method.
func (*MockIContainer) SetGhost ¶
func (m *MockIContainer) SetGhost(arg0 bool)
SetGhost mocks base method.
func (*MockIContainer) Stop ¶
func (m *MockIContainer) Stop(signal string) error
Stop mocks base method.
func (*MockIContainer) SyncNetwork ¶
func (m *MockIContainer) SyncNetwork() error
SyncNetwork mocks base method.
func (*MockIContainer) ToJson ¶
func (m *MockIContainer) ToJson() ([]byte, error)
ToJson mocks base method.
type MockIContainerMockRecorder ¶
type MockIContainerMockRecorder struct {
// contains filtered or unexported fields
}
MockIContainerMockRecorder is the mock recorder for MockIContainer.
func (*MockIContainerMockRecorder) Delete ¶
func (mr *MockIContainerMockRecorder) Delete() *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIContainerMockRecorder) Exec ¶
func (mr *MockIContainerMockRecorder) Exec(command any) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockIContainerMockRecorder) GetDefinition ¶
func (mr *MockIContainerMockRecorder) GetDefinition() *gomock.Call
GetDefinition indicates an expected call of GetDefinition.
func (*MockIContainerMockRecorder) GetDomain ¶
func (mr *MockIContainerMockRecorder) GetDomain(network any) *gomock.Call
GetDomain indicates an expected call of GetDomain.
func (*MockIContainerMockRecorder) GetGeneratedName ¶
func (mr *MockIContainerMockRecorder) GetGeneratedName() *gomock.Call
GetGeneratedName indicates an expected call of GetGeneratedName.
func (*MockIContainerMockRecorder) GetGroup ¶
func (mr *MockIContainerMockRecorder) GetGroup() *gomock.Call
GetGroup indicates an expected call of GetGroup.
func (*MockIContainerMockRecorder) GetGroupIdentifier ¶
func (mr *MockIContainerMockRecorder) GetGroupIdentifier() *gomock.Call
GetGroupIdentifier indicates an expected call of GetGroupIdentifier.
func (*MockIContainerMockRecorder) GetHeadlessDomain ¶
func (mr *MockIContainerMockRecorder) GetHeadlessDomain(network any) *gomock.Call
GetHeadlessDomain indicates an expected call of GetHeadlessDomain.
func (*MockIContainerMockRecorder) GetId ¶
func (mr *MockIContainerMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId.
func (*MockIContainerMockRecorder) GetLabels ¶
func (mr *MockIContainerMockRecorder) GetLabels() *gomock.Call
GetLabels indicates an expected call of GetLabels.
func (*MockIContainerMockRecorder) GetName ¶
func (mr *MockIContainerMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockIContainerMockRecorder) GetNode ¶
func (mr *MockIContainerMockRecorder) GetNode() *gomock.Call
GetNode indicates an expected call of GetNode.
func (*MockIContainerMockRecorder) GetNodeName ¶
func (mr *MockIContainerMockRecorder) GetNodeName() *gomock.Call
GetNodeName indicates an expected call of GetNodeName.
func (*MockIContainerMockRecorder) GetRuntime ¶
func (mr *MockIContainerMockRecorder) GetRuntime() *gomock.Call
GetRuntime indicates an expected call of GetRuntime.
func (*MockIContainerMockRecorder) GetState ¶
func (mr *MockIContainerMockRecorder) GetState() *gomock.Call
GetState indicates an expected call of GetState.
func (*MockIContainerMockRecorder) GetStatus ¶
func (mr *MockIContainerMockRecorder) GetStatus() *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockIContainerMockRecorder) HasDependencyOn ¶
func (mr *MockIContainerMockRecorder) HasDependencyOn(arg0, arg1, arg2 any) *gomock.Call
HasDependencyOn indicates an expected call of HasDependencyOn.
func (*MockIContainerMockRecorder) HasOwner ¶
func (mr *MockIContainerMockRecorder) HasOwner() *gomock.Call
HasOwner indicates an expected call of HasOwner.
func (*MockIContainerMockRecorder) IsGhost ¶
func (mr *MockIContainerMockRecorder) IsGhost() *gomock.Call
IsGhost indicates an expected call of IsGhost.
func (*MockIContainerMockRecorder) Kill ¶
func (mr *MockIContainerMockRecorder) Kill(signal any) *gomock.Call
Kill indicates an expected call of Kill.
func (*MockIContainerMockRecorder) Logs ¶
func (mr *MockIContainerMockRecorder) Logs(arg0 any) *gomock.Call
Logs indicates an expected call of Logs.
func (*MockIContainerMockRecorder) PostRun ¶
func (mr *MockIContainerMockRecorder) PostRun(config, dnsCache any) *gomock.Call
PostRun indicates an expected call of PostRun.
func (*MockIContainerMockRecorder) PreRun ¶
func (mr *MockIContainerMockRecorder) PreRun(config, client, user any) *gomock.Call
PreRun indicates an expected call of PreRun.
func (*MockIContainerMockRecorder) RemoveDns ¶
func (mr *MockIContainerMockRecorder) RemoveDns(dnsCache, networkId any) *gomock.Call
RemoveDns indicates an expected call of RemoveDns.
func (*MockIContainerMockRecorder) Rename ¶
func (mr *MockIContainerMockRecorder) Rename(newName any) *gomock.Call
Rename indicates an expected call of Rename.
func (*MockIContainerMockRecorder) Restart ¶
func (mr *MockIContainerMockRecorder) Restart() *gomock.Call
Restart indicates an expected call of Restart.
func (*MockIContainerMockRecorder) Run ¶
func (mr *MockIContainerMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
func (*MockIContainerMockRecorder) SetGhost ¶
func (mr *MockIContainerMockRecorder) SetGhost(arg0 any) *gomock.Call
SetGhost indicates an expected call of SetGhost.
func (*MockIContainerMockRecorder) Start ¶
func (mr *MockIContainerMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockIContainerMockRecorder) Stop ¶
func (mr *MockIContainerMockRecorder) Stop(signal any) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockIContainerMockRecorder) SyncNetwork ¶
func (mr *MockIContainerMockRecorder) SyncNetwork() *gomock.Call
SyncNetwork indicates an expected call of SyncNetwork.
func (*MockIContainerMockRecorder) ToJson ¶
func (mr *MockIContainerMockRecorder) ToJson() *gomock.Call
ToJson indicates an expected call of ToJson.
type MockIPlatform ¶
type MockIPlatform struct {
// contains filtered or unexported fields
}
MockIPlatform is a mock of IPlatform interface.
func NewMockIPlatform ¶
func NewMockIPlatform(ctrl *gomock.Controller) *MockIPlatform
NewMockIPlatform creates a new mock instance.
func (*MockIPlatform) EXPECT ¶
func (m *MockIPlatform) EXPECT() *MockIPlatformMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPlatform) Exec ¶
func (m *MockIPlatform) Exec(command []string) (types.ExecResult, error)
Exec mocks base method.
func (*MockIPlatform) GetDefinition ¶
func (m *MockIPlatform) GetDefinition() contracts.IDefinition
GetDefinition mocks base method.
func (*MockIPlatform) GetDomain ¶
func (m *MockIPlatform) GetDomain(networkName string) string
GetDomain mocks base method.
func (*MockIPlatform) GetGeneratedName ¶
func (m *MockIPlatform) GetGeneratedName() string
GetGeneratedName mocks base method.
func (*MockIPlatform) GetGroup ¶
func (m *MockIPlatform) GetGroup() string
GetGroup mocks base method.
func (*MockIPlatform) GetGroupIdentifier ¶
func (m *MockIPlatform) GetGroupIdentifier() string
GetGroupIdentifier mocks base method.
func (*MockIPlatform) GetHeadlessDomain ¶
func (m *MockIPlatform) GetHeadlessDomain(networkName string) string
GetHeadlessDomain mocks base method.
func (*MockIPlatform) GetState ¶
func (m *MockIPlatform) GetState() (state.State, error)
GetState mocks base method.
func (*MockIPlatform) Kill ¶
func (m *MockIPlatform) Kill(signal string) error
Kill mocks base method.
func (*MockIPlatform) Logs ¶
func (m *MockIPlatform) Logs(arg0 bool) (io.ReadCloser, error)
Logs mocks base method.
func (*MockIPlatform) PostRun ¶
func (m *MockIPlatform) PostRun(config *configuration.Configuration, dnsCache *dns.Records) error
PostRun mocks base method.
func (*MockIPlatform) PreRun ¶
func (m *MockIPlatform) PreRun(config *configuration.Configuration, client *client.Http, user *authentication.User, runtime *types.Runtime) error
PreRun mocks base method.
func (*MockIPlatform) RemoveDns ¶
func (m *MockIPlatform) RemoveDns(dnsCache *dns.Records, networkId string) error
RemoveDns mocks base method.
func (*MockIPlatform) Rename ¶
func (m *MockIPlatform) Rename(newName string) error
Rename mocks base method.
func (*MockIPlatform) Stop ¶
func (m *MockIPlatform) Stop(signal string) error
Stop mocks base method.
func (*MockIPlatform) SyncNetwork ¶
func (m *MockIPlatform) SyncNetwork() error
SyncNetwork mocks base method.
func (*MockIPlatform) ToJson ¶
func (m *MockIPlatform) ToJson() ([]byte, error)
ToJson mocks base method.
type MockIPlatformMockRecorder ¶
type MockIPlatformMockRecorder struct {
// contains filtered or unexported fields
}
MockIPlatformMockRecorder is the mock recorder for MockIPlatform.
func (*MockIPlatformMockRecorder) Delete ¶
func (mr *MockIPlatformMockRecorder) Delete() *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIPlatformMockRecorder) Exec ¶
func (mr *MockIPlatformMockRecorder) Exec(command any) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockIPlatformMockRecorder) GetDefinition ¶
func (mr *MockIPlatformMockRecorder) GetDefinition() *gomock.Call
GetDefinition indicates an expected call of GetDefinition.
func (*MockIPlatformMockRecorder) GetDomain ¶
func (mr *MockIPlatformMockRecorder) GetDomain(networkName any) *gomock.Call
GetDomain indicates an expected call of GetDomain.
func (*MockIPlatformMockRecorder) GetGeneratedName ¶
func (mr *MockIPlatformMockRecorder) GetGeneratedName() *gomock.Call
GetGeneratedName indicates an expected call of GetGeneratedName.
func (*MockIPlatformMockRecorder) GetGroup ¶
func (mr *MockIPlatformMockRecorder) GetGroup() *gomock.Call
GetGroup indicates an expected call of GetGroup.
func (*MockIPlatformMockRecorder) GetGroupIdentifier ¶
func (mr *MockIPlatformMockRecorder) GetGroupIdentifier() *gomock.Call
GetGroupIdentifier indicates an expected call of GetGroupIdentifier.
func (*MockIPlatformMockRecorder) GetHeadlessDomain ¶
func (mr *MockIPlatformMockRecorder) GetHeadlessDomain(networkName any) *gomock.Call
GetHeadlessDomain indicates an expected call of GetHeadlessDomain.
func (*MockIPlatformMockRecorder) GetId ¶
func (mr *MockIPlatformMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId.
func (*MockIPlatformMockRecorder) GetName ¶
func (mr *MockIPlatformMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockIPlatformMockRecorder) GetState ¶
func (mr *MockIPlatformMockRecorder) GetState() *gomock.Call
GetState indicates an expected call of GetState.
func (*MockIPlatformMockRecorder) Kill ¶
func (mr *MockIPlatformMockRecorder) Kill(signal any) *gomock.Call
Kill indicates an expected call of Kill.
func (*MockIPlatformMockRecorder) Logs ¶
func (mr *MockIPlatformMockRecorder) Logs(arg0 any) *gomock.Call
Logs indicates an expected call of Logs.
func (*MockIPlatformMockRecorder) PostRun ¶
func (mr *MockIPlatformMockRecorder) PostRun(config, dnsCache any) *gomock.Call
PostRun indicates an expected call of PostRun.
func (*MockIPlatformMockRecorder) PreRun ¶
func (mr *MockIPlatformMockRecorder) PreRun(config, client, user, runtime any) *gomock.Call
PreRun indicates an expected call of PreRun.
func (*MockIPlatformMockRecorder) RemoveDns ¶
func (mr *MockIPlatformMockRecorder) RemoveDns(dnsCache, networkId any) *gomock.Call
RemoveDns indicates an expected call of RemoveDns.
func (*MockIPlatformMockRecorder) Rename ¶
func (mr *MockIPlatformMockRecorder) Rename(newName any) *gomock.Call
Rename indicates an expected call of Rename.
func (*MockIPlatformMockRecorder) Restart ¶
func (mr *MockIPlatformMockRecorder) Restart() *gomock.Call
Restart indicates an expected call of Restart.
func (*MockIPlatformMockRecorder) Run ¶
func (mr *MockIPlatformMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
func (*MockIPlatformMockRecorder) Start ¶
func (mr *MockIPlatformMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockIPlatformMockRecorder) Stop ¶
func (mr *MockIPlatformMockRecorder) Stop(signal any) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockIPlatformMockRecorder) SyncNetwork ¶
func (mr *MockIPlatformMockRecorder) SyncNetwork() *gomock.Call
SyncNetwork indicates an expected call of SyncNetwork.
func (*MockIPlatformMockRecorder) ToJson ¶
func (mr *MockIPlatformMockRecorder) ToJson() *gomock.Call
ToJson indicates an expected call of ToJson.
type MockRegistry ¶
type MockRegistry struct {
// contains filtered or unexported fields
}
MockRegistry is a mock of Registry interface.
func NewMockRegistry ¶
func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry
NewMockRegistry creates a new mock instance.
func (*MockRegistry) AddOrUpdate ¶
func (m *MockRegistry) AddOrUpdate(group, name string, containerAddr platforms.IContainer)
AddOrUpdate mocks base method.
func (*MockRegistry) BackOff ¶
func (m *MockRegistry) BackOff(group, name string) error
BackOff mocks base method.
func (*MockRegistry) BackOffReset ¶
func (m *MockRegistry) BackOffReset(group, name string)
BackOffReset mocks base method.
func (*MockRegistry) EXPECT ¶
func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistry) Find ¶
func (m *MockRegistry) Find(prefix, group, name string) platforms.IContainer
Find mocks base method.
func (*MockRegistry) FindGroup ¶
func (m *MockRegistry) FindGroup(prefix, group string) []platforms.IContainer
FindGroup mocks base method.
func (*MockRegistry) FindLocal ¶
func (m *MockRegistry) FindLocal(group, name string) platforms.IContainer
FindLocal mocks base method.
func (*MockRegistry) GetIndexes ¶
func (m *MockRegistry) GetIndexes(group, name string) []uint64
GetIndexes mocks base method.
func (*MockRegistry) NameReplica ¶
func (m *MockRegistry) NameReplica(group, name string, index uint64) string
NameReplica mocks base method.
func (*MockRegistry) Remove ¶
func (m *MockRegistry) Remove(prefix, group, name string) error
Remove mocks base method.
func (*MockRegistry) Sync ¶
func (m *MockRegistry) Sync(group, name string) error
Sync mocks base method.
type MockRegistryMockRecorder ¶
type MockRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryMockRecorder is the mock recorder for MockRegistry.
func (*MockRegistryMockRecorder) AddOrUpdate ¶
func (mr *MockRegistryMockRecorder) AddOrUpdate(group, name, containerAddr any) *gomock.Call
AddOrUpdate indicates an expected call of AddOrUpdate.
func (*MockRegistryMockRecorder) BackOff ¶
func (mr *MockRegistryMockRecorder) BackOff(group, name any) *gomock.Call
BackOff indicates an expected call of BackOff.
func (*MockRegistryMockRecorder) BackOffReset ¶
func (mr *MockRegistryMockRecorder) BackOffReset(group, name any) *gomock.Call
BackOffReset indicates an expected call of BackOffReset.
func (*MockRegistryMockRecorder) Find ¶
func (mr *MockRegistryMockRecorder) Find(prefix, group, name any) *gomock.Call
Find indicates an expected call of Find.
func (*MockRegistryMockRecorder) FindGroup ¶
func (mr *MockRegistryMockRecorder) FindGroup(prefix, group any) *gomock.Call
FindGroup indicates an expected call of FindGroup.
func (*MockRegistryMockRecorder) FindLocal ¶
func (mr *MockRegistryMockRecorder) FindLocal(group, name any) *gomock.Call
FindLocal indicates an expected call of FindLocal.
func (*MockRegistryMockRecorder) GetIndexes ¶
func (mr *MockRegistryMockRecorder) GetIndexes(group, name any) *gomock.Call
GetIndexes indicates an expected call of GetIndexes.
func (*MockRegistryMockRecorder) Name ¶
func (mr *MockRegistryMockRecorder) Name(client, group, name any) *gomock.Call
Name indicates an expected call of Name.
func (*MockRegistryMockRecorder) NameReplica ¶
func (mr *MockRegistryMockRecorder) NameReplica(group, name, index any) *gomock.Call
NameReplica indicates an expected call of NameReplica.