Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockRuntimeHookServiceClient
- func (m *MockRuntimeHookServiceClient) EXPECT() *MockRuntimeHookServiceClientMockRecorder
- func (m *MockRuntimeHookServiceClient) PostStartContainerHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, ...) (*v1alpha1.ContainerResourceHookResponse, error)
- func (m *MockRuntimeHookServiceClient) PostStopContainerHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, ...) (*v1alpha1.ContainerResourceHookResponse, error)
- func (m *MockRuntimeHookServiceClient) PostStopPodSandboxHook(ctx context.Context, in *v1alpha1.PodSandboxHookRequest, ...) (*v1alpha1.PodSandboxHookResponse, error)
- func (m *MockRuntimeHookServiceClient) PreCreateContainerHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, ...) (*v1alpha1.ContainerResourceHookResponse, error)
- func (m *MockRuntimeHookServiceClient) PreRunPodSandboxHook(ctx context.Context, in *v1alpha1.PodSandboxHookRequest, ...) (*v1alpha1.PodSandboxHookResponse, error)
- func (m *MockRuntimeHookServiceClient) PreStartContainerHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, ...) (*v1alpha1.ContainerResourceHookResponse, error)
- func (m *MockRuntimeHookServiceClient) PreUpdateContainerResourcesHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, ...) (*v1alpha1.ContainerResourceHookResponse, error)
- type MockRuntimeHookServiceClientMockRecorder
- func (mr *MockRuntimeHookServiceClientMockRecorder) PostStartContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceClientMockRecorder) PostStopContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceClientMockRecorder) PostStopPodSandboxHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceClientMockRecorder) PreCreateContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceClientMockRecorder) PreRunPodSandboxHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceClientMockRecorder) PreStartContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceClientMockRecorder) PreUpdateContainerResourcesHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockRuntimeHookServiceServer
- func (m *MockRuntimeHookServiceServer) EXPECT() *MockRuntimeHookServiceServerMockRecorder
- func (m *MockRuntimeHookServiceServer) PostStartContainerHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
- func (m *MockRuntimeHookServiceServer) PostStopContainerHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
- func (m *MockRuntimeHookServiceServer) PostStopPodSandboxHook(arg0 context.Context, arg1 *v1alpha1.PodSandboxHookRequest) (*v1alpha1.PodSandboxHookResponse, error)
- func (m *MockRuntimeHookServiceServer) PreCreateContainerHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
- func (m *MockRuntimeHookServiceServer) PreRunPodSandboxHook(arg0 context.Context, arg1 *v1alpha1.PodSandboxHookRequest) (*v1alpha1.PodSandboxHookResponse, error)
- func (m *MockRuntimeHookServiceServer) PreStartContainerHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
- func (m *MockRuntimeHookServiceServer) PreUpdateContainerResourcesHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
- type MockRuntimeHookServiceServerMockRecorder
- func (mr *MockRuntimeHookServiceServerMockRecorder) PostStartContainerHook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceServerMockRecorder) PostStopContainerHook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceServerMockRecorder) PostStopPodSandboxHook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceServerMockRecorder) PreCreateContainerHook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceServerMockRecorder) PreRunPodSandboxHook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceServerMockRecorder) PreStartContainerHook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeHookServiceServerMockRecorder) PreUpdateContainerResourcesHook(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeRuntimeHookServiceServer
- type MockUnsafeRuntimeHookServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRuntimeHookServiceClient ¶
type MockRuntimeHookServiceClient struct {
// contains filtered or unexported fields
}
MockRuntimeHookServiceClient is a mock of RuntimeHookServiceClient interface.
func NewMockRuntimeHookServiceClient ¶
func NewMockRuntimeHookServiceClient(ctrl *gomock.Controller) *MockRuntimeHookServiceClient
NewMockRuntimeHookServiceClient creates a new mock instance.
func (*MockRuntimeHookServiceClient) EXPECT ¶
func (m *MockRuntimeHookServiceClient) EXPECT() *MockRuntimeHookServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRuntimeHookServiceClient) PostStartContainerHook ¶
func (m *MockRuntimeHookServiceClient) PostStartContainerHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, opts ...grpc.CallOption) (*v1alpha1.ContainerResourceHookResponse, error)
PostStartContainerHook mocks base method.
func (*MockRuntimeHookServiceClient) PostStopContainerHook ¶
func (m *MockRuntimeHookServiceClient) PostStopContainerHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, opts ...grpc.CallOption) (*v1alpha1.ContainerResourceHookResponse, error)
PostStopContainerHook mocks base method.
func (*MockRuntimeHookServiceClient) PostStopPodSandboxHook ¶
func (m *MockRuntimeHookServiceClient) PostStopPodSandboxHook(ctx context.Context, in *v1alpha1.PodSandboxHookRequest, opts ...grpc.CallOption) (*v1alpha1.PodSandboxHookResponse, error)
PostStopPodSandboxHook mocks base method.
func (*MockRuntimeHookServiceClient) PreCreateContainerHook ¶
func (m *MockRuntimeHookServiceClient) PreCreateContainerHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, opts ...grpc.CallOption) (*v1alpha1.ContainerResourceHookResponse, error)
PreCreateContainerHook mocks base method.
func (*MockRuntimeHookServiceClient) PreRunPodSandboxHook ¶
func (m *MockRuntimeHookServiceClient) PreRunPodSandboxHook(ctx context.Context, in *v1alpha1.PodSandboxHookRequest, opts ...grpc.CallOption) (*v1alpha1.PodSandboxHookResponse, error)
PreRunPodSandboxHook mocks base method.
func (*MockRuntimeHookServiceClient) PreStartContainerHook ¶
func (m *MockRuntimeHookServiceClient) PreStartContainerHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, opts ...grpc.CallOption) (*v1alpha1.ContainerResourceHookResponse, error)
PreStartContainerHook mocks base method.
func (*MockRuntimeHookServiceClient) PreUpdateContainerResourcesHook ¶
func (m *MockRuntimeHookServiceClient) PreUpdateContainerResourcesHook(ctx context.Context, in *v1alpha1.ContainerResourceHookRequest, opts ...grpc.CallOption) (*v1alpha1.ContainerResourceHookResponse, error)
PreUpdateContainerResourcesHook mocks base method.
type MockRuntimeHookServiceClientMockRecorder ¶
type MockRuntimeHookServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRuntimeHookServiceClientMockRecorder is the mock recorder for MockRuntimeHookServiceClient.
func (*MockRuntimeHookServiceClientMockRecorder) PostStartContainerHook ¶
func (mr *MockRuntimeHookServiceClientMockRecorder) PostStartContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
PostStartContainerHook indicates an expected call of PostStartContainerHook.
func (*MockRuntimeHookServiceClientMockRecorder) PostStopContainerHook ¶
func (mr *MockRuntimeHookServiceClientMockRecorder) PostStopContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
PostStopContainerHook indicates an expected call of PostStopContainerHook.
func (*MockRuntimeHookServiceClientMockRecorder) PostStopPodSandboxHook ¶
func (mr *MockRuntimeHookServiceClientMockRecorder) PostStopPodSandboxHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
PostStopPodSandboxHook indicates an expected call of PostStopPodSandboxHook.
func (*MockRuntimeHookServiceClientMockRecorder) PreCreateContainerHook ¶
func (mr *MockRuntimeHookServiceClientMockRecorder) PreCreateContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
PreCreateContainerHook indicates an expected call of PreCreateContainerHook.
func (*MockRuntimeHookServiceClientMockRecorder) PreRunPodSandboxHook ¶
func (mr *MockRuntimeHookServiceClientMockRecorder) PreRunPodSandboxHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
PreRunPodSandboxHook indicates an expected call of PreRunPodSandboxHook.
func (*MockRuntimeHookServiceClientMockRecorder) PreStartContainerHook ¶
func (mr *MockRuntimeHookServiceClientMockRecorder) PreStartContainerHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
PreStartContainerHook indicates an expected call of PreStartContainerHook.
func (*MockRuntimeHookServiceClientMockRecorder) PreUpdateContainerResourcesHook ¶
func (mr *MockRuntimeHookServiceClientMockRecorder) PreUpdateContainerResourcesHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
PreUpdateContainerResourcesHook indicates an expected call of PreUpdateContainerResourcesHook.
type MockRuntimeHookServiceServer ¶
type MockRuntimeHookServiceServer struct {
// contains filtered or unexported fields
}
MockRuntimeHookServiceServer is a mock of RuntimeHookServiceServer interface.
func NewMockRuntimeHookServiceServer ¶
func NewMockRuntimeHookServiceServer(ctrl *gomock.Controller) *MockRuntimeHookServiceServer
NewMockRuntimeHookServiceServer creates a new mock instance.
func (*MockRuntimeHookServiceServer) EXPECT ¶
func (m *MockRuntimeHookServiceServer) EXPECT() *MockRuntimeHookServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRuntimeHookServiceServer) PostStartContainerHook ¶
func (m *MockRuntimeHookServiceServer) PostStartContainerHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
PostStartContainerHook mocks base method.
func (*MockRuntimeHookServiceServer) PostStopContainerHook ¶
func (m *MockRuntimeHookServiceServer) PostStopContainerHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
PostStopContainerHook mocks base method.
func (*MockRuntimeHookServiceServer) PostStopPodSandboxHook ¶
func (m *MockRuntimeHookServiceServer) PostStopPodSandboxHook(arg0 context.Context, arg1 *v1alpha1.PodSandboxHookRequest) (*v1alpha1.PodSandboxHookResponse, error)
PostStopPodSandboxHook mocks base method.
func (*MockRuntimeHookServiceServer) PreCreateContainerHook ¶
func (m *MockRuntimeHookServiceServer) PreCreateContainerHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
PreCreateContainerHook mocks base method.
func (*MockRuntimeHookServiceServer) PreRunPodSandboxHook ¶
func (m *MockRuntimeHookServiceServer) PreRunPodSandboxHook(arg0 context.Context, arg1 *v1alpha1.PodSandboxHookRequest) (*v1alpha1.PodSandboxHookResponse, error)
PreRunPodSandboxHook mocks base method.
func (*MockRuntimeHookServiceServer) PreStartContainerHook ¶
func (m *MockRuntimeHookServiceServer) PreStartContainerHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
PreStartContainerHook mocks base method.
func (*MockRuntimeHookServiceServer) PreUpdateContainerResourcesHook ¶
func (m *MockRuntimeHookServiceServer) PreUpdateContainerResourcesHook(arg0 context.Context, arg1 *v1alpha1.ContainerResourceHookRequest) (*v1alpha1.ContainerResourceHookResponse, error)
PreUpdateContainerResourcesHook mocks base method.
type MockRuntimeHookServiceServerMockRecorder ¶
type MockRuntimeHookServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRuntimeHookServiceServerMockRecorder is the mock recorder for MockRuntimeHookServiceServer.
func (*MockRuntimeHookServiceServerMockRecorder) PostStartContainerHook ¶
func (mr *MockRuntimeHookServiceServerMockRecorder) PostStartContainerHook(arg0, arg1 interface{}) *gomock.Call
PostStartContainerHook indicates an expected call of PostStartContainerHook.
func (*MockRuntimeHookServiceServerMockRecorder) PostStopContainerHook ¶
func (mr *MockRuntimeHookServiceServerMockRecorder) PostStopContainerHook(arg0, arg1 interface{}) *gomock.Call
PostStopContainerHook indicates an expected call of PostStopContainerHook.
func (*MockRuntimeHookServiceServerMockRecorder) PostStopPodSandboxHook ¶
func (mr *MockRuntimeHookServiceServerMockRecorder) PostStopPodSandboxHook(arg0, arg1 interface{}) *gomock.Call
PostStopPodSandboxHook indicates an expected call of PostStopPodSandboxHook.
func (*MockRuntimeHookServiceServerMockRecorder) PreCreateContainerHook ¶
func (mr *MockRuntimeHookServiceServerMockRecorder) PreCreateContainerHook(arg0, arg1 interface{}) *gomock.Call
PreCreateContainerHook indicates an expected call of PreCreateContainerHook.
func (*MockRuntimeHookServiceServerMockRecorder) PreRunPodSandboxHook ¶
func (mr *MockRuntimeHookServiceServerMockRecorder) PreRunPodSandboxHook(arg0, arg1 interface{}) *gomock.Call
PreRunPodSandboxHook indicates an expected call of PreRunPodSandboxHook.
func (*MockRuntimeHookServiceServerMockRecorder) PreStartContainerHook ¶
func (mr *MockRuntimeHookServiceServerMockRecorder) PreStartContainerHook(arg0, arg1 interface{}) *gomock.Call
PreStartContainerHook indicates an expected call of PreStartContainerHook.
func (*MockRuntimeHookServiceServerMockRecorder) PreUpdateContainerResourcesHook ¶
func (mr *MockRuntimeHookServiceServerMockRecorder) PreUpdateContainerResourcesHook(arg0, arg1 interface{}) *gomock.Call
PreUpdateContainerResourcesHook indicates an expected call of PreUpdateContainerResourcesHook.
type MockUnsafeRuntimeHookServiceServer ¶
type MockUnsafeRuntimeHookServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeRuntimeHookServiceServer is a mock of UnsafeRuntimeHookServiceServer interface.
func NewMockUnsafeRuntimeHookServiceServer ¶
func NewMockUnsafeRuntimeHookServiceServer(ctrl *gomock.Controller) *MockUnsafeRuntimeHookServiceServer
NewMockUnsafeRuntimeHookServiceServer creates a new mock instance.
func (*MockUnsafeRuntimeHookServiceServer) EXPECT ¶
func (m *MockUnsafeRuntimeHookServiceServer) EXPECT() *MockUnsafeRuntimeHookServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeRuntimeHookServiceServerMockRecorder ¶
type MockUnsafeRuntimeHookServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeRuntimeHookServiceServerMockRecorder is the mock recorder for MockUnsafeRuntimeHookServiceServer.