mocks

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectServiceClient

type ProjectServiceClient struct {
	mock.Mock
}

ProjectServiceClient is an autogenerated mock type for the ProjectServiceClient type

func NewProjectServiceClient

func NewProjectServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProjectServiceClient

NewProjectServiceClient creates a new instance of ProjectServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ProjectServiceClient) CleanProject added in v0.5.0

func (_m *ProjectServiceClient) CleanProject(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

CleanProject provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) CreateProject

CreateProject provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) DeleteProject

DeleteProject provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) IsActive

IsActive provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) ListProject

ListProject provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) TagProject

TagProject provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) UntagProject

UntagProject provides a mock function with given fields: ctx, in, opts

func (*ProjectServiceClient) UpdateProject

UpdateProject provides a mock function with given fields: ctx, in, opts

type ProjectServiceServer

type ProjectServiceServer struct {
	mock.Mock
}

ProjectServiceServer is an autogenerated mock type for the ProjectServiceServer type

func NewProjectServiceServer

func NewProjectServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProjectServiceServer

NewProjectServiceServer creates a new instance of ProjectServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ProjectServiceServer) CleanProject added in v0.5.0

func (_m *ProjectServiceServer) CleanProject(_a0 context.Context, _a1 *emptypb.Empty) (*emptypb.Empty, error)

CleanProject provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) CreateProject

CreateProject provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) DeleteProject

DeleteProject provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) IsActive

IsActive provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) ListProject

ListProject provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) TagProject

TagProject provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) UntagProject

UntagProject provides a mock function with given fields: _a0, _a1

func (*ProjectServiceServer) UpdateProject

UpdateProject provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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