mocks

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAM

type IAM struct {
	mock.Mock
}

IAM is an autogenerated mock type for the IAM type

func NewIAM

func NewIAM(t mockConstructorTestingTNewIAM) *IAM

NewIAM creates a new instance of IAM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*IAM) AttachRolePolicy

func (_m *IAM) AttachRolePolicy(_a0 *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error)

AttachRolePolicy provides a mock function with given fields: _a0

func (*IAM) CreateRole

func (_m *IAM) CreateRole(_a0 *iam.CreateRoleInput) (*iam.CreateRoleOutput, error)

CreateRole provides a mock function with given fields: _a0

func (*IAM) DeleteRole

func (_m *IAM) DeleteRole(_a0 *iam.DeleteRoleInput) (*iam.DeleteRoleOutput, error)

DeleteRole provides a mock function with given fields: _a0

func (*IAM) DeleteRolePermissionsBoundary

func (_m *IAM) DeleteRolePermissionsBoundary(input *iam.DeleteRolePermissionsBoundaryInput) (*iam.DeleteRolePermissionsBoundaryOutput, error)

DeleteRolePermissionsBoundary provides a mock function with given fields: input

func (*IAM) DeleteRolePolicy

func (_m *IAM) DeleteRolePolicy(_a0 *iam.DeleteRolePolicyInput) (*iam.DeleteRolePolicyOutput, error)

DeleteRolePolicy provides a mock function with given fields: _a0

func (*IAM) DetachRolePolicy

func (_m *IAM) DetachRolePolicy(_a0 *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)

DetachRolePolicy provides a mock function with given fields: _a0

func (*IAM) GetRole

func (_m *IAM) GetRole(_a0 *iam.GetRoleInput) (*iam.GetRoleOutput, error)

GetRole provides a mock function with given fields: _a0

func (*IAM) ListAttachedRolePoliciesPages

func (_m *IAM) ListAttachedRolePoliciesPages(_a0 *iam.ListAttachedRolePoliciesInput, _a1 func(*iam.ListAttachedRolePoliciesOutput, bool) bool) error

ListAttachedRolePoliciesPages provides a mock function with given fields: _a0, _a1

func (*IAM) ListRolePoliciesPages

func (_m *IAM) ListRolePoliciesPages(_a0 *iam.ListRolePoliciesInput, _a1 func(*iam.ListRolePoliciesOutput, bool) bool) error

ListRolePoliciesPages provides a mock function with given fields: _a0, _a1

func (*IAM) PutRolePermissionsBoundary

func (_m *IAM) PutRolePermissionsBoundary(input *iam.PutRolePermissionsBoundaryInput) (*iam.PutRolePermissionsBoundaryOutput, error)

PutRolePermissionsBoundary provides a mock function with given fields: input

func (*IAM) PutRolePolicy

func (_m *IAM) PutRolePolicy(_a0 *iam.PutRolePolicyInput) (*iam.PutRolePolicyOutput, error)

PutRolePolicy provides a mock function with given fields: _a0

func (*IAM) TagRole

func (_m *IAM) TagRole(input *iam.TagRoleInput) (*iam.TagRoleOutput, error)

TagRole provides a mock function with given fields: input

func (*IAM) UpdateAssumeRolePolicy

func (_m *IAM) UpdateAssumeRolePolicy(_a0 *iam.UpdateAssumeRolePolicyInput) (*iam.UpdateAssumeRolePolicyOutput, error)

UpdateAssumeRolePolicy provides a mock function with given fields: _a0

func (*IAM) UpdateRole

func (_m *IAM) UpdateRole(_a0 *iam.UpdateRoleInput) (*iam.UpdateRoleOutput, error)

UpdateRole provides a mock function with given fields: _a0

func (*IAM) UpdateRoleDescription

func (_m *IAM) UpdateRoleDescription(_a0 *iam.UpdateRoleDescriptionInput) (*iam.UpdateRoleDescriptionOutput, error)

UpdateRoleDescription provides a mock function with given fields: _a0

type STS

type STS struct {
	mock.Mock
}

STS is an autogenerated mock type for the STS type

func NewSTS

func NewSTS(t mockConstructorTestingTNewSTS) *STS

NewSTS creates a new instance of STS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*STS) GetCallerIdentity

func (_m *STS) GetCallerIdentity(_a0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error)

GetCallerIdentity provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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