mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

type Servicer struct {
	mock.Mock
}

Servicer is an autogenerated mock type for the Servicer type

func NewServicer

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

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

DeletePrincipalAccess provides a mock function with given fields: _a0

func (*Servicer) UpsertPrincipalAccess

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

UpsertPrincipalAccess provides a mock function with given fields: _a0

func (*Servicer) ValidateAccess

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