mocks

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGovcClient

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

MockGovcClient is a mock of GovcClient interface.

func NewMockGovcClient

func NewMockGovcClient(ctrl *gomock.Controller) *MockGovcClient

NewMockGovcClient creates a new mock instance.

func (*MockGovcClient) AddUserToGroup

func (m *MockGovcClient) AddUserToGroup(arg0 context.Context, arg1, arg2 string) error

AddUserToGroup mocks base method.

func (*MockGovcClient) CreateGroup

func (m *MockGovcClient) CreateGroup(arg0 context.Context, arg1 string) error

CreateGroup mocks base method.

func (*MockGovcClient) CreateRole

func (m *MockGovcClient) CreateRole(arg0 context.Context, arg1 string, arg2 []string) error

CreateRole mocks base method.

func (*MockGovcClient) CreateUser

func (m *MockGovcClient) CreateUser(arg0 context.Context, arg1, arg2 string) error

CreateUser mocks base method.

func (*MockGovcClient) EXPECT

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

func (*MockGovcClient) GroupExists

func (m *MockGovcClient) GroupExists(arg0 context.Context, arg1 string) (bool, error)

GroupExists mocks base method.

func (*MockGovcClient) RoleExists

func (m *MockGovcClient) RoleExists(arg0 context.Context, arg1 string) (bool, error)

RoleExists mocks base method.

func (*MockGovcClient) SetGroupRoleOnObject

func (m *MockGovcClient) SetGroupRoleOnObject(arg0 context.Context, arg1, arg2, arg3, arg4 string) error

SetGroupRoleOnObject mocks base method.

func (*MockGovcClient) UserExists

func (m *MockGovcClient) UserExists(arg0 context.Context, arg1 string) (bool, error)

UserExists mocks base method.

type MockGovcClientMockRecorder

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

MockGovcClientMockRecorder is the mock recorder for MockGovcClient.

func (*MockGovcClientMockRecorder) AddUserToGroup

func (mr *MockGovcClientMockRecorder) AddUserToGroup(arg0, arg1, arg2 interface{}) *gomock.Call

AddUserToGroup indicates an expected call of AddUserToGroup.

func (*MockGovcClientMockRecorder) CreateGroup

func (mr *MockGovcClientMockRecorder) CreateGroup(arg0, arg1 interface{}) *gomock.Call

CreateGroup indicates an expected call of CreateGroup.

func (*MockGovcClientMockRecorder) CreateRole

func (mr *MockGovcClientMockRecorder) CreateRole(arg0, arg1, arg2 interface{}) *gomock.Call

CreateRole indicates an expected call of CreateRole.

func (*MockGovcClientMockRecorder) CreateUser

func (mr *MockGovcClientMockRecorder) CreateUser(arg0, arg1, arg2 interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockGovcClientMockRecorder) GroupExists

func (mr *MockGovcClientMockRecorder) GroupExists(arg0, arg1 interface{}) *gomock.Call

GroupExists indicates an expected call of GroupExists.

func (*MockGovcClientMockRecorder) RoleExists

func (mr *MockGovcClientMockRecorder) RoleExists(arg0, arg1 interface{}) *gomock.Call

RoleExists indicates an expected call of RoleExists.

func (*MockGovcClientMockRecorder) SetGroupRoleOnObject

func (mr *MockGovcClientMockRecorder) SetGroupRoleOnObject(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SetGroupRoleOnObject indicates an expected call of SetGroupRoleOnObject.

func (*MockGovcClientMockRecorder) UserExists

func (mr *MockGovcClientMockRecorder) UserExists(arg0, arg1 interface{}) *gomock.Call

UserExists indicates an expected call of UserExists.

Jump to

Keyboard shortcuts

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