mock

package
v0.0.0-...-d674e6d Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

Jump to

Keyboard shortcuts

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