mocks

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 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 IEC2RoleProvider

type IEC2RoleProvider struct {
	mock.Mock
}

IEC2RoleProvider is an autogenerated mock type for the IEC2RoleProvider type

func NewIEC2RoleProvider

func NewIEC2RoleProvider(t mockConstructorTestingTNewIEC2RoleProvider) *IEC2RoleProvider

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

func (*IEC2RoleProvider) CredentialSource

func (_m *IEC2RoleProvider) CredentialSource() string

CredentialSource provides a mock function with given fields:

func (*IEC2RoleProvider) ExpiresAt

func (_m *IEC2RoleProvider) ExpiresAt() time.Time

ExpiresAt provides a mock function with given fields:

func (*IEC2RoleProvider) GetInnerProvider

func (_m *IEC2RoleProvider) GetInnerProvider() ec2roleprovider.IInnerProvider

GetInnerProvider provides a mock function with given fields:

func (*IEC2RoleProvider) IsExpired

func (_m *IEC2RoleProvider) IsExpired() bool

IsExpired provides a mock function with given fields:

func (*IEC2RoleProvider) RemoteExpiresAt

func (_m *IEC2RoleProvider) RemoteExpiresAt() time.Time

RemoteExpiresAt provides a mock function with given fields:

func (*IEC2RoleProvider) RemoteRetrieve

func (_m *IEC2RoleProvider) RemoteRetrieve(ctx context.Context) (credentials.Value, error)

RemoteRetrieve provides a mock function with given fields: ctx

func (*IEC2RoleProvider) Retrieve

func (_m *IEC2RoleProvider) Retrieve() (credentials.Value, error)

Retrieve provides a mock function with given fields:

func (*IEC2RoleProvider) RetrieveWithContext

func (_m *IEC2RoleProvider) RetrieveWithContext(ctx context.Context) (credentials.Value, error)

RetrieveWithContext provides a mock function with given fields: ctx

func (*IEC2RoleProvider) ShareFile

func (_m *IEC2RoleProvider) ShareFile() string

ShareFile provides a mock function with given fields:

func (*IEC2RoleProvider) ShareProfile

func (_m *IEC2RoleProvider) ShareProfile() string

ShareProfile provides a mock function with given fields:

func (*IEC2RoleProvider) SharesCredentials

func (_m *IEC2RoleProvider) SharesCredentials() bool

SharesCredentials provides a mock function with given fields:

type IInnerProvider

type IInnerProvider struct {
	mock.Mock
}

IInnerProvider is an autogenerated mock type for the IInnerProvider type

func NewIInnerProvider

func NewIInnerProvider(t mockConstructorTestingTNewIInnerProvider) *IInnerProvider

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

func (*IInnerProvider) ExpiresAt

func (_m *IInnerProvider) ExpiresAt() time.Time

ExpiresAt provides a mock function with given fields:

func (*IInnerProvider) IsExpired

func (_m *IInnerProvider) IsExpired() bool

IsExpired provides a mock function with given fields:

func (*IInnerProvider) Retrieve

func (_m *IInnerProvider) Retrieve() (credentials.Value, error)

Retrieve provides a mock function with given fields:

func (*IInnerProvider) RetrieveWithContext

func (_m *IInnerProvider) RetrieveWithContext(ctx context.Context) (credentials.Value, error)

RetrieveWithContext provides a mock function with given fields: ctx

func (*IInnerProvider) SetExpiration

func (_m *IInnerProvider) SetExpiration(expiration time.Time, window time.Duration)

SetExpiration provides a mock function with given fields: expiration, window

Jump to

Keyboard shortcuts

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