Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) CreateDataplane(ctx context.Context, req api.CreateDataplaneRequest) (*api.CreateDataplaneResponse, error)
- func (m *MockService) CreateRegion(ctx context.Context, request api.CreateRegionRequest) (*api.Region, error)
- func (m *MockService) DeleteDataplane(ctx context.Context, id string) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetDataplane(ctx context.Context, id string) (*api.Dataplane, error)
- func (m *MockService) GetOrganization(ctx context.Context, organizationID string) (*api.Organization, error)
- func (m *MockService) GetRegion(ctx context.Context, regionID string) (*api.Region, error)
- func (m *MockService) ListDataplanes(ctx context.Context) ([]api.Dataplane, error)
- func (m *MockService) ListOrganizations(ctx context.Context) ([]*api.Organization, error)
- func (m *MockService) ListRegions(ctx context.Context, organizationID string) ([]*api.Region, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) CreateDataplane(ctx, req any) *gomock.Call
- func (mr *MockServiceMockRecorder) CreateRegion(ctx, request any) *gomock.Call
- func (mr *MockServiceMockRecorder) DeleteDataplane(ctx, id any) *gomock.Call
- func (mr *MockServiceMockRecorder) GetDataplane(ctx, id any) *gomock.Call
- func (mr *MockServiceMockRecorder) GetOrganization(ctx, organizationID any) *gomock.Call
- func (mr *MockServiceMockRecorder) GetRegion(ctx, regionID any) *gomock.Call
- func (mr *MockServiceMockRecorder) ListDataplanes(ctx any) *gomock.Call
- func (mr *MockServiceMockRecorder) ListOrganizations(ctx any) *gomock.Call
- func (mr *MockServiceMockRecorder) ListRegions(ctx, organizationID any) *gomock.Call
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 ¶
func (m *MockService) CreateDataplane(ctx context.Context, req api.CreateDataplaneRequest) (*api.CreateDataplaneResponse, error)
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 ¶
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) ListDataplanes ¶
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.