mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 3 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 MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) AttachPolicyToUser

AttachPolicyToUser mocks base method.

func (*MockClient) CreateAccessKey

func (m *MockClient) CreateAccessKey(arg0 *ram.CreateAccessKeyRequest) (*ram.CreateAccessKeyResponse, error)

CreateAccessKey mocks base method.

func (*MockClient) CreatePolicy

func (m *MockClient) CreatePolicy(arg0 *ram.CreatePolicyRequest) (*ram.CreatePolicyResponse, error)

CreatePolicy mocks base method.

func (*MockClient) CreatePolicyVersion

CreatePolicyVersion mocks base method.

func (*MockClient) CreateUser

func (m *MockClient) CreateUser(arg0 *ram.CreateUserRequest) (*ram.CreateUserResponse, error)

CreateUser mocks base method.

func (*MockClient) DeleteAccessKey

func (m *MockClient) DeleteAccessKey(arg0 *ram.DeleteAccessKeyRequest) (*ram.DeleteAccessKeyResponse, error)

DeleteAccessKey mocks base method.

func (*MockClient) DeletePolicy

func (m *MockClient) DeletePolicy(request *ram.DeletePolicyRequest) (*ram.DeletePolicyResponse, error)

DeletePolicy mocks base method.

func (*MockClient) DeletePolicyVersion

func (m *MockClient) DeletePolicyVersion(request *ram.DeletePolicyVersionRequest) (*ram.DeletePolicyVersionResponse, error)

DeletePolicyVersion mocks base method.

func (*MockClient) DeleteUser

func (m *MockClient) DeleteUser(arg0 *ram.DeleteUserRequest) (*ram.DeleteUserResponse, error)

DeleteUser mocks base method.

func (*MockClient) DetachPolicyFromUser

func (m *MockClient) DetachPolicyFromUser(request *ram.DetachPolicyFromUserRequest) (*ram.DetachPolicyFromUserResponse, error)

DetachPolicyFromUser mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetPolicy

func (m *MockClient) GetPolicy(arg0 *ram.GetPolicyRequest) (*ram.GetPolicyResponse, error)

GetPolicy mocks base method.

func (*MockClient) GetUser

func (m *MockClient) GetUser(arg0 *ram.GetUserRequest) (*ram.GetUserResponse, error)

GetUser mocks base method.

func (*MockClient) ListAccessKeys

func (m *MockClient) ListAccessKeys(arg0 *ram.ListAccessKeysRequest) (*ram.ListAccessKeysResponse, error)

ListAccessKeys mocks base method.

func (*MockClient) ListPoliciesForUser

func (m *MockClient) ListPoliciesForUser(request *ram.ListPoliciesForUserRequest) (*ram.ListPoliciesForUserResponse, error)

ListPoliciesForUser mocks base method.

func (*MockClient) ListPolicyVersions

func (m *MockClient) ListPolicyVersions(request *ram.ListPolicyVersionsRequest) (*ram.ListPolicyVersionsResponse, error)

ListPolicyVersions mocks base method.

func (*MockClient) ListUsers

func (m *MockClient) ListUsers(arg0 *ram.ListUsersRequest) (*ram.ListUsersResponse, error)

ListUsers mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AttachPolicyToUser

func (mr *MockClientMockRecorder) AttachPolicyToUser(arg0 interface{}) *gomock.Call

AttachPolicyToUser indicates an expected call of AttachPolicyToUser.

func (*MockClientMockRecorder) CreateAccessKey

func (mr *MockClientMockRecorder) CreateAccessKey(arg0 interface{}) *gomock.Call

CreateAccessKey indicates an expected call of CreateAccessKey.

func (*MockClientMockRecorder) CreatePolicy

func (mr *MockClientMockRecorder) CreatePolicy(arg0 interface{}) *gomock.Call

CreatePolicy indicates an expected call of CreatePolicy.

func (*MockClientMockRecorder) CreatePolicyVersion

func (mr *MockClientMockRecorder) CreatePolicyVersion(arg0 interface{}) *gomock.Call

CreatePolicyVersion indicates an expected call of CreatePolicyVersion.

func (*MockClientMockRecorder) CreateUser

func (mr *MockClientMockRecorder) CreateUser(arg0 interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockClientMockRecorder) DeleteAccessKey

func (mr *MockClientMockRecorder) DeleteAccessKey(arg0 interface{}) *gomock.Call

DeleteAccessKey indicates an expected call of DeleteAccessKey.

func (*MockClientMockRecorder) DeletePolicy

func (mr *MockClientMockRecorder) DeletePolicy(request interface{}) *gomock.Call

DeletePolicy indicates an expected call of DeletePolicy.

func (*MockClientMockRecorder) DeletePolicyVersion

func (mr *MockClientMockRecorder) DeletePolicyVersion(request interface{}) *gomock.Call

DeletePolicyVersion indicates an expected call of DeletePolicyVersion.

func (*MockClientMockRecorder) DeleteUser

func (mr *MockClientMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockClientMockRecorder) DetachPolicyFromUser

func (mr *MockClientMockRecorder) DetachPolicyFromUser(request interface{}) *gomock.Call

DetachPolicyFromUser indicates an expected call of DetachPolicyFromUser.

func (*MockClientMockRecorder) GetPolicy

func (mr *MockClientMockRecorder) GetPolicy(arg0 interface{}) *gomock.Call

GetPolicy indicates an expected call of GetPolicy.

func (*MockClientMockRecorder) GetUser

func (mr *MockClientMockRecorder) GetUser(arg0 interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockClientMockRecorder) ListAccessKeys

func (mr *MockClientMockRecorder) ListAccessKeys(arg0 interface{}) *gomock.Call

ListAccessKeys indicates an expected call of ListAccessKeys.

func (*MockClientMockRecorder) ListPoliciesForUser

func (mr *MockClientMockRecorder) ListPoliciesForUser(request interface{}) *gomock.Call

ListPoliciesForUser indicates an expected call of ListPoliciesForUser.

func (*MockClientMockRecorder) ListPolicyVersions

func (mr *MockClientMockRecorder) ListPolicyVersions(request interface{}) *gomock.Call

ListPolicyVersions indicates an expected call of ListPolicyVersions.

func (*MockClientMockRecorder) ListUsers

func (mr *MockClientMockRecorder) ListUsers(arg0 interface{}) *gomock.Call

ListUsers indicates an expected call of ListUsers.

Jump to

Keyboard shortcuts

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