Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockInterface
- type MockInterfaceMockRecorder
- type MockLoggerInterface
- func (m *MockLoggerInterface) CloseFile()
- func (m *MockLoggerInterface) Debug(msg string)
- func (m *MockLoggerInterface) EXPECT() *MockLoggerInterfaceMockRecorder
- func (m *MockLoggerInterface) Error(msg string)
- func (m *MockLoggerInterface) Info(msg string)
- func (m *MockLoggerInterface) SetLevel(level slog.Level)
- func (m *MockLoggerInterface) Warn(msg string)
- type MockLoggerInterfaceMockRecorder
- func (mr *MockLoggerInterfaceMockRecorder) CloseFile() *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Debug(msg interface{}) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Error(msg interface{}) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Info(msg interface{}) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) SetLevel(level interface{}) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Warn(msg interface{}) *gomock.Call
- type MockNamespaceableResourceInterface
- func (m *MockNamespaceableResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, ...) error
- func (m *MockNamespaceableResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
- func (m *MockNamespaceableResourceInterface) EXPECT() *MockNamespaceableResourceInterfaceMockRecorder
- func (m *MockNamespaceableResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (m *MockNamespaceableResourceInterface) Namespace(arg0 string) dynamic.ResourceInterface
- func (m *MockNamespaceableResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
- func (m *MockNamespaceableResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type MockNamespaceableResourceInterfaceMockRecorder
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Apply(ctx, name, obj, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Namespace(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call
- func (mr *MockNamespaceableResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call
- type MockResourceInterface
- func (m *MockResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, ...) error
- func (m *MockResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
- func (m *MockResourceInterface) EXPECT() *MockResourceInterfaceMockRecorder
- func (m *MockResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (m *MockResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
- func (m *MockResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type MockResourceInterfaceMockRecorder
- func (mr *MockResourceInterfaceMockRecorder) Apply(ctx, name, obj, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call
- func (mr *MockResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call
- type MockUnsafeWatchServiceServer
- type MockUnsafeWatchServiceServerMockRecorder
- type MockWatchServiceClient
- type MockWatchServiceClientMockRecorder
- type MockWatchServiceServer
- type MockWatchServiceServerMockRecorder
- type MockWatchService_WatchClient
- func (m *MockWatchService_WatchClient) CloseSend() error
- func (m *MockWatchService_WatchClient) Context() context.Context
- func (m *MockWatchService_WatchClient) EXPECT() *MockWatchService_WatchClientMockRecorder
- func (m *MockWatchService_WatchClient) Header() (metadata.MD, error)
- func (m *MockWatchService_WatchClient) Recv() (*api.WatchResponse, error)
- func (m_2 *MockWatchService_WatchClient) RecvMsg(m any) error
- func (m_2 *MockWatchService_WatchClient) SendMsg(m any) error
- func (m *MockWatchService_WatchClient) Trailer() metadata.MD
- type MockWatchService_WatchClientMockRecorder
- func (mr *MockWatchService_WatchClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockWatchService_WatchClientMockRecorder) Context() *gomock.Call
- func (mr *MockWatchService_WatchClientMockRecorder) Header() *gomock.Call
- func (mr *MockWatchService_WatchClientMockRecorder) Recv() *gomock.Call
- func (mr *MockWatchService_WatchClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockWatchService_WatchClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockWatchService_WatchClientMockRecorder) Trailer() *gomock.Call
- type MockWatchService_WatchServer
- func (m *MockWatchService_WatchServer) Context() context.Context
- func (m *MockWatchService_WatchServer) EXPECT() *MockWatchService_WatchServerMockRecorder
- func (m_2 *MockWatchService_WatchServer) RecvMsg(m any) error
- func (m *MockWatchService_WatchServer) Send(arg0 *api.WatchResponse) error
- func (m *MockWatchService_WatchServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockWatchService_WatchServer) SendMsg(m any) error
- func (m *MockWatchService_WatchServer) SetHeader(arg0 metadata.MD) error
- func (m *MockWatchService_WatchServer) SetTrailer(arg0 metadata.MD)
- type MockWatchService_WatchServerMockRecorder
- func (mr *MockWatchService_WatchServerMockRecorder) Context() *gomock.Call
- func (mr *MockWatchService_WatchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockWatchService_WatchServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockWatchService_WatchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockWatchService_WatchServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockWatchService_WatchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockWatchService_WatchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Resource ¶
func (m *MockInterface) Resource(resource schema.GroupVersionResource) dynamic.NamespaceableResourceInterface
Resource mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Resource ¶
func (mr *MockInterfaceMockRecorder) Resource(resource interface{}) *gomock.Call
Resource indicates an expected call of Resource.
type MockLoggerInterface ¶
type MockLoggerInterface struct {
// contains filtered or unexported fields
}
MockLoggerInterface is a mock of LoggerInterface interface.
func NewMockLoggerInterface ¶
func NewMockLoggerInterface(ctrl *gomock.Controller) *MockLoggerInterface
NewMockLoggerInterface creates a new mock instance.
func (*MockLoggerInterface) CloseFile ¶
func (m *MockLoggerInterface) CloseFile()
CloseFile mocks base method.
func (*MockLoggerInterface) Debug ¶
func (m *MockLoggerInterface) Debug(msg string)
Debug mocks base method.
func (*MockLoggerInterface) EXPECT ¶
func (m *MockLoggerInterface) EXPECT() *MockLoggerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoggerInterface) Error ¶
func (m *MockLoggerInterface) Error(msg string)
Error mocks base method.
func (*MockLoggerInterface) Info ¶
func (m *MockLoggerInterface) Info(msg string)
Info mocks base method.
func (*MockLoggerInterface) SetLevel ¶
func (m *MockLoggerInterface) SetLevel(level slog.Level)
SetLevel mocks base method.
func (*MockLoggerInterface) Warn ¶
func (m *MockLoggerInterface) Warn(msg string)
Warn mocks base method.
type MockLoggerInterfaceMockRecorder ¶
type MockLoggerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerInterfaceMockRecorder is the mock recorder for MockLoggerInterface.
func (*MockLoggerInterfaceMockRecorder) CloseFile ¶
func (mr *MockLoggerInterfaceMockRecorder) CloseFile() *gomock.Call
CloseFile indicates an expected call of CloseFile.
func (*MockLoggerInterfaceMockRecorder) Debug ¶
func (mr *MockLoggerInterfaceMockRecorder) Debug(msg interface{}) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerInterfaceMockRecorder) Error ¶
func (mr *MockLoggerInterfaceMockRecorder) Error(msg interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerInterfaceMockRecorder) Info ¶
func (mr *MockLoggerInterfaceMockRecorder) Info(msg interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerInterfaceMockRecorder) SetLevel ¶
func (mr *MockLoggerInterfaceMockRecorder) SetLevel(level interface{}) *gomock.Call
SetLevel indicates an expected call of SetLevel.
func (*MockLoggerInterfaceMockRecorder) Warn ¶
func (mr *MockLoggerInterfaceMockRecorder) Warn(msg interface{}) *gomock.Call
Warn indicates an expected call of Warn.
type MockNamespaceableResourceInterface ¶
type MockNamespaceableResourceInterface struct {
// contains filtered or unexported fields
}
MockNamespaceableResourceInterface is a mock of NamespaceableResourceInterface interface.
func NewMockNamespaceableResourceInterface ¶
func NewMockNamespaceableResourceInterface(ctrl *gomock.Controller) *MockNamespaceableResourceInterface
NewMockNamespaceableResourceInterface creates a new mock instance.
func (*MockNamespaceableResourceInterface) Apply ¶
func (m *MockNamespaceableResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)
Apply mocks base method.
func (*MockNamespaceableResourceInterface) ApplyStatus ¶
func (m *MockNamespaceableResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions) (*unstructured.Unstructured, error)
ApplyStatus mocks base method.
func (*MockNamespaceableResourceInterface) Create ¶
func (m *MockNamespaceableResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)
Create mocks base method.
func (*MockNamespaceableResourceInterface) Delete ¶
func (m *MockNamespaceableResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error
Delete mocks base method.
func (*MockNamespaceableResourceInterface) DeleteCollection ¶
func (m *MockNamespaceableResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection mocks base method.
func (*MockNamespaceableResourceInterface) EXPECT ¶
func (m *MockNamespaceableResourceInterface) EXPECT() *MockNamespaceableResourceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceableResourceInterface) Get ¶
func (m *MockNamespaceableResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
Get mocks base method.
func (*MockNamespaceableResourceInterface) List ¶
func (m *MockNamespaceableResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
List mocks base method.
func (*MockNamespaceableResourceInterface) Namespace ¶
func (m *MockNamespaceableResourceInterface) Namespace(arg0 string) dynamic.ResourceInterface
Namespace mocks base method.
func (*MockNamespaceableResourceInterface) Patch ¶
func (m *MockNamespaceableResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)
Patch mocks base method.
func (*MockNamespaceableResourceInterface) Update ¶
func (m *MockNamespaceableResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)
Update mocks base method.
func (*MockNamespaceableResourceInterface) UpdateStatus ¶
func (m *MockNamespaceableResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
UpdateStatus mocks base method.
func (*MockNamespaceableResourceInterface) Watch ¶
func (m *MockNamespaceableResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockNamespaceableResourceInterfaceMockRecorder ¶
type MockNamespaceableResourceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceableResourceInterfaceMockRecorder is the mock recorder for MockNamespaceableResourceInterface.
func (*MockNamespaceableResourceInterfaceMockRecorder) Apply ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Apply(ctx, name, obj, options interface{}, subresources ...interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options interface{}) *gomock.Call
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockNamespaceableResourceInterfaceMockRecorder) Create ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockNamespaceableResourceInterfaceMockRecorder) Delete ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockNamespaceableResourceInterfaceMockRecorder) Get ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockNamespaceableResourceInterfaceMockRecorder) List ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockNamespaceableResourceInterfaceMockRecorder) Namespace ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Namespace(arg0 interface{}) *gomock.Call
Namespace indicates an expected call of Namespace.
func (*MockNamespaceableResourceInterfaceMockRecorder) Patch ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockNamespaceableResourceInterfaceMockRecorder) Update ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockNamespaceableResourceInterfaceMockRecorder) Watch ¶
func (mr *MockNamespaceableResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type MockResourceInterface ¶
type MockResourceInterface struct {
// contains filtered or unexported fields
}
MockResourceInterface is a mock of ResourceInterface interface.
func NewMockResourceInterface ¶
func NewMockResourceInterface(ctrl *gomock.Controller) *MockResourceInterface
NewMockResourceInterface creates a new mock instance.
func (*MockResourceInterface) Apply ¶
func (m *MockResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)
Apply mocks base method.
func (*MockResourceInterface) ApplyStatus ¶
func (m *MockResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions) (*unstructured.Unstructured, error)
ApplyStatus mocks base method.
func (*MockResourceInterface) Create ¶
func (m *MockResourceInterface) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)
Create mocks base method.
func (*MockResourceInterface) Delete ¶
func (m *MockResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error
Delete mocks base method.
func (*MockResourceInterface) DeleteCollection ¶
func (m *MockResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection mocks base method.
func (*MockResourceInterface) EXPECT ¶
func (m *MockResourceInterface) EXPECT() *MockResourceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceInterface) Get ¶
func (m *MockResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
Get mocks base method.
func (*MockResourceInterface) List ¶
func (m *MockResourceInterface) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
List mocks base method.
func (*MockResourceInterface) Patch ¶
func (m *MockResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)
Patch mocks base method.
func (*MockResourceInterface) Update ¶
func (m *MockResourceInterface) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)
Update mocks base method.
func (*MockResourceInterface) UpdateStatus ¶
func (m *MockResourceInterface) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
UpdateStatus mocks base method.
func (*MockResourceInterface) Watch ¶
func (m *MockResourceInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockResourceInterfaceMockRecorder ¶
type MockResourceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceInterfaceMockRecorder is the mock recorder for MockResourceInterface.
func (*MockResourceInterfaceMockRecorder) Apply ¶
func (mr *MockResourceInterfaceMockRecorder) Apply(ctx, name, obj, options interface{}, subresources ...interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockResourceInterfaceMockRecorder) ApplyStatus ¶
func (mr *MockResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options interface{}) *gomock.Call
ApplyStatus indicates an expected call of ApplyStatus.
func (*MockResourceInterfaceMockRecorder) Create ¶
func (mr *MockResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockResourceInterfaceMockRecorder) Delete ¶
func (mr *MockResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockResourceInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockResourceInterfaceMockRecorder) Get ¶
func (mr *MockResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockResourceInterfaceMockRecorder) List ¶
func (mr *MockResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockResourceInterfaceMockRecorder) Patch ¶
func (mr *MockResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockResourceInterfaceMockRecorder) Update ¶
func (mr *MockResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockResourceInterfaceMockRecorder) UpdateStatus ¶
func (mr *MockResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
func (*MockResourceInterfaceMockRecorder) Watch ¶
func (mr *MockResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type MockUnsafeWatchServiceServer ¶
type MockUnsafeWatchServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeWatchServiceServer is a mock of UnsafeWatchServiceServer interface.
func NewMockUnsafeWatchServiceServer ¶
func NewMockUnsafeWatchServiceServer(ctrl *gomock.Controller) *MockUnsafeWatchServiceServer
NewMockUnsafeWatchServiceServer creates a new mock instance.
func (*MockUnsafeWatchServiceServer) EXPECT ¶
func (m *MockUnsafeWatchServiceServer) EXPECT() *MockUnsafeWatchServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeWatchServiceServerMockRecorder ¶
type MockUnsafeWatchServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeWatchServiceServerMockRecorder is the mock recorder for MockUnsafeWatchServiceServer.
type MockWatchServiceClient ¶
type MockWatchServiceClient struct {
// contains filtered or unexported fields
}
MockWatchServiceClient is a mock of WatchServiceClient interface.
func NewMockWatchServiceClient ¶
func NewMockWatchServiceClient(ctrl *gomock.Controller) *MockWatchServiceClient
NewMockWatchServiceClient creates a new mock instance.
func (*MockWatchServiceClient) EXPECT ¶
func (m *MockWatchServiceClient) EXPECT() *MockWatchServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWatchServiceClient) Watch ¶
func (m *MockWatchServiceClient) Watch(ctx context.Context, in *api.WatchRequest, opts ...grpc.CallOption) (api.WatchService_WatchClient, error)
Watch mocks base method.
type MockWatchServiceClientMockRecorder ¶
type MockWatchServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockWatchServiceClientMockRecorder is the mock recorder for MockWatchServiceClient.
func (*MockWatchServiceClientMockRecorder) Watch ¶
func (mr *MockWatchServiceClientMockRecorder) Watch(ctx, in interface{}, opts ...interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type MockWatchServiceServer ¶
type MockWatchServiceServer struct {
// contains filtered or unexported fields
}
MockWatchServiceServer is a mock of WatchServiceServer interface.
func NewMockWatchServiceServer ¶
func NewMockWatchServiceServer(ctrl *gomock.Controller) *MockWatchServiceServer
NewMockWatchServiceServer creates a new mock instance.
func (*MockWatchServiceServer) EXPECT ¶
func (m *MockWatchServiceServer) EXPECT() *MockWatchServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWatchServiceServer) Watch ¶
func (m *MockWatchServiceServer) Watch(arg0 *api.WatchRequest, arg1 api.WatchService_WatchServer) error
Watch mocks base method.
type MockWatchServiceServerMockRecorder ¶
type MockWatchServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockWatchServiceServerMockRecorder is the mock recorder for MockWatchServiceServer.
func (*MockWatchServiceServerMockRecorder) Watch ¶
func (mr *MockWatchServiceServerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type MockWatchService_WatchClient ¶
type MockWatchService_WatchClient struct {
// contains filtered or unexported fields
}
MockWatchService_WatchClient is a mock of WatchService_WatchClient interface.
func NewMockWatchService_WatchClient ¶
func NewMockWatchService_WatchClient(ctrl *gomock.Controller) *MockWatchService_WatchClient
NewMockWatchService_WatchClient creates a new mock instance.
func (*MockWatchService_WatchClient) CloseSend ¶
func (m *MockWatchService_WatchClient) CloseSend() error
CloseSend mocks base method.
func (*MockWatchService_WatchClient) Context ¶
func (m *MockWatchService_WatchClient) Context() context.Context
Context mocks base method.
func (*MockWatchService_WatchClient) EXPECT ¶
func (m *MockWatchService_WatchClient) EXPECT() *MockWatchService_WatchClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWatchService_WatchClient) Header ¶
func (m *MockWatchService_WatchClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockWatchService_WatchClient) Recv ¶
func (m *MockWatchService_WatchClient) Recv() (*api.WatchResponse, error)
Recv mocks base method.
func (*MockWatchService_WatchClient) RecvMsg ¶
func (m_2 *MockWatchService_WatchClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockWatchService_WatchClient) SendMsg ¶
func (m_2 *MockWatchService_WatchClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockWatchService_WatchClient) Trailer ¶
func (m *MockWatchService_WatchClient) Trailer() metadata.MD
Trailer mocks base method.
type MockWatchService_WatchClientMockRecorder ¶
type MockWatchService_WatchClientMockRecorder struct {
// contains filtered or unexported fields
}
MockWatchService_WatchClientMockRecorder is the mock recorder for MockWatchService_WatchClient.
func (*MockWatchService_WatchClientMockRecorder) CloseSend ¶
func (mr *MockWatchService_WatchClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockWatchService_WatchClientMockRecorder) Context ¶
func (mr *MockWatchService_WatchClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockWatchService_WatchClientMockRecorder) Header ¶
func (mr *MockWatchService_WatchClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockWatchService_WatchClientMockRecorder) Recv ¶
func (mr *MockWatchService_WatchClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockWatchService_WatchClientMockRecorder) RecvMsg ¶
func (mr *MockWatchService_WatchClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockWatchService_WatchClientMockRecorder) SendMsg ¶
func (mr *MockWatchService_WatchClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockWatchService_WatchClientMockRecorder) Trailer ¶
func (mr *MockWatchService_WatchClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockWatchService_WatchServer ¶
type MockWatchService_WatchServer struct {
// contains filtered or unexported fields
}
MockWatchService_WatchServer is a mock of WatchService_WatchServer interface.
func NewMockWatchService_WatchServer ¶
func NewMockWatchService_WatchServer(ctrl *gomock.Controller) *MockWatchService_WatchServer
NewMockWatchService_WatchServer creates a new mock instance.
func (*MockWatchService_WatchServer) Context ¶
func (m *MockWatchService_WatchServer) Context() context.Context
Context mocks base method.
func (*MockWatchService_WatchServer) EXPECT ¶
func (m *MockWatchService_WatchServer) EXPECT() *MockWatchService_WatchServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWatchService_WatchServer) RecvMsg ¶
func (m_2 *MockWatchService_WatchServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockWatchService_WatchServer) Send ¶
func (m *MockWatchService_WatchServer) Send(arg0 *api.WatchResponse) error
Send mocks base method.
func (*MockWatchService_WatchServer) SendHeader ¶
func (m *MockWatchService_WatchServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockWatchService_WatchServer) SendMsg ¶
func (m_2 *MockWatchService_WatchServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockWatchService_WatchServer) SetHeader ¶
func (m *MockWatchService_WatchServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockWatchService_WatchServer) SetTrailer ¶
func (m *MockWatchService_WatchServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockWatchService_WatchServerMockRecorder ¶
type MockWatchService_WatchServerMockRecorder struct {
// contains filtered or unexported fields
}
MockWatchService_WatchServerMockRecorder is the mock recorder for MockWatchService_WatchServer.
func (*MockWatchService_WatchServerMockRecorder) Context ¶
func (mr *MockWatchService_WatchServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockWatchService_WatchServerMockRecorder) RecvMsg ¶
func (mr *MockWatchService_WatchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockWatchService_WatchServerMockRecorder) Send ¶
func (mr *MockWatchService_WatchServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockWatchService_WatchServerMockRecorder) SendHeader ¶
func (mr *MockWatchService_WatchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockWatchService_WatchServerMockRecorder) SendMsg ¶
func (mr *MockWatchService_WatchServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockWatchService_WatchServerMockRecorder) SetHeader ¶
func (mr *MockWatchService_WatchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockWatchService_WatchServerMockRecorder) SetTrailer ¶
func (mr *MockWatchService_WatchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.