Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AttachPolicyToUser(arg0 *ram.AttachPolicyToUserRequest) (*ram.AttachPolicyToUserResponse, error)
- func (m *MockClient) CreateAccessKey(arg0 *ram.CreateAccessKeyRequest) (*ram.CreateAccessKeyResponse, error)
- func (m *MockClient) CreatePolicy(arg0 *ram.CreatePolicyRequest) (*ram.CreatePolicyResponse, error)
- func (m *MockClient) CreatePolicyVersion(arg0 *ram.CreatePolicyVersionRequest) (*ram.CreatePolicyVersionResponse, error)
- func (m *MockClient) CreateUser(arg0 *ram.CreateUserRequest) (*ram.CreateUserResponse, error)
- func (m *MockClient) DeleteAccessKey(arg0 *ram.DeleteAccessKeyRequest) (*ram.DeleteAccessKeyResponse, error)
- func (m *MockClient) DeletePolicy(request *ram.DeletePolicyRequest) (*ram.DeletePolicyResponse, error)
- func (m *MockClient) DeletePolicyVersion(request *ram.DeletePolicyVersionRequest) (*ram.DeletePolicyVersionResponse, error)
- func (m *MockClient) DeleteUser(arg0 *ram.DeleteUserRequest) (*ram.DeleteUserResponse, error)
- func (m *MockClient) DetachPolicyFromUser(request *ram.DetachPolicyFromUserRequest) (*ram.DetachPolicyFromUserResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetPolicy(arg0 *ram.GetPolicyRequest) (*ram.GetPolicyResponse, error)
- func (m *MockClient) GetUser(arg0 *ram.GetUserRequest) (*ram.GetUserResponse, error)
- func (m *MockClient) ListAccessKeys(arg0 *ram.ListAccessKeysRequest) (*ram.ListAccessKeysResponse, error)
- func (m *MockClient) ListPoliciesForUser(request *ram.ListPoliciesForUserRequest) (*ram.ListPoliciesForUserResponse, error)
- func (m *MockClient) ListPolicyVersions(request *ram.ListPolicyVersionsRequest) (*ram.ListPolicyVersionsResponse, error)
- func (m *MockClient) ListUsers(arg0 *ram.ListUsersRequest) (*ram.ListUsersResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AttachPolicyToUser(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateAccessKey(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreatePolicy(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreatePolicyVersion(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateUser(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAccessKey(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeletePolicy(request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeletePolicyVersion(request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DetachPolicyFromUser(request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPolicy(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetUser(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListAccessKeys(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListPoliciesForUser(request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListPolicyVersions(request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListUsers(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockClient) AttachPolicyToUser(arg0 *ram.AttachPolicyToUserRequest) (*ram.AttachPolicyToUserResponse, error)
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 ¶
func (m *MockClient) CreatePolicyVersion(arg0 *ram.CreatePolicyVersionRequest) (*ram.CreatePolicyVersionResponse, error)
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.