mocks

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clienter

type Clienter struct {
	mock.Mock
}

Clienter is an autogenerated mock type for the clienter type

func (*Clienter) Config

func (_m *Clienter) Config(roleArn *arn.ARN) *aws.Config

Config provides a mock function with given fields: roleArn

func (*Clienter) IAM

func (_m *Clienter) IAM(roleArn *arn.ARN) iamiface.IAMAPI

IAM provides a mock function with given fields: roleArn

type Servicer added in v0.34.0

type Servicer struct {
	mock.Mock
}

Servicer is an autogenerated mock type for the Servicer type

func NewServicer added in v0.34.0

func NewServicer(t mockConstructorTestingTNewServicer) *Servicer

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

func (*Servicer) DeletePrincipalAccess added in v0.34.0

func (_m *Servicer) DeletePrincipalAccess(_a0 *account.Account) error

DeletePrincipalAccess provides a mock function with given fields: _a0

func (*Servicer) UpsertPrincipalAccess added in v0.34.0

func (_m *Servicer) UpsertPrincipalAccess(_a0 *account.Account) error

UpsertPrincipalAccess provides a mock function with given fields: _a0

func (*Servicer) ValidateAccess added in v0.34.0

func (_m *Servicer) ValidateAccess(role *arn.ARN) error

ValidateAccess provides a mock function with given fields: role

Jump to

Keyboard shortcuts

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