edgedevicesignedrequest

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package edgedevicesignedrequest is a generated GoMock package.

Index

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 (*EdgedeviceSignedRequestRepository) Patch

func (*EdgedeviceSignedRequestRepository) PatchStatus

func (esr *EdgedeviceSignedRequestRepository) PatchStatus(ctx context.Context, edgedeviceSignedRequest *v1alpha1.EdgeDeviceSignedRequest, patch *client.Patch) error

func (*EdgedeviceSignedRequestRepository) Read

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

Create mocks base method.

func (*MockRepository) Delete

Delete mocks base method.

func (*MockRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRepository) Patch

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

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL