Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockContainersClient
- func (m *MockContainersClient) Attach(arg0 context.Context, arg1 ...grpc.CallOption) (containers.Containers_AttachClient, error)
- func (m *MockContainersClient) Create(arg0 context.Context, arg1 *containers.CreateContainerRequest, ...) (*containers.CreateContainerResponse, error)
- func (m *MockContainersClient) EXPECT() *MockContainersClientMockRecorder
- func (m *MockContainersClient) Get(arg0 context.Context, arg1 *containers.GetContainerRequest, ...) (*containers.GetContainerResponse, error)
- func (m *MockContainersClient) List(arg0 context.Context, arg1 *containers.ListContainersRequest, ...) (*containers.ListContainersResponse, error)
- func (m *MockContainersClient) ListStream(arg0 context.Context, arg1 *containers.ListContainersRequest, ...) (containers.Containers_ListStreamClient, error)
- func (m *MockContainersClient) Logs(arg0 context.Context, arg1 *containers.GetLogsRequest, arg2 ...grpc.CallOption) (containers.Containers_LogsClient, error)
- func (m *MockContainersClient) Pause(arg0 context.Context, arg1 *containers.PauseContainerRequest, ...) (*empty.Empty, error)
- func (m *MockContainersClient) Remove(arg0 context.Context, arg1 *containers.RemoveContainerRequest, ...) (*empty.Empty, error)
- func (m *MockContainersClient) Rename(arg0 context.Context, arg1 *containers.RenameContainerRequest, ...) (*empty.Empty, error)
- func (m *MockContainersClient) Restart(arg0 context.Context, arg1 *containers.RestartContainerRequest, ...) (*empty.Empty, error)
- func (m *MockContainersClient) Start(arg0 context.Context, arg1 *containers.StartContainerRequest, ...) (*empty.Empty, error)
- func (m *MockContainersClient) Stop(arg0 context.Context, arg1 *containers.StopContainerRequest, ...) (*empty.Empty, error)
- func (m *MockContainersClient) Unpause(arg0 context.Context, arg1 *containers.UnpauseContainerRequest, ...) (*empty.Empty, error)
- func (m *MockContainersClient) Update(arg0 context.Context, arg1 *containers.UpdateContainerRequest, ...) (*empty.Empty, error)
- type MockContainersClientMockRecorder
- func (mr *MockContainersClientMockRecorder) Attach(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) ListStream(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Logs(arg0, arg1 interface{}, arg2 interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Pause(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Remove(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Rename(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Restart(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Start(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Stop(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Unpause(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockContainersClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockContainers_AttachClient
- func (m *MockContainers_AttachClient) CloseSend() error
- func (m *MockContainers_AttachClient) Context() context.Context
- func (m *MockContainers_AttachClient) EXPECT() *MockContainers_AttachClientMockRecorder
- func (m *MockContainers_AttachClient) Header() (metadata.MD, error)
- func (m *MockContainers_AttachClient) Recv() (*containers.AttachContainerResponse, error)
- func (m *MockContainers_AttachClient) RecvMsg(arg0 interface{}) error
- func (m *MockContainers_AttachClient) Send(arg0 *containers.AttachContainerRequest) error
- func (m *MockContainers_AttachClient) SendMsg(arg0 interface{}) error
- func (m *MockContainers_AttachClient) Trailer() metadata.MD
- type MockContainers_AttachClientMockRecorder
- func (mr *MockContainers_AttachClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockContainers_AttachClientMockRecorder) Context() *gomock.Call
- func (mr *MockContainers_AttachClientMockRecorder) Header() *gomock.Call
- func (mr *MockContainers_AttachClientMockRecorder) Recv() *gomock.Call
- func (mr *MockContainers_AttachClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockContainers_AttachClientMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockContainers_AttachClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockContainers_AttachClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainersClient ¶
type MockContainersClient struct {
// contains filtered or unexported fields
}
MockContainersClient is a mock of ContainersClient interface.
func NewMockContainersClient ¶
func NewMockContainersClient(ctrl *gomock.Controller) *MockContainersClient
NewMockContainersClient creates a new mock instance.
func (*MockContainersClient) Attach ¶
func (m *MockContainersClient) Attach(arg0 context.Context, arg1 ...grpc.CallOption) (containers.Containers_AttachClient, error)
Attach mocks base method.
func (*MockContainersClient) Create ¶
func (m *MockContainersClient) Create(arg0 context.Context, arg1 *containers.CreateContainerRequest, arg2 ...grpc.CallOption) (*containers.CreateContainerResponse, error)
Create mocks base method.
func (*MockContainersClient) EXPECT ¶
func (m *MockContainersClient) EXPECT() *MockContainersClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainersClient) Get ¶
func (m *MockContainersClient) Get(arg0 context.Context, arg1 *containers.GetContainerRequest, arg2 ...grpc.CallOption) (*containers.GetContainerResponse, error)
Get mocks base method.
func (*MockContainersClient) List ¶
func (m *MockContainersClient) List(arg0 context.Context, arg1 *containers.ListContainersRequest, arg2 ...grpc.CallOption) (*containers.ListContainersResponse, error)
List mocks base method.
func (*MockContainersClient) ListStream ¶
func (m *MockContainersClient) ListStream(arg0 context.Context, arg1 *containers.ListContainersRequest, arg2 ...grpc.CallOption) (containers.Containers_ListStreamClient, error)
ListStream mocks base method.
func (*MockContainersClient) Logs ¶
func (m *MockContainersClient) Logs(arg0 context.Context, arg1 *containers.GetLogsRequest, arg2 ...grpc.CallOption) (containers.Containers_LogsClient, error)
Logs mocks base method.
func (*MockContainersClient) Pause ¶
func (m *MockContainersClient) Pause(arg0 context.Context, arg1 *containers.PauseContainerRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
Pause mocks base method.
func (*MockContainersClient) Remove ¶
func (m *MockContainersClient) Remove(arg0 context.Context, arg1 *containers.RemoveContainerRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
Remove mocks base method.
func (*MockContainersClient) Rename ¶
func (m *MockContainersClient) Rename(arg0 context.Context, arg1 *containers.RenameContainerRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
Rename mocks base method.
func (*MockContainersClient) Restart ¶
func (m *MockContainersClient) Restart(arg0 context.Context, arg1 *containers.RestartContainerRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
Restart mocks base method.
func (*MockContainersClient) Start ¶
func (m *MockContainersClient) Start(arg0 context.Context, arg1 *containers.StartContainerRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
Start mocks base method.
func (*MockContainersClient) Stop ¶
func (m *MockContainersClient) Stop(arg0 context.Context, arg1 *containers.StopContainerRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
Stop mocks base method.
func (*MockContainersClient) Unpause ¶
func (m *MockContainersClient) Unpause(arg0 context.Context, arg1 *containers.UnpauseContainerRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
Unpause mocks base method.
func (*MockContainersClient) Update ¶
func (m *MockContainersClient) Update(arg0 context.Context, arg1 *containers.UpdateContainerRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
Update mocks base method.
type MockContainersClientMockRecorder ¶
type MockContainersClientMockRecorder struct {
// contains filtered or unexported fields
}
MockContainersClientMockRecorder is the mock recorder for MockContainersClient.
func (*MockContainersClientMockRecorder) Attach ¶
func (mr *MockContainersClientMockRecorder) Attach(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Attach indicates an expected call of Attach.
func (*MockContainersClientMockRecorder) Create ¶
func (mr *MockContainersClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockContainersClientMockRecorder) Get ¶
func (mr *MockContainersClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockContainersClientMockRecorder) List ¶
func (mr *MockContainersClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockContainersClientMockRecorder) ListStream ¶
func (mr *MockContainersClientMockRecorder) ListStream(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListStream indicates an expected call of ListStream.
func (*MockContainersClientMockRecorder) Logs ¶
func (mr *MockContainersClientMockRecorder) Logs(arg0, arg1 interface{}, arg2 interface{}) *gomock.Call
Logs indicates an expected call of Logs.
func (*MockContainersClientMockRecorder) Pause ¶
func (mr *MockContainersClientMockRecorder) Pause(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Pause indicates an expected call of Pause.
func (*MockContainersClientMockRecorder) Remove ¶
func (mr *MockContainersClientMockRecorder) Remove(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockContainersClientMockRecorder) Rename ¶
func (mr *MockContainersClientMockRecorder) Rename(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Rename indicates an expected call of Rename.
func (*MockContainersClientMockRecorder) Restart ¶
func (mr *MockContainersClientMockRecorder) Restart(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Restart indicates an expected call of Restart.
func (*MockContainersClientMockRecorder) Start ¶
func (mr *MockContainersClientMockRecorder) Start(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockContainersClientMockRecorder) Stop ¶
func (mr *MockContainersClientMockRecorder) Stop(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockContainersClientMockRecorder) Unpause ¶
func (mr *MockContainersClientMockRecorder) Unpause(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Unpause indicates an expected call of Unpause.
func (*MockContainersClientMockRecorder) Update ¶
func (mr *MockContainersClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockContainers_AttachClient ¶
type MockContainers_AttachClient struct {
// contains filtered or unexported fields
}
MockContainers_AttachClient is a mock of Containers_AttachClient interface.
func NewMockContainers_AttachClient ¶
func NewMockContainers_AttachClient(ctrl *gomock.Controller) *MockContainers_AttachClient
NewMockContainers_AttachClient creates a new mock instance.
func (*MockContainers_AttachClient) CloseSend ¶
func (m *MockContainers_AttachClient) CloseSend() error
CloseSend mocks base method.
func (*MockContainers_AttachClient) Context ¶
func (m *MockContainers_AttachClient) Context() context.Context
Context mocks base method.
func (*MockContainers_AttachClient) EXPECT ¶
func (m *MockContainers_AttachClient) EXPECT() *MockContainers_AttachClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainers_AttachClient) Header ¶
func (m *MockContainers_AttachClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockContainers_AttachClient) Recv ¶
func (m *MockContainers_AttachClient) Recv() (*containers.AttachContainerResponse, error)
Recv mocks base method.
func (*MockContainers_AttachClient) RecvMsg ¶
func (m *MockContainers_AttachClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockContainers_AttachClient) Send ¶
func (m *MockContainers_AttachClient) Send(arg0 *containers.AttachContainerRequest) error
Send mocks base method.
func (*MockContainers_AttachClient) SendMsg ¶
func (m *MockContainers_AttachClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockContainers_AttachClient) Trailer ¶
func (m *MockContainers_AttachClient) Trailer() metadata.MD
Trailer mocks base method.
type MockContainers_AttachClientMockRecorder ¶
type MockContainers_AttachClientMockRecorder struct {
// contains filtered or unexported fields
}
MockContainers_AttachClientMockRecorder is the mock recorder for MockContainers_AttachClient.
func (*MockContainers_AttachClientMockRecorder) CloseSend ¶
func (mr *MockContainers_AttachClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockContainers_AttachClientMockRecorder) Context ¶
func (mr *MockContainers_AttachClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockContainers_AttachClientMockRecorder) Header ¶
func (mr *MockContainers_AttachClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockContainers_AttachClientMockRecorder) Recv ¶
func (mr *MockContainers_AttachClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockContainers_AttachClientMockRecorder) RecvMsg ¶
func (mr *MockContainers_AttachClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockContainers_AttachClientMockRecorder) Send ¶
func (mr *MockContainers_AttachClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockContainers_AttachClientMockRecorder) SendMsg ¶
func (mr *MockContainers_AttachClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockContainers_AttachClientMockRecorder) Trailer ¶
func (mr *MockContainers_AttachClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.