Documentation ¶
Overview ¶
Package mock_roledefinitionclient is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) List ¶
func (m *MockInterface) List(ctx context.Context, scope string, option *armauthorization.RoleDefinitionsClientListOptions) ([]*armauthorization.RoleDefinition, error)
List mocks base method.
type MockInterfaceListCall ¶ added in v0.2.2
MockInterfaceListCall wrap *gomock.Call
func (*MockInterfaceListCall) Do ¶ added in v0.2.2
func (c *MockInterfaceListCall) Do(f func(context.Context, string, *armauthorization.RoleDefinitionsClientListOptions) ([]*armauthorization.RoleDefinition, error)) *MockInterfaceListCall
Do rewrite *gomock.Call.Do
func (*MockInterfaceListCall) DoAndReturn ¶ added in v0.2.2
func (c *MockInterfaceListCall) DoAndReturn(f func(context.Context, string, *armauthorization.RoleDefinitionsClientListOptions) ([]*armauthorization.RoleDefinition, error)) *MockInterfaceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInterfaceListCall) Return ¶ added in v0.2.2
func (c *MockInterfaceListCall) Return(result []*armauthorization.RoleDefinition, rerr error) *MockInterfaceListCall
Return rewrite *gomock.Call.Return
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) List ¶
func (mr *MockInterfaceMockRecorder) List(ctx, scope, option any) *MockInterfaceListCall
List indicates an expected call of List.
Click to show internal directories.
Click to hide internal directories.