Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthManager ¶
type MockAuthManager struct {
// contains filtered or unexported fields
}
MockAuthManager is a mock of AuthManager interface
func NewMockAuthManager ¶
func NewMockAuthManager(ctrl *gomock.Controller) *MockAuthManager
NewMockAuthManager creates a new mock instance
func (*MockAuthManager) EXPECT ¶
func (m *MockAuthManager) EXPECT() *MockAuthManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthManager) FetchUserPrivilegeOnEntities ¶
func (m *MockAuthManager) FetchUserPrivilegeOnEntities(ctx context.Context, entities []types.ManagedObjectReference, userName string) ([]types.UserPrivilegeResult, error)
FetchUserPrivilegeOnEntities mocks base method
type MockAuthManagerMockRecorder ¶
type MockAuthManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthManagerMockRecorder is the mock recorder for MockAuthManager
func (*MockAuthManagerMockRecorder) FetchUserPrivilegeOnEntities ¶
func (mr *MockAuthManagerMockRecorder) FetchUserPrivilegeOnEntities(ctx, entities, userName interface{}) *gomock.Call
FetchUserPrivilegeOnEntities indicates an expected call of FetchUserPrivilegeOnEntities
Click to show internal directories.
Click to hide internal directories.