mock

package
v0.102.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 5 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 MockClientWithResponsesInterface

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

MockClientWithResponsesInterface is a mock of ClientWithResponsesInterface interface.

func NewMockClientWithResponsesInterface

func NewMockClientWithResponsesInterface(ctrl *gomock.Controller) *MockClientWithResponsesInterface

NewMockClientWithResponsesInterface creates a new mock instance.

func (*MockClientWithResponsesInterface) AddGroupMembershipWithResponse

func (m *MockClientWithResponsesInterface) AddGroupMembershipWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...auth.RequestEditorFn) (*auth.AddGroupMembershipResponse, error)

AddGroupMembershipWithResponse mocks base method.

func (*MockClientWithResponsesInterface) AttachPolicyToGroupWithResponse

func (m *MockClientWithResponsesInterface) AttachPolicyToGroupWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...auth.RequestEditorFn) (*auth.AttachPolicyToGroupResponse, error)

AttachPolicyToGroupWithResponse mocks base method.

func (*MockClientWithResponsesInterface) AttachPolicyToUserWithResponse

func (m *MockClientWithResponsesInterface) AttachPolicyToUserWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...auth.RequestEditorFn) (*auth.AttachPolicyToUserResponse, error)

AttachPolicyToUserWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ClaimTokenIdWithBodyWithResponse

func (m *MockClientWithResponsesInterface) ClaimTokenIdWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 ...auth.RequestEditorFn) (*auth.ClaimTokenIdResponse, error)

ClaimTokenIdWithBodyWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ClaimTokenIdWithResponse

ClaimTokenIdWithResponse mocks base method.

func (*MockClientWithResponsesInterface) CreateCredentialsWithResponse

CreateCredentialsWithResponse mocks base method.

func (*MockClientWithResponsesInterface) CreateGroupWithBodyWithResponse

func (m *MockClientWithResponsesInterface) CreateGroupWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 ...auth.RequestEditorFn) (*auth.CreateGroupResponse, error)

CreateGroupWithBodyWithResponse mocks base method.

func (*MockClientWithResponsesInterface) CreateGroupWithResponse

CreateGroupWithResponse mocks base method.

func (*MockClientWithResponsesInterface) CreatePolicyWithBodyWithResponse

func (m *MockClientWithResponsesInterface) CreatePolicyWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 ...auth.RequestEditorFn) (*auth.CreatePolicyResponse, error)

CreatePolicyWithBodyWithResponse mocks base method.

func (*MockClientWithResponsesInterface) CreatePolicyWithResponse

CreatePolicyWithResponse mocks base method.

func (*MockClientWithResponsesInterface) CreateUserWithBodyWithResponse

func (m *MockClientWithResponsesInterface) CreateUserWithBodyWithResponse(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 ...auth.RequestEditorFn) (*auth.CreateUserResponse, error)

CreateUserWithBodyWithResponse mocks base method.

func (*MockClientWithResponsesInterface) CreateUserWithResponse

CreateUserWithResponse mocks base method.

func (*MockClientWithResponsesInterface) DeleteCredentialsWithResponse

func (m *MockClientWithResponsesInterface) DeleteCredentialsWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...auth.RequestEditorFn) (*auth.DeleteCredentialsResponse, error)

DeleteCredentialsWithResponse mocks base method.

func (*MockClientWithResponsesInterface) DeleteGroupMembershipWithResponse

func (m *MockClientWithResponsesInterface) DeleteGroupMembershipWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...auth.RequestEditorFn) (*auth.DeleteGroupMembershipResponse, error)

DeleteGroupMembershipWithResponse mocks base method.

func (*MockClientWithResponsesInterface) DeleteGroupWithResponse

func (m *MockClientWithResponsesInterface) DeleteGroupWithResponse(arg0 context.Context, arg1 string, arg2 ...auth.RequestEditorFn) (*auth.DeleteGroupResponse, error)

DeleteGroupWithResponse mocks base method.

func (*MockClientWithResponsesInterface) DeletePolicyWithResponse

func (m *MockClientWithResponsesInterface) DeletePolicyWithResponse(arg0 context.Context, arg1 string, arg2 ...auth.RequestEditorFn) (*auth.DeletePolicyResponse, error)

DeletePolicyWithResponse mocks base method.

func (*MockClientWithResponsesInterface) DeleteUserWithResponse

func (m *MockClientWithResponsesInterface) DeleteUserWithResponse(arg0 context.Context, arg1 string, arg2 ...auth.RequestEditorFn) (*auth.DeleteUserResponse, error)

DeleteUserWithResponse mocks base method.

func (*MockClientWithResponsesInterface) DetachPolicyFromGroupWithResponse

func (m *MockClientWithResponsesInterface) DetachPolicyFromGroupWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...auth.RequestEditorFn) (*auth.DetachPolicyFromGroupResponse, error)

DetachPolicyFromGroupWithResponse mocks base method.

func (*MockClientWithResponsesInterface) DetachPolicyFromUserWithResponse

func (m *MockClientWithResponsesInterface) DetachPolicyFromUserWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...auth.RequestEditorFn) (*auth.DetachPolicyFromUserResponse, error)

DetachPolicyFromUserWithResponse mocks base method.

func (*MockClientWithResponsesInterface) EXPECT

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

func (*MockClientWithResponsesInterface) GetCredentialsForUserWithResponse

func (m *MockClientWithResponsesInterface) GetCredentialsForUserWithResponse(arg0 context.Context, arg1, arg2 string, arg3 ...auth.RequestEditorFn) (*auth.GetCredentialsForUserResponse, error)

GetCredentialsForUserWithResponse mocks base method.

func (*MockClientWithResponsesInterface) GetCredentialsWithResponse

func (m *MockClientWithResponsesInterface) GetCredentialsWithResponse(arg0 context.Context, arg1 string, arg2 ...auth.RequestEditorFn) (*auth.GetCredentialsResponse, error)

GetCredentialsWithResponse mocks base method.

func (*MockClientWithResponsesInterface) GetGroupWithResponse

func (m *MockClientWithResponsesInterface) GetGroupWithResponse(arg0 context.Context, arg1 string, arg2 ...auth.RequestEditorFn) (*auth.GetGroupResponse, error)

GetGroupWithResponse mocks base method.

func (*MockClientWithResponsesInterface) GetPolicyWithResponse

func (m *MockClientWithResponsesInterface) GetPolicyWithResponse(arg0 context.Context, arg1 string, arg2 ...auth.RequestEditorFn) (*auth.GetPolicyResponse, error)

GetPolicyWithResponse mocks base method.

func (*MockClientWithResponsesInterface) GetUserWithResponse

func (m *MockClientWithResponsesInterface) GetUserWithResponse(arg0 context.Context, arg1 string, arg2 ...auth.RequestEditorFn) (*auth.GetUserResponse, error)

GetUserWithResponse mocks base method.

func (*MockClientWithResponsesInterface) HealthCheckWithResponse

func (m *MockClientWithResponsesInterface) HealthCheckWithResponse(arg0 context.Context, arg1 ...auth.RequestEditorFn) (*auth.HealthCheckResponse, error)

HealthCheckWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ListGroupMembersWithResponse

ListGroupMembersWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ListGroupPoliciesWithResponse

ListGroupPoliciesWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ListGroupsWithResponse

ListGroupsWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ListPoliciesWithResponse

ListPoliciesWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ListUserCredentialsWithResponse

ListUserCredentialsWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ListUserGroupsWithResponse

ListUserGroupsWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ListUserPoliciesWithResponse

ListUserPoliciesWithResponse mocks base method.

func (*MockClientWithResponsesInterface) ListUsersWithResponse

ListUsersWithResponse mocks base method.

func (*MockClientWithResponsesInterface) UpdatePasswordWithBodyWithResponse

func (m *MockClientWithResponsesInterface) UpdatePasswordWithBodyWithResponse(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 ...auth.RequestEditorFn) (*auth.UpdatePasswordResponse, error)

UpdatePasswordWithBodyWithResponse mocks base method.

func (*MockClientWithResponsesInterface) UpdatePasswordWithResponse

UpdatePasswordWithResponse mocks base method.

func (*MockClientWithResponsesInterface) UpdatePolicyWithBodyWithResponse

func (m *MockClientWithResponsesInterface) UpdatePolicyWithBodyWithResponse(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 ...auth.RequestEditorFn) (*auth.UpdatePolicyResponse, error)

UpdatePolicyWithBodyWithResponse mocks base method.

func (*MockClientWithResponsesInterface) UpdatePolicyWithResponse

UpdatePolicyWithResponse mocks base method.

type MockClientWithResponsesInterfaceMockRecorder

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

MockClientWithResponsesInterfaceMockRecorder is the mock recorder for MockClientWithResponsesInterface.

func (*MockClientWithResponsesInterfaceMockRecorder) AddGroupMembershipWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) AddGroupMembershipWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

AddGroupMembershipWithResponse indicates an expected call of AddGroupMembershipWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) AttachPolicyToGroupWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) AttachPolicyToGroupWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

AttachPolicyToGroupWithResponse indicates an expected call of AttachPolicyToGroupWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) AttachPolicyToUserWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) AttachPolicyToUserWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

AttachPolicyToUserWithResponse indicates an expected call of AttachPolicyToUserWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ClaimTokenIdWithBodyWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ClaimTokenIdWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ClaimTokenIdWithBodyWithResponse indicates an expected call of ClaimTokenIdWithBodyWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ClaimTokenIdWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ClaimTokenIdWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ClaimTokenIdWithResponse indicates an expected call of ClaimTokenIdWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) CreateCredentialsWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) CreateCredentialsWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

CreateCredentialsWithResponse indicates an expected call of CreateCredentialsWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) CreateGroupWithBodyWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) CreateGroupWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

CreateGroupWithBodyWithResponse indicates an expected call of CreateGroupWithBodyWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) CreateGroupWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) CreateGroupWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateGroupWithResponse indicates an expected call of CreateGroupWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) CreatePolicyWithBodyWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) CreatePolicyWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

CreatePolicyWithBodyWithResponse indicates an expected call of CreatePolicyWithBodyWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) CreatePolicyWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) CreatePolicyWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreatePolicyWithResponse indicates an expected call of CreatePolicyWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) CreateUserWithBodyWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) CreateUserWithBodyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

CreateUserWithBodyWithResponse indicates an expected call of CreateUserWithBodyWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) CreateUserWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) CreateUserWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateUserWithResponse indicates an expected call of CreateUserWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) DeleteCredentialsWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) DeleteCredentialsWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

DeleteCredentialsWithResponse indicates an expected call of DeleteCredentialsWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) DeleteGroupMembershipWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) DeleteGroupMembershipWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

DeleteGroupMembershipWithResponse indicates an expected call of DeleteGroupMembershipWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) DeleteGroupWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) DeleteGroupWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteGroupWithResponse indicates an expected call of DeleteGroupWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) DeletePolicyWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) DeletePolicyWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeletePolicyWithResponse indicates an expected call of DeletePolicyWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) DeleteUserWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) DeleteUserWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteUserWithResponse indicates an expected call of DeleteUserWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) DetachPolicyFromGroupWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) DetachPolicyFromGroupWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

DetachPolicyFromGroupWithResponse indicates an expected call of DetachPolicyFromGroupWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) DetachPolicyFromUserWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) DetachPolicyFromUserWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

DetachPolicyFromUserWithResponse indicates an expected call of DetachPolicyFromUserWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) GetCredentialsForUserWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) GetCredentialsForUserWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

GetCredentialsForUserWithResponse indicates an expected call of GetCredentialsForUserWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) GetCredentialsWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) GetCredentialsWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetCredentialsWithResponse indicates an expected call of GetCredentialsWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) GetGroupWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) GetGroupWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetGroupWithResponse indicates an expected call of GetGroupWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) GetPolicyWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) GetPolicyWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetPolicyWithResponse indicates an expected call of GetPolicyWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) GetUserWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) GetUserWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetUserWithResponse indicates an expected call of GetUserWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) HealthCheckWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) HealthCheckWithResponse(arg0 interface{}, arg1 ...interface{}) *gomock.Call

HealthCheckWithResponse indicates an expected call of HealthCheckWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ListGroupMembersWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ListGroupMembersWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ListGroupMembersWithResponse indicates an expected call of ListGroupMembersWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ListGroupPoliciesWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ListGroupPoliciesWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ListGroupPoliciesWithResponse indicates an expected call of ListGroupPoliciesWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ListGroupsWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ListGroupsWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListGroupsWithResponse indicates an expected call of ListGroupsWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ListPoliciesWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ListPoliciesWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListPoliciesWithResponse indicates an expected call of ListPoliciesWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ListUserCredentialsWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ListUserCredentialsWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ListUserCredentialsWithResponse indicates an expected call of ListUserCredentialsWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ListUserGroupsWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ListUserGroupsWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ListUserGroupsWithResponse indicates an expected call of ListUserGroupsWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ListUserPoliciesWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ListUserPoliciesWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ListUserPoliciesWithResponse indicates an expected call of ListUserPoliciesWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) ListUsersWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) ListUsersWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListUsersWithResponse indicates an expected call of ListUsersWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) UpdatePasswordWithBodyWithResponse

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

UpdatePasswordWithBodyWithResponse indicates an expected call of UpdatePasswordWithBodyWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) UpdatePasswordWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) UpdatePasswordWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

UpdatePasswordWithResponse indicates an expected call of UpdatePasswordWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) UpdatePolicyWithBodyWithResponse

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

UpdatePolicyWithBodyWithResponse indicates an expected call of UpdatePolicyWithBodyWithResponse.

func (*MockClientWithResponsesInterfaceMockRecorder) UpdatePolicyWithResponse

func (mr *MockClientWithResponsesInterfaceMockRecorder) UpdatePolicyWithResponse(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

UpdatePolicyWithResponse indicates an expected call of UpdatePolicyWithResponse.

Jump to

Keyboard shortcuts

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