mock

package
v0.30.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

type MockService struct {
	// contains filtered or unexported fields
}

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) CreateDataplane

CreateDataplane mocks base method.

func (*MockService) CreateRegion

func (m *MockService) CreateRegion(ctx context.Context, request api.CreateRegionRequest) (*api.Region, error)

CreateRegion mocks base method.

func (*MockService) DeleteDataplane

func (m *MockService) DeleteDataplane(ctx context.Context, id string) error

DeleteDataplane mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) GetDataplane

func (m *MockService) GetDataplane(ctx context.Context, id string) (*api.Dataplane, error)

GetDataplane mocks base method.

func (*MockService) GetOrganization

func (m *MockService) GetOrganization(ctx context.Context, organizationID string) (*api.Organization, error)

GetOrganization mocks base method.

func (*MockService) GetRegion

func (m *MockService) GetRegion(ctx context.Context, regionID string) (*api.Region, error)

GetRegion mocks base method.

func (*MockService) ListDataplanes

func (m *MockService) ListDataplanes(ctx context.Context) ([]api.Dataplane, error)

ListDataplanes mocks base method.

func (*MockService) ListOrganizations

func (m *MockService) ListOrganizations(ctx context.Context) ([]*api.Organization, error)

ListOrganizations mocks base method.

func (*MockService) ListRegions

func (m *MockService) ListRegions(ctx context.Context, organizationID string) ([]*api.Region, error)

ListRegions mocks base method.

type MockServiceMockRecorder

type MockServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) CreateDataplane

func (mr *MockServiceMockRecorder) CreateDataplane(ctx, req any) *gomock.Call

CreateDataplane indicates an expected call of CreateDataplane.

func (*MockServiceMockRecorder) CreateRegion

func (mr *MockServiceMockRecorder) CreateRegion(ctx, request any) *gomock.Call

CreateRegion indicates an expected call of CreateRegion.

func (*MockServiceMockRecorder) DeleteDataplane

func (mr *MockServiceMockRecorder) DeleteDataplane(ctx, id any) *gomock.Call

DeleteDataplane indicates an expected call of DeleteDataplane.

func (*MockServiceMockRecorder) GetDataplane

func (mr *MockServiceMockRecorder) GetDataplane(ctx, id any) *gomock.Call

GetDataplane indicates an expected call of GetDataplane.

func (*MockServiceMockRecorder) GetOrganization

func (mr *MockServiceMockRecorder) GetOrganization(ctx, organizationID any) *gomock.Call

GetOrganization indicates an expected call of GetOrganization.

func (*MockServiceMockRecorder) GetRegion

func (mr *MockServiceMockRecorder) GetRegion(ctx, regionID any) *gomock.Call

GetRegion indicates an expected call of GetRegion.

func (*MockServiceMockRecorder) ListDataplanes

func (mr *MockServiceMockRecorder) ListDataplanes(ctx any) *gomock.Call

ListDataplanes indicates an expected call of ListDataplanes.

func (*MockServiceMockRecorder) ListOrganizations

func (mr *MockServiceMockRecorder) ListOrganizations(ctx any) *gomock.Call

ListOrganizations indicates an expected call of ListOrganizations.

func (*MockServiceMockRecorder) ListRegions

func (mr *MockServiceMockRecorder) ListRegions(ctx, organizationID any) *gomock.Call

ListRegions indicates an expected call of ListRegions.

Jump to

Keyboard shortcuts

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