Documentation ¶
Overview ¶
Package edgedevicesignedrequest is a generated GoMock package.
Index ¶
- type EdgedeviceSignedRequestRepository
- func (esr *EdgedeviceSignedRequestRepository) Create(ctx context.Context, edgedeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest) error
- func (esr *EdgedeviceSignedRequestRepository) Delete(ctx context.Context, obj *v1alpha1.EdgeDeviceSignedRequest) error
- func (esr *EdgedeviceSignedRequestRepository) Patch(ctx context.Context, old *v1alpha1.EdgeDeviceSignedRequest, ...) error
- func (esr *EdgedeviceSignedRequestRepository) PatchStatus(ctx context.Context, edgedeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, ...) error
- func (esr *EdgedeviceSignedRequestRepository) Read(ctx context.Context, name string, namespace string) (*v1alpha1.EdgeDeviceSignedRequest, error)
- type MockRepository
- func (m *MockRepository) Create(arg0 context.Context, arg1 *v1alpha1.EdgeDeviceSignedRequest) error
- func (m *MockRepository) Delete(arg0 context.Context, arg1 *v1alpha1.EdgeDeviceSignedRequest) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) Patch(arg0 context.Context, arg1, arg2 *v1alpha1.EdgeDeviceSignedRequest) error
- func (m *MockRepository) PatchStatus(arg0 context.Context, arg1 *v1alpha1.EdgeDeviceSignedRequest, ...) error
- func (m *MockRepository) Read(arg0 context.Context, arg1, arg2 string) (*v1alpha1.EdgeDeviceSignedRequest, error)
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) PatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EdgedeviceSignedRequestRepository ¶
type EdgedeviceSignedRequestRepository struct {
// contains filtered or unexported fields
}
func NewEdgedeviceSignedRequestRepository ¶
func NewEdgedeviceSignedRequestRepository(client client.Client) *EdgedeviceSignedRequestRepository
func (*EdgedeviceSignedRequestRepository) Create ¶
func (esr *EdgedeviceSignedRequestRepository) Create(ctx context.Context, edgedeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest) error
func (*EdgedeviceSignedRequestRepository) Delete ¶
func (esr *EdgedeviceSignedRequestRepository) Delete(ctx context.Context, obj *v1alpha1.EdgeDeviceSignedRequest) error
func (*EdgedeviceSignedRequestRepository) Patch ¶
func (esr *EdgedeviceSignedRequestRepository) Patch(ctx context.Context, old *v1alpha1.EdgeDeviceSignedRequest, new *v1alpha1.EdgeDeviceSignedRequest) error
func (*EdgedeviceSignedRequestRepository) PatchStatus ¶
func (esr *EdgedeviceSignedRequestRepository) PatchStatus(ctx context.Context, edgedeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, patch *client.Patch) error
func (*EdgedeviceSignedRequestRepository) Read ¶
func (esr *EdgedeviceSignedRequestRepository) Read(ctx context.Context, name string, namespace string) (*v1alpha1.EdgeDeviceSignedRequest, error)
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) Create ¶
func (m *MockRepository) Create(arg0 context.Context, arg1 *v1alpha1.EdgeDeviceSignedRequest) error
Create mocks base method.
func (*MockRepository) Delete ¶
func (m *MockRepository) Delete(arg0 context.Context, arg1 *v1alpha1.EdgeDeviceSignedRequest) error
Delete mocks base method.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) Patch ¶
func (m *MockRepository) Patch(arg0 context.Context, arg1, arg2 *v1alpha1.EdgeDeviceSignedRequest) error
Patch mocks base method.
func (*MockRepository) PatchStatus ¶
func (m *MockRepository) PatchStatus(arg0 context.Context, arg1 *v1alpha1.EdgeDeviceSignedRequest, arg2 *client.Patch) error
PatchStatus mocks base method.
func (*MockRepository) Read ¶
func (m *MockRepository) Read(arg0 context.Context, arg1, arg2 string) (*v1alpha1.EdgeDeviceSignedRequest, error)
Read mocks base method.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) Create ¶
func (mr *MockRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockRepositoryMockRecorder) Delete ¶
func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRepositoryMockRecorder) Patch ¶
func (mr *MockRepositoryMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockRepositoryMockRecorder) PatchStatus ¶
func (mr *MockRepositoryMockRecorder) PatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
PatchStatus indicates an expected call of PatchStatus.
func (*MockRepositoryMockRecorder) Read ¶
func (mr *MockRepositoryMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call
Read indicates an expected call of Read.
type Repository ¶
type Repository interface { Read(ctx context.Context, name string, namespace string) (*v1alpha1.EdgeDeviceSignedRequest, error) Create(ctx context.Context, edgedeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest) error PatchStatus(ctx context.Context, edgedeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, patch *client.Patch) error Patch(ctx context.Context, old *v1alpha1.EdgeDeviceSignedRequest, new *v1alpha1.EdgeDeviceSignedRequest) error Delete(ctx context.Context, obj *v1alpha1.EdgeDeviceSignedRequest) error }