mock_profiles

package
v0.0.75 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_profiles is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProfileService

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

MockProfileService is a mock of ProfileService interface.

func NewMockProfileService

func NewMockProfileService(ctrl *gomock.Controller) *MockProfileService

NewMockProfileService creates a new mock instance.

func (*MockProfileService) CreateProfile

func (m *MockProfileService) CreateProfile(ctx context.Context, projectID, subscriptionID uuid.UUID, profile *v1.Profile, qtx db.Querier) (*v1.Profile, error)

CreateProfile mocks base method.

func (*MockProfileService) EXPECT

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

func (*MockProfileService) PatchProfile

func (m *MockProfileService) PatchProfile(ctx context.Context, projectID, profileID uuid.UUID, profile *v1.Profile, updateMask *fieldmaskpb.FieldMask, qtx db.Querier) (*v1.Profile, error)

PatchProfile mocks base method.

func (*MockProfileService) UpdateProfile

func (m *MockProfileService) UpdateProfile(ctx context.Context, projectID, subscriptionID uuid.UUID, profile *v1.Profile, qtx db.Querier) (*v1.Profile, error)

UpdateProfile mocks base method.

type MockProfileServiceMockRecorder

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

MockProfileServiceMockRecorder is the mock recorder for MockProfileService.

func (*MockProfileServiceMockRecorder) CreateProfile

func (mr *MockProfileServiceMockRecorder) CreateProfile(ctx, projectID, subscriptionID, profile, qtx any) *gomock.Call

CreateProfile indicates an expected call of CreateProfile.

func (*MockProfileServiceMockRecorder) PatchProfile

func (mr *MockProfileServiceMockRecorder) PatchProfile(ctx, projectID, profileID, profile, updateMask, qtx any) *gomock.Call

PatchProfile indicates an expected call of PatchProfile.

func (*MockProfileServiceMockRecorder) UpdateProfile

func (mr *MockProfileServiceMockRecorder) UpdateProfile(ctx, projectID, subscriptionID, profile, qtx any) *gomock.Call

UpdateProfile indicates an expected call of UpdateProfile.

Directories

Path Synopsis
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code.
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code.

Jump to

Keyboard shortcuts

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