mock_permissions

package
v0.0.0-...-7a6a509 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_permissions is a generated GoMock package.

Package mock_permissions is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAllowedSpaceIDs

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

MockAllowedSpaceIDs is a mock of AllowedSpaceIDs interface.

func NewMockAllowedSpaceIDs

func NewMockAllowedSpaceIDs(ctrl *gomock.Controller) *MockAllowedSpaceIDs

NewMockAllowedSpaceIDs creates a new mock instance.

func (*MockAllowedSpaceIDs) Contains

func (m *MockAllowedSpaceIDs) Contains(column string) qm.QueryMod

Contains mocks base method.

func (*MockAllowedSpaceIDs) EXPECT

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

func (*MockAllowedSpaceIDs) With

func (m *MockAllowedSpaceIDs) With() []qm.QueryMod

With mocks base method.

type MockAllowedSpaceIDsMockRecorder

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

MockAllowedSpaceIDsMockRecorder is the mock recorder for MockAllowedSpaceIDs.

func (*MockAllowedSpaceIDsMockRecorder) Contains

func (mr *MockAllowedSpaceIDsMockRecorder) Contains(column interface{}) *gomock.Call

Contains indicates an expected call of Contains.

func (*MockAllowedSpaceIDsMockRecorder) With

With indicates an expected call of With.

type MockQuerier

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

MockQuerier is a mock of Querier interface.

func NewMockQuerier

func NewMockQuerier(ctrl *gomock.Controller) *MockQuerier

NewMockQuerier creates a new mock instance.

func (*MockQuerier) AllowedSpaceIDsForUser

func (m *MockQuerier) AllowedSpaceIDsForUser(userGUID string, roles ...permissions.Role) (permissions.AllowedSpaceIDs, error)

AllowedSpaceIDsForUser mocks base method.

func (*MockQuerier) EXPECT

func (m *MockQuerier) EXPECT() *MockQuerierMockRecorder

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

type MockQuerierMockRecorder

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

MockQuerierMockRecorder is the mock recorder for MockQuerier.

func (*MockQuerierMockRecorder) AllowedSpaceIDsForUser

func (mr *MockQuerierMockRecorder) AllowedSpaceIDsForUser(userGUID interface{}, roles ...interface{}) *gomock.Call

AllowedSpaceIDsForUser indicates an expected call of AllowedSpaceIDsForUser.

Jump to

Keyboard shortcuts

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