Documentation ¶
Index ¶
- type MockBackendClient
- func (_m *MockBackendClient) CreateConfig(_param0 swarm.ConfigSpec) (string, error)
- func (_m *MockBackendClient) CreateNetwork(_param0 types.NetworkCreateRequest) (string, error)
- func (_m *MockBackendClient) CreateSecret(_param0 swarm.SecretSpec) (string, error)
- func (_m *MockBackendClient) CreateService(_param0 swarm.ServiceSpec, _param1 string, _param2 bool) (*types.ServiceCreateResponse, error)
- func (_m *MockBackendClient) CreateStack(_param0 types0.StackSpec) (types0.StackCreateResponse, error)
- func (_m *MockBackendClient) DeleteStack(_param0 string) error
- func (_m *MockBackendClient) EXPECT() *MockBackendClientMockRecorder
- func (_m *MockBackendClient) GetConfig(_param0 string) (swarm.Config, error)
- func (_m *MockBackendClient) GetConfigs(_param0 types.ConfigListOptions) ([]swarm.Config, error)
- func (_m *MockBackendClient) GetNetwork(_param0 string) (types.NetworkResource, error)
- func (_m *MockBackendClient) GetNetworks(_param0 filters.Args) ([]types.NetworkResource, error)
- func (_m *MockBackendClient) GetNetworksByName(_param0 string) ([]types.NetworkResource, error)
- func (_m *MockBackendClient) GetNode(_param0 string) (swarm.Node, error)
- func (_m *MockBackendClient) GetSecret(_param0 string) (swarm.Secret, error)
- func (_m *MockBackendClient) GetSecrets(_param0 types.SecretListOptions) ([]swarm.Secret, error)
- func (_m *MockBackendClient) GetService(_param0 string, _param1 bool) (swarm.Service, error)
- func (_m *MockBackendClient) GetServices(_param0 types.ServiceListOptions) ([]swarm.Service, error)
- func (_m *MockBackendClient) GetSnapshotStack(_param0 string) (interfaces.SnapshotStack, error)
- func (_m *MockBackendClient) GetStack(_param0 string) (types0.Stack, error)
- func (_m *MockBackendClient) GetTask(_param0 string) (swarm.Task, error)
- func (_m *MockBackendClient) GetTasks(_param0 types.TaskListOptions) ([]swarm.Task, error)
- func (_m *MockBackendClient) Info() swarm.Info
- func (_m *MockBackendClient) ListStacks() ([]types0.Stack, error)
- func (_m *MockBackendClient) RemoveConfig(_param0 string) error
- func (_m *MockBackendClient) RemoveNetwork(_param0 string) error
- func (_m *MockBackendClient) RemoveSecret(_param0 string) error
- func (_m *MockBackendClient) RemoveService(_param0 string) error
- func (_m *MockBackendClient) SubscribeToEvents(_param0 time.Time, _param1 time.Time, _param2 filters.Args) ([]events.Message, chan interface{})
- func (_m *MockBackendClient) UnsubscribeFromEvents(_param0 chan interface{})
- func (_m *MockBackendClient) UpdateConfig(_param0 string, _param1 uint64, _param2 swarm.ConfigSpec) error
- func (_m *MockBackendClient) UpdateSecret(_param0 string, _param1 uint64, _param2 swarm.SecretSpec) error
- func (_m *MockBackendClient) UpdateService(_param0 string, _param1 uint64, _param2 swarm.ServiceSpec, ...) (*types.ServiceUpdateResponse, error)
- func (_m *MockBackendClient) UpdateSnapshotStack(_param0 string, _param1 interfaces.SnapshotStack, _param2 uint64) (interfaces.SnapshotStack, error)
- func (_m *MockBackendClient) UpdateStack(_param0 string, _param1 types0.StackSpec, _param2 uint64) error
- type MockBackendClientMockRecorder
- func (_mr *MockBackendClientMockRecorder) CreateConfig(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) CreateNetwork(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) CreateSecret(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) CreateService(arg0, arg1, arg2 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) CreateStack(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) DeleteStack(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetConfig(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetConfigs(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetNetwork(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetNetworks(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetNetworksByName(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetNode(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetSecret(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetSecrets(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetService(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetServices(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetSnapshotStack(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetStack(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetTask(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) GetTasks(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) Info() *gomock.Call
- func (_mr *MockBackendClientMockRecorder) ListStacks() *gomock.Call
- func (_mr *MockBackendClientMockRecorder) RemoveConfig(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) RemoveNetwork(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) RemoveSecret(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) RemoveService(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) SubscribeToEvents(arg0, arg1, arg2 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) UnsubscribeFromEvents(arg0 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) UpdateConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) UpdateSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) UpdateService(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) UpdateSnapshotStack(arg0, arg1, arg2 interface{}) *gomock.Call
- func (_mr *MockBackendClientMockRecorder) UpdateStack(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockReconciler
- type MockReconcilerMockRecorder
- type MockResourcesClient
- func (_m *MockResourcesClient) CreateExtension(_param0 context.Context, _param1 *api.CreateExtensionRequest, ...) (*api.CreateExtensionResponse, error)
- func (_m *MockResourcesClient) CreateResource(_param0 context.Context, _param1 *api.CreateResourceRequest, ...) (*api.CreateResourceResponse, error)
- func (_m *MockResourcesClient) EXPECT() *MockResourcesClientMockRecorder
- func (_m *MockResourcesClient) GetResource(_param0 context.Context, _param1 *api.GetResourceRequest, ...) (*api.GetResourceResponse, error)
- func (_m *MockResourcesClient) ListResources(_param0 context.Context, _param1 *api.ListResourcesRequest, ...) (*api.ListResourcesResponse, error)
- func (_m *MockResourcesClient) RemoveResource(_param0 context.Context, _param1 *api.RemoveResourceRequest, ...) (*api.RemoveResourceResponse, error)
- func (_m *MockResourcesClient) UpdateResource(_param0 context.Context, _param1 *api.UpdateResourceRequest, ...) (*api.UpdateResourceResponse, error)
- type MockResourcesClientMockRecorder
- func (_mr *MockResourcesClientMockRecorder) CreateExtension(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (_mr *MockResourcesClientMockRecorder) CreateResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (_mr *MockResourcesClientMockRecorder) GetResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (_mr *MockResourcesClientMockRecorder) ListResources(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (_mr *MockResourcesClientMockRecorder) RemoveResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (_mr *MockResourcesClientMockRecorder) UpdateResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackendClient ¶
type MockBackendClient struct {
// contains filtered or unexported fields
}
MockBackendClient is a mock of BackendClient interface
func NewMockBackendClient ¶
func NewMockBackendClient(ctrl *gomock.Controller) *MockBackendClient
NewMockBackendClient creates a new mock instance
func (*MockBackendClient) CreateConfig ¶
func (_m *MockBackendClient) CreateConfig(_param0 swarm.ConfigSpec) (string, error)
CreateConfig mocks base method
func (*MockBackendClient) CreateNetwork ¶
func (_m *MockBackendClient) CreateNetwork(_param0 types.NetworkCreateRequest) (string, error)
CreateNetwork mocks base method
func (*MockBackendClient) CreateSecret ¶
func (_m *MockBackendClient) CreateSecret(_param0 swarm.SecretSpec) (string, error)
CreateSecret mocks base method
func (*MockBackendClient) CreateService ¶
func (_m *MockBackendClient) CreateService(_param0 swarm.ServiceSpec, _param1 string, _param2 bool) (*types.ServiceCreateResponse, error)
CreateService mocks base method
func (*MockBackendClient) CreateStack ¶
func (_m *MockBackendClient) CreateStack(_param0 types0.StackSpec) (types0.StackCreateResponse, error)
CreateStack mocks base method
func (*MockBackendClient) DeleteStack ¶
func (_m *MockBackendClient) DeleteStack(_param0 string) error
DeleteStack mocks base method
func (*MockBackendClient) EXPECT ¶
func (_m *MockBackendClient) EXPECT() *MockBackendClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBackendClient) GetConfig ¶
func (_m *MockBackendClient) GetConfig(_param0 string) (swarm.Config, error)
GetConfig mocks base method
func (*MockBackendClient) GetConfigs ¶
func (_m *MockBackendClient) GetConfigs(_param0 types.ConfigListOptions) ([]swarm.Config, error)
GetConfigs mocks base method
func (*MockBackendClient) GetNetwork ¶
func (_m *MockBackendClient) GetNetwork(_param0 string) (types.NetworkResource, error)
GetNetwork mocks base method
func (*MockBackendClient) GetNetworks ¶
func (_m *MockBackendClient) GetNetworks(_param0 filters.Args) ([]types.NetworkResource, error)
GetNetworks mocks base method
func (*MockBackendClient) GetNetworksByName ¶
func (_m *MockBackendClient) GetNetworksByName(_param0 string) ([]types.NetworkResource, error)
GetNetworksByName mocks base method
func (*MockBackendClient) GetNode ¶
func (_m *MockBackendClient) GetNode(_param0 string) (swarm.Node, error)
GetNode mocks base method
func (*MockBackendClient) GetSecret ¶
func (_m *MockBackendClient) GetSecret(_param0 string) (swarm.Secret, error)
GetSecret mocks base method
func (*MockBackendClient) GetSecrets ¶
func (_m *MockBackendClient) GetSecrets(_param0 types.SecretListOptions) ([]swarm.Secret, error)
GetSecrets mocks base method
func (*MockBackendClient) GetService ¶
GetService mocks base method
func (*MockBackendClient) GetServices ¶
func (_m *MockBackendClient) GetServices(_param0 types.ServiceListOptions) ([]swarm.Service, error)
GetServices mocks base method
func (*MockBackendClient) GetSnapshotStack ¶
func (_m *MockBackendClient) GetSnapshotStack(_param0 string) (interfaces.SnapshotStack, error)
GetSnapshotStack mocks base method
func (*MockBackendClient) GetStack ¶
func (_m *MockBackendClient) GetStack(_param0 string) (types0.Stack, error)
GetStack mocks base method
func (*MockBackendClient) GetTask ¶
func (_m *MockBackendClient) GetTask(_param0 string) (swarm.Task, error)
GetTask mocks base method
func (*MockBackendClient) GetTasks ¶
func (_m *MockBackendClient) GetTasks(_param0 types.TaskListOptions) ([]swarm.Task, error)
GetTasks mocks base method
func (*MockBackendClient) Info ¶
func (_m *MockBackendClient) Info() swarm.Info
Info mocks base method
func (*MockBackendClient) ListStacks ¶
func (_m *MockBackendClient) ListStacks() ([]types0.Stack, error)
ListStacks mocks base method
func (*MockBackendClient) RemoveConfig ¶
func (_m *MockBackendClient) RemoveConfig(_param0 string) error
RemoveConfig mocks base method
func (*MockBackendClient) RemoveNetwork ¶
func (_m *MockBackendClient) RemoveNetwork(_param0 string) error
RemoveNetwork mocks base method
func (*MockBackendClient) RemoveSecret ¶
func (_m *MockBackendClient) RemoveSecret(_param0 string) error
RemoveSecret mocks base method
func (*MockBackendClient) RemoveService ¶
func (_m *MockBackendClient) RemoveService(_param0 string) error
RemoveService mocks base method
func (*MockBackendClient) SubscribeToEvents ¶
func (_m *MockBackendClient) SubscribeToEvents(_param0 time.Time, _param1 time.Time, _param2 filters.Args) ([]events.Message, chan interface{})
SubscribeToEvents mocks base method
func (*MockBackendClient) UnsubscribeFromEvents ¶
func (_m *MockBackendClient) UnsubscribeFromEvents(_param0 chan interface{})
UnsubscribeFromEvents mocks base method
func (*MockBackendClient) UpdateConfig ¶
func (_m *MockBackendClient) UpdateConfig(_param0 string, _param1 uint64, _param2 swarm.ConfigSpec) error
UpdateConfig mocks base method
func (*MockBackendClient) UpdateSecret ¶
func (_m *MockBackendClient) UpdateSecret(_param0 string, _param1 uint64, _param2 swarm.SecretSpec) error
UpdateSecret mocks base method
func (*MockBackendClient) UpdateService ¶
func (_m *MockBackendClient) UpdateService(_param0 string, _param1 uint64, _param2 swarm.ServiceSpec, _param3 types.ServiceUpdateOptions, _param4 bool) (*types.ServiceUpdateResponse, error)
UpdateService mocks base method
func (*MockBackendClient) UpdateSnapshotStack ¶
func (_m *MockBackendClient) UpdateSnapshotStack(_param0 string, _param1 interfaces.SnapshotStack, _param2 uint64) (interfaces.SnapshotStack, error)
UpdateSnapshotStack mocks base method
func (*MockBackendClient) UpdateStack ¶
func (_m *MockBackendClient) UpdateStack(_param0 string, _param1 types0.StackSpec, _param2 uint64) error
UpdateStack mocks base method
type MockBackendClientMockRecorder ¶
type MockBackendClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendClientMockRecorder is the mock recorder for MockBackendClient
func (*MockBackendClientMockRecorder) CreateConfig ¶
func (_mr *MockBackendClientMockRecorder) CreateConfig(arg0 interface{}) *gomock.Call
CreateConfig indicates an expected call of CreateConfig
func (*MockBackendClientMockRecorder) CreateNetwork ¶
func (_mr *MockBackendClientMockRecorder) CreateNetwork(arg0 interface{}) *gomock.Call
CreateNetwork indicates an expected call of CreateNetwork
func (*MockBackendClientMockRecorder) CreateSecret ¶
func (_mr *MockBackendClientMockRecorder) CreateSecret(arg0 interface{}) *gomock.Call
CreateSecret indicates an expected call of CreateSecret
func (*MockBackendClientMockRecorder) CreateService ¶
func (_mr *MockBackendClientMockRecorder) CreateService(arg0, arg1, arg2 interface{}) *gomock.Call
CreateService indicates an expected call of CreateService
func (*MockBackendClientMockRecorder) CreateStack ¶
func (_mr *MockBackendClientMockRecorder) CreateStack(arg0 interface{}) *gomock.Call
CreateStack indicates an expected call of CreateStack
func (*MockBackendClientMockRecorder) DeleteStack ¶
func (_mr *MockBackendClientMockRecorder) DeleteStack(arg0 interface{}) *gomock.Call
DeleteStack indicates an expected call of DeleteStack
func (*MockBackendClientMockRecorder) GetConfig ¶
func (_mr *MockBackendClientMockRecorder) GetConfig(arg0 interface{}) *gomock.Call
GetConfig indicates an expected call of GetConfig
func (*MockBackendClientMockRecorder) GetConfigs ¶
func (_mr *MockBackendClientMockRecorder) GetConfigs(arg0 interface{}) *gomock.Call
GetConfigs indicates an expected call of GetConfigs
func (*MockBackendClientMockRecorder) GetNetwork ¶
func (_mr *MockBackendClientMockRecorder) GetNetwork(arg0 interface{}) *gomock.Call
GetNetwork indicates an expected call of GetNetwork
func (*MockBackendClientMockRecorder) GetNetworks ¶
func (_mr *MockBackendClientMockRecorder) GetNetworks(arg0 interface{}) *gomock.Call
GetNetworks indicates an expected call of GetNetworks
func (*MockBackendClientMockRecorder) GetNetworksByName ¶
func (_mr *MockBackendClientMockRecorder) GetNetworksByName(arg0 interface{}) *gomock.Call
GetNetworksByName indicates an expected call of GetNetworksByName
func (*MockBackendClientMockRecorder) GetNode ¶
func (_mr *MockBackendClientMockRecorder) GetNode(arg0 interface{}) *gomock.Call
GetNode indicates an expected call of GetNode
func (*MockBackendClientMockRecorder) GetSecret ¶
func (_mr *MockBackendClientMockRecorder) GetSecret(arg0 interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret
func (*MockBackendClientMockRecorder) GetSecrets ¶
func (_mr *MockBackendClientMockRecorder) GetSecrets(arg0 interface{}) *gomock.Call
GetSecrets indicates an expected call of GetSecrets
func (*MockBackendClientMockRecorder) GetService ¶
func (_mr *MockBackendClientMockRecorder) GetService(arg0, arg1 interface{}) *gomock.Call
GetService indicates an expected call of GetService
func (*MockBackendClientMockRecorder) GetServices ¶
func (_mr *MockBackendClientMockRecorder) GetServices(arg0 interface{}) *gomock.Call
GetServices indicates an expected call of GetServices
func (*MockBackendClientMockRecorder) GetSnapshotStack ¶
func (_mr *MockBackendClientMockRecorder) GetSnapshotStack(arg0 interface{}) *gomock.Call
GetSnapshotStack indicates an expected call of GetSnapshotStack
func (*MockBackendClientMockRecorder) GetStack ¶
func (_mr *MockBackendClientMockRecorder) GetStack(arg0 interface{}) *gomock.Call
GetStack indicates an expected call of GetStack
func (*MockBackendClientMockRecorder) GetTask ¶
func (_mr *MockBackendClientMockRecorder) GetTask(arg0 interface{}) *gomock.Call
GetTask indicates an expected call of GetTask
func (*MockBackendClientMockRecorder) GetTasks ¶
func (_mr *MockBackendClientMockRecorder) GetTasks(arg0 interface{}) *gomock.Call
GetTasks indicates an expected call of GetTasks
func (*MockBackendClientMockRecorder) Info ¶
func (_mr *MockBackendClientMockRecorder) Info() *gomock.Call
Info indicates an expected call of Info
func (*MockBackendClientMockRecorder) ListStacks ¶
func (_mr *MockBackendClientMockRecorder) ListStacks() *gomock.Call
ListStacks indicates an expected call of ListStacks
func (*MockBackendClientMockRecorder) RemoveConfig ¶
func (_mr *MockBackendClientMockRecorder) RemoveConfig(arg0 interface{}) *gomock.Call
RemoveConfig indicates an expected call of RemoveConfig
func (*MockBackendClientMockRecorder) RemoveNetwork ¶
func (_mr *MockBackendClientMockRecorder) RemoveNetwork(arg0 interface{}) *gomock.Call
RemoveNetwork indicates an expected call of RemoveNetwork
func (*MockBackendClientMockRecorder) RemoveSecret ¶
func (_mr *MockBackendClientMockRecorder) RemoveSecret(arg0 interface{}) *gomock.Call
RemoveSecret indicates an expected call of RemoveSecret
func (*MockBackendClientMockRecorder) RemoveService ¶
func (_mr *MockBackendClientMockRecorder) RemoveService(arg0 interface{}) *gomock.Call
RemoveService indicates an expected call of RemoveService
func (*MockBackendClientMockRecorder) SubscribeToEvents ¶
func (_mr *MockBackendClientMockRecorder) SubscribeToEvents(arg0, arg1, arg2 interface{}) *gomock.Call
SubscribeToEvents indicates an expected call of SubscribeToEvents
func (*MockBackendClientMockRecorder) UnsubscribeFromEvents ¶
func (_mr *MockBackendClientMockRecorder) UnsubscribeFromEvents(arg0 interface{}) *gomock.Call
UnsubscribeFromEvents indicates an expected call of UnsubscribeFromEvents
func (*MockBackendClientMockRecorder) UpdateConfig ¶
func (_mr *MockBackendClientMockRecorder) UpdateConfig(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateConfig indicates an expected call of UpdateConfig
func (*MockBackendClientMockRecorder) UpdateSecret ¶
func (_mr *MockBackendClientMockRecorder) UpdateSecret(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateSecret indicates an expected call of UpdateSecret
func (*MockBackendClientMockRecorder) UpdateService ¶
func (_mr *MockBackendClientMockRecorder) UpdateService(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateService indicates an expected call of UpdateService
func (*MockBackendClientMockRecorder) UpdateSnapshotStack ¶
func (_mr *MockBackendClientMockRecorder) UpdateSnapshotStack(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateSnapshotStack indicates an expected call of UpdateSnapshotStack
func (*MockBackendClientMockRecorder) UpdateStack ¶
func (_mr *MockBackendClientMockRecorder) UpdateStack(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateStack indicates an expected call of UpdateStack
type MockReconciler ¶
type MockReconciler struct {
// contains filtered or unexported fields
}
MockReconciler is a mock of Reconciler interface
func NewMockReconciler ¶
func NewMockReconciler(ctrl *gomock.Controller) *MockReconciler
NewMockReconciler creates a new mock instance
func (*MockReconciler) EXPECT ¶
func (_m *MockReconciler) EXPECT() *MockReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReconciler) Reconcile ¶
func (_m *MockReconciler) Reconcile(_param0 *interfaces.ReconcileResource) error
Reconcile mocks base method
type MockReconcilerMockRecorder ¶
type MockReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockReconcilerMockRecorder is the mock recorder for MockReconciler
func (*MockReconcilerMockRecorder) Reconcile ¶
func (_mr *MockReconcilerMockRecorder) Reconcile(arg0 interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile
type MockResourcesClient ¶
type MockResourcesClient struct {
// contains filtered or unexported fields
}
MockResourcesClient is a mock of ResourcesClient interface
func NewMockResourcesClient ¶
func NewMockResourcesClient(ctrl *gomock.Controller) *MockResourcesClient
NewMockResourcesClient creates a new mock instance
func (*MockResourcesClient) CreateExtension ¶
func (_m *MockResourcesClient) CreateExtension(_param0 context.Context, _param1 *api.CreateExtensionRequest, _param2 ...grpc.CallOption) (*api.CreateExtensionResponse, error)
CreateExtension mocks base method
func (*MockResourcesClient) CreateResource ¶
func (_m *MockResourcesClient) CreateResource(_param0 context.Context, _param1 *api.CreateResourceRequest, _param2 ...grpc.CallOption) (*api.CreateResourceResponse, error)
CreateResource mocks base method
func (*MockResourcesClient) EXPECT ¶
func (_m *MockResourcesClient) EXPECT() *MockResourcesClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResourcesClient) GetResource ¶
func (_m *MockResourcesClient) GetResource(_param0 context.Context, _param1 *api.GetResourceRequest, _param2 ...grpc.CallOption) (*api.GetResourceResponse, error)
GetResource mocks base method
func (*MockResourcesClient) ListResources ¶
func (_m *MockResourcesClient) ListResources(_param0 context.Context, _param1 *api.ListResourcesRequest, _param2 ...grpc.CallOption) (*api.ListResourcesResponse, error)
ListResources mocks base method
func (*MockResourcesClient) RemoveResource ¶
func (_m *MockResourcesClient) RemoveResource(_param0 context.Context, _param1 *api.RemoveResourceRequest, _param2 ...grpc.CallOption) (*api.RemoveResourceResponse, error)
RemoveResource mocks base method
func (*MockResourcesClient) UpdateResource ¶
func (_m *MockResourcesClient) UpdateResource(_param0 context.Context, _param1 *api.UpdateResourceRequest, _param2 ...grpc.CallOption) (*api.UpdateResourceResponse, error)
UpdateResource mocks base method
type MockResourcesClientMockRecorder ¶
type MockResourcesClientMockRecorder struct {
// contains filtered or unexported fields
}
MockResourcesClientMockRecorder is the mock recorder for MockResourcesClient
func (*MockResourcesClientMockRecorder) CreateExtension ¶
func (_mr *MockResourcesClientMockRecorder) CreateExtension(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateExtension indicates an expected call of CreateExtension
func (*MockResourcesClientMockRecorder) CreateResource ¶
func (_mr *MockResourcesClientMockRecorder) CreateResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateResource indicates an expected call of CreateResource
func (*MockResourcesClientMockRecorder) GetResource ¶
func (_mr *MockResourcesClientMockRecorder) GetResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetResource indicates an expected call of GetResource
func (*MockResourcesClientMockRecorder) ListResources ¶
func (_mr *MockResourcesClientMockRecorder) ListResources(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListResources indicates an expected call of ListResources
func (*MockResourcesClientMockRecorder) RemoveResource ¶
func (_mr *MockResourcesClientMockRecorder) RemoveResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RemoveResource indicates an expected call of RemoveResource
func (*MockResourcesClientMockRecorder) UpdateResource ¶
func (_mr *MockResourcesClientMockRecorder) UpdateResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateResource indicates an expected call of UpdateResource