Skip to main content

mocks

mock_permissions

import "github.com/cloudfoundry/go-cf-api/internal/apicommon/v3/permissions/mocks"

Package mock_permissions is a generated GoMock package.

Package mock_permissions is a generated GoMock package.

Index

type MockAllowedSpaceIDs

MockAllowedSpaceIDs is a mock of AllowedSpaceIDs interface.

type MockAllowedSpaceIDs struct {
ctrl *gomock.Controller
recorder *MockAllowedSpaceIDsMockRecorder
}

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

func (m *MockAllowedSpaceIDs) EXPECT() *MockAllowedSpaceIDsMockRecorder

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

MockAllowedSpaceIDsMockRecorder is the mock recorder for MockAllowedSpaceIDs.

type MockAllowedSpaceIDsMockRecorder struct {
mock *MockAllowedSpaceIDs
}

func (*MockAllowedSpaceIDsMockRecorder) Contains

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

Contains indicates an expected call of Contains.

func (*MockAllowedSpaceIDsMockRecorder) With

func (mr *MockAllowedSpaceIDsMockRecorder) With() *gomock.Call

With indicates an expected call of With.

type MockQuerier

MockQuerier is a mock of Querier interface.

type MockQuerier struct {
ctrl *gomock.Controller
recorder *MockQuerierMockRecorder
}

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

MockQuerierMockRecorder is the mock recorder for MockQuerier.

type MockQuerierMockRecorder struct {
mock *MockQuerier
}

func (*MockQuerierMockRecorder) AllowedSpaceIDsForUser

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

AllowedSpaceIDsForUser indicates an expected call of AllowedSpaceIDsForUser.

Generated by gomarkdoc