apimock

package
v0.18.0 Latest Latest
Warning

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

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

Documentation

Overview

Package apimock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthServiceClient

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

MockAuthServiceClient is a mock of AuthServiceClient interface.

func NewMockAuthServiceClient

func NewMockAuthServiceClient(ctrl *gomock.Controller) *MockAuthServiceClient

NewMockAuthServiceClient creates a new mock instance.

func (*MockAuthServiceClient) CreateAPIKey added in v0.11.0

CreateAPIKey mocks base method.

func (*MockAuthServiceClient) CreateServiceAccount added in v0.16.0

CreateServiceAccount mocks base method.

func (*MockAuthServiceClient) CreateServiceAccountAPIKey added in v0.16.0

CreateServiceAccountAPIKey mocks base method.

func (*MockAuthServiceClient) DeleteAPIKey added in v0.11.0

DeleteAPIKey mocks base method.

func (*MockAuthServiceClient) DeleteServiceAccount added in v0.16.0

DeleteServiceAccount mocks base method.

func (*MockAuthServiceClient) DeleteUser

DeleteUser mocks base method.

func (*MockAuthServiceClient) EXPECT

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

func (*MockAuthServiceClient) GetAPIKey added in v0.11.0

GetAPIKey mocks base method.

func (*MockAuthServiceClient) GetAPIKeys added in v0.11.0

GetAPIKeys mocks base method.

func (*MockAuthServiceClient) GetRole added in v0.11.0

GetRole mocks base method.

func (*MockAuthServiceClient) GetRoles

GetRoles mocks base method.

func (*MockAuthServiceClient) GetRolesByPermissions

GetRolesByPermissions mocks base method.

func (*MockAuthServiceClient) GetServiceAccount added in v0.16.0

GetServiceAccount mocks base method.

func (*MockAuthServiceClient) GetServiceAccounts added in v0.16.0

GetServiceAccounts mocks base method.

func (*MockAuthServiceClient) GetUser

GetUser mocks base method.

func (*MockAuthServiceClient) GetUsers

GetUsers mocks base method.

func (*MockAuthServiceClient) InviteUsers

InviteUsers mocks base method.

func (*MockAuthServiceClient) ResendUserInvite

ResendUserInvite mocks base method.

func (*MockAuthServiceClient) UpdateAPIKey added in v0.11.0

UpdateAPIKey mocks base method.

func (*MockAuthServiceClient) UpdateServiceAccount added in v0.16.0

UpdateServiceAccount mocks base method.

func (*MockAuthServiceClient) UpdateUser

UpdateUser mocks base method.

func (*MockAuthServiceClient) UpdateUserNamespacePermissions

UpdateUserNamespacePermissions mocks base method.

type MockAuthServiceClientMockRecorder

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

MockAuthServiceClientMockRecorder is the mock recorder for MockAuthServiceClient.

func (*MockAuthServiceClientMockRecorder) CreateAPIKey added in v0.11.0

func (mr *MockAuthServiceClientMockRecorder) CreateAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateAPIKey indicates an expected call of CreateAPIKey.

func (*MockAuthServiceClientMockRecorder) CreateServiceAccount added in v0.16.0

func (mr *MockAuthServiceClientMockRecorder) CreateServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateServiceAccount indicates an expected call of CreateServiceAccount.

func (*MockAuthServiceClientMockRecorder) CreateServiceAccountAPIKey added in v0.16.0

func (mr *MockAuthServiceClientMockRecorder) CreateServiceAccountAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateServiceAccountAPIKey indicates an expected call of CreateServiceAccountAPIKey.

func (*MockAuthServiceClientMockRecorder) DeleteAPIKey added in v0.11.0

func (mr *MockAuthServiceClientMockRecorder) DeleteAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call

DeleteAPIKey indicates an expected call of DeleteAPIKey.

func (*MockAuthServiceClientMockRecorder) DeleteServiceAccount added in v0.16.0

func (mr *MockAuthServiceClientMockRecorder) DeleteServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call

DeleteServiceAccount indicates an expected call of DeleteServiceAccount.

func (*MockAuthServiceClientMockRecorder) DeleteUser

func (mr *MockAuthServiceClientMockRecorder) DeleteUser(ctx, in interface{}, opts ...interface{}) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockAuthServiceClientMockRecorder) GetAPIKey added in v0.11.0

func (mr *MockAuthServiceClientMockRecorder) GetAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetAPIKey indicates an expected call of GetAPIKey.

func (*MockAuthServiceClientMockRecorder) GetAPIKeys added in v0.11.0

func (mr *MockAuthServiceClientMockRecorder) GetAPIKeys(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetAPIKeys indicates an expected call of GetAPIKeys.

func (*MockAuthServiceClientMockRecorder) GetRole added in v0.11.0

func (mr *MockAuthServiceClientMockRecorder) GetRole(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetRole indicates an expected call of GetRole.

func (*MockAuthServiceClientMockRecorder) GetRoles

func (mr *MockAuthServiceClientMockRecorder) GetRoles(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetRoles indicates an expected call of GetRoles.

func (*MockAuthServiceClientMockRecorder) GetRolesByPermissions

func (mr *MockAuthServiceClientMockRecorder) GetRolesByPermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetRolesByPermissions indicates an expected call of GetRolesByPermissions.

func (*MockAuthServiceClientMockRecorder) GetServiceAccount added in v0.16.0

func (mr *MockAuthServiceClientMockRecorder) GetServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetServiceAccount indicates an expected call of GetServiceAccount.

func (*MockAuthServiceClientMockRecorder) GetServiceAccounts added in v0.16.0

func (mr *MockAuthServiceClientMockRecorder) GetServiceAccounts(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetServiceAccounts indicates an expected call of GetServiceAccounts.

func (*MockAuthServiceClientMockRecorder) GetUser

func (mr *MockAuthServiceClientMockRecorder) GetUser(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockAuthServiceClientMockRecorder) GetUsers

func (mr *MockAuthServiceClientMockRecorder) GetUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetUsers indicates an expected call of GetUsers.

func (*MockAuthServiceClientMockRecorder) InviteUsers

func (mr *MockAuthServiceClientMockRecorder) InviteUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call

InviteUsers indicates an expected call of InviteUsers.

func (*MockAuthServiceClientMockRecorder) ResendUserInvite

func (mr *MockAuthServiceClientMockRecorder) ResendUserInvite(ctx, in interface{}, opts ...interface{}) *gomock.Call

ResendUserInvite indicates an expected call of ResendUserInvite.

func (*MockAuthServiceClientMockRecorder) UpdateAPIKey added in v0.11.0

func (mr *MockAuthServiceClientMockRecorder) UpdateAPIKey(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateAPIKey indicates an expected call of UpdateAPIKey.

func (*MockAuthServiceClientMockRecorder) UpdateServiceAccount added in v0.16.0

func (mr *MockAuthServiceClientMockRecorder) UpdateServiceAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateServiceAccount indicates an expected call of UpdateServiceAccount.

func (*MockAuthServiceClientMockRecorder) UpdateUser

func (mr *MockAuthServiceClientMockRecorder) UpdateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

func (*MockAuthServiceClientMockRecorder) UpdateUserNamespacePermissions

func (mr *MockAuthServiceClientMockRecorder) UpdateUserNamespacePermissions(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateUserNamespacePermissions indicates an expected call of UpdateUserNamespacePermissions.

type MockAuthServiceServer

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

MockAuthServiceServer is a mock of AuthServiceServer interface.

func NewMockAuthServiceServer

func NewMockAuthServiceServer(ctrl *gomock.Controller) *MockAuthServiceServer

NewMockAuthServiceServer creates a new mock instance.

func (*MockAuthServiceServer) CreateAPIKey added in v0.11.0

CreateAPIKey mocks base method.

func (*MockAuthServiceServer) CreateServiceAccount added in v0.16.0

CreateServiceAccount mocks base method.

func (*MockAuthServiceServer) CreateServiceAccountAPIKey added in v0.16.0

CreateServiceAccountAPIKey mocks base method.

func (*MockAuthServiceServer) DeleteAPIKey added in v0.11.0

DeleteAPIKey mocks base method.

func (*MockAuthServiceServer) DeleteServiceAccount added in v0.16.0

DeleteServiceAccount mocks base method.

func (*MockAuthServiceServer) DeleteUser

DeleteUser mocks base method.

func (*MockAuthServiceServer) EXPECT

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

func (*MockAuthServiceServer) GetAPIKey added in v0.11.0

GetAPIKey mocks base method.

func (*MockAuthServiceServer) GetAPIKeys added in v0.11.0

GetAPIKeys mocks base method.

func (*MockAuthServiceServer) GetRole added in v0.11.0

GetRole mocks base method.

func (*MockAuthServiceServer) GetRoles

GetRoles mocks base method.

func (*MockAuthServiceServer) GetRolesByPermissions

GetRolesByPermissions mocks base method.

func (*MockAuthServiceServer) GetServiceAccount added in v0.16.0

GetServiceAccount mocks base method.

func (*MockAuthServiceServer) GetServiceAccounts added in v0.16.0

GetServiceAccounts mocks base method.

func (*MockAuthServiceServer) GetUser

GetUser mocks base method.

func (*MockAuthServiceServer) GetUsers

GetUsers mocks base method.

func (*MockAuthServiceServer) InviteUsers

InviteUsers mocks base method.

func (*MockAuthServiceServer) ResendUserInvite

ResendUserInvite mocks base method.

func (*MockAuthServiceServer) UpdateAPIKey added in v0.11.0

UpdateAPIKey mocks base method.

func (*MockAuthServiceServer) UpdateServiceAccount added in v0.16.0

UpdateServiceAccount mocks base method.

func (*MockAuthServiceServer) UpdateUser

UpdateUser mocks base method.

func (*MockAuthServiceServer) UpdateUserNamespacePermissions

UpdateUserNamespacePermissions mocks base method.

type MockAuthServiceServerMockRecorder

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

MockAuthServiceServerMockRecorder is the mock recorder for MockAuthServiceServer.

func (*MockAuthServiceServerMockRecorder) CreateAPIKey added in v0.11.0

func (mr *MockAuthServiceServerMockRecorder) CreateAPIKey(arg0, arg1 interface{}) *gomock.Call

CreateAPIKey indicates an expected call of CreateAPIKey.

func (*MockAuthServiceServerMockRecorder) CreateServiceAccount added in v0.16.0

func (mr *MockAuthServiceServerMockRecorder) CreateServiceAccount(arg0, arg1 interface{}) *gomock.Call

CreateServiceAccount indicates an expected call of CreateServiceAccount.

func (*MockAuthServiceServerMockRecorder) CreateServiceAccountAPIKey added in v0.16.0

func (mr *MockAuthServiceServerMockRecorder) CreateServiceAccountAPIKey(arg0, arg1 interface{}) *gomock.Call

CreateServiceAccountAPIKey indicates an expected call of CreateServiceAccountAPIKey.

func (*MockAuthServiceServerMockRecorder) DeleteAPIKey added in v0.11.0

func (mr *MockAuthServiceServerMockRecorder) DeleteAPIKey(arg0, arg1 interface{}) *gomock.Call

DeleteAPIKey indicates an expected call of DeleteAPIKey.

func (*MockAuthServiceServerMockRecorder) DeleteServiceAccount added in v0.16.0

func (mr *MockAuthServiceServerMockRecorder) DeleteServiceAccount(arg0, arg1 interface{}) *gomock.Call

DeleteServiceAccount indicates an expected call of DeleteServiceAccount.

func (*MockAuthServiceServerMockRecorder) DeleteUser

func (mr *MockAuthServiceServerMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockAuthServiceServerMockRecorder) GetAPIKey added in v0.11.0

func (mr *MockAuthServiceServerMockRecorder) GetAPIKey(arg0, arg1 interface{}) *gomock.Call

GetAPIKey indicates an expected call of GetAPIKey.

func (*MockAuthServiceServerMockRecorder) GetAPIKeys added in v0.11.0

func (mr *MockAuthServiceServerMockRecorder) GetAPIKeys(arg0, arg1 interface{}) *gomock.Call

GetAPIKeys indicates an expected call of GetAPIKeys.

func (*MockAuthServiceServerMockRecorder) GetRole added in v0.11.0

func (mr *MockAuthServiceServerMockRecorder) GetRole(arg0, arg1 interface{}) *gomock.Call

GetRole indicates an expected call of GetRole.

func (*MockAuthServiceServerMockRecorder) GetRoles

func (mr *MockAuthServiceServerMockRecorder) GetRoles(arg0, arg1 interface{}) *gomock.Call

GetRoles indicates an expected call of GetRoles.

func (*MockAuthServiceServerMockRecorder) GetRolesByPermissions

func (mr *MockAuthServiceServerMockRecorder) GetRolesByPermissions(arg0, arg1 interface{}) *gomock.Call

GetRolesByPermissions indicates an expected call of GetRolesByPermissions.

func (*MockAuthServiceServerMockRecorder) GetServiceAccount added in v0.16.0

func (mr *MockAuthServiceServerMockRecorder) GetServiceAccount(arg0, arg1 interface{}) *gomock.Call

GetServiceAccount indicates an expected call of GetServiceAccount.

func (*MockAuthServiceServerMockRecorder) GetServiceAccounts added in v0.16.0

func (mr *MockAuthServiceServerMockRecorder) GetServiceAccounts(arg0, arg1 interface{}) *gomock.Call

GetServiceAccounts indicates an expected call of GetServiceAccounts.

func (*MockAuthServiceServerMockRecorder) GetUser

func (mr *MockAuthServiceServerMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockAuthServiceServerMockRecorder) GetUsers

func (mr *MockAuthServiceServerMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call

GetUsers indicates an expected call of GetUsers.

func (*MockAuthServiceServerMockRecorder) InviteUsers

func (mr *MockAuthServiceServerMockRecorder) InviteUsers(arg0, arg1 interface{}) *gomock.Call

InviteUsers indicates an expected call of InviteUsers.

func (*MockAuthServiceServerMockRecorder) ResendUserInvite

func (mr *MockAuthServiceServerMockRecorder) ResendUserInvite(arg0, arg1 interface{}) *gomock.Call

ResendUserInvite indicates an expected call of ResendUserInvite.

func (*MockAuthServiceServerMockRecorder) UpdateAPIKey added in v0.11.0

func (mr *MockAuthServiceServerMockRecorder) UpdateAPIKey(arg0, arg1 interface{}) *gomock.Call

UpdateAPIKey indicates an expected call of UpdateAPIKey.

func (*MockAuthServiceServerMockRecorder) UpdateServiceAccount added in v0.16.0

func (mr *MockAuthServiceServerMockRecorder) UpdateServiceAccount(arg0, arg1 interface{}) *gomock.Call

UpdateServiceAccount indicates an expected call of UpdateServiceAccount.

func (*MockAuthServiceServerMockRecorder) UpdateUser

func (mr *MockAuthServiceServerMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

func (*MockAuthServiceServerMockRecorder) UpdateUserNamespacePermissions

func (mr *MockAuthServiceServerMockRecorder) UpdateUserNamespacePermissions(arg0, arg1 interface{}) *gomock.Call

UpdateUserNamespacePermissions indicates an expected call of UpdateUserNamespacePermissions.

Jump to

Keyboard shortcuts

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