Documentation ¶
Index ¶
- type IEC2RoleProvider
- func (_m *IEC2RoleProvider) CredentialSource() string
- func (_m *IEC2RoleProvider) ExpiresAt() time.Time
- func (_m *IEC2RoleProvider) GetInnerProvider() ec2roleprovider.IInnerProvider
- func (_m *IEC2RoleProvider) IsExpired() bool
- func (_m *IEC2RoleProvider) RemoteExpiresAt() time.Time
- func (_m *IEC2RoleProvider) RemoteRetrieve(ctx context.Context) (credentials.Value, error)
- func (_m *IEC2RoleProvider) Retrieve() (credentials.Value, error)
- func (_m *IEC2RoleProvider) RetrieveWithContext(ctx context.Context) (credentials.Value, error)
- func (_m *IEC2RoleProvider) ShareFile() string
- func (_m *IEC2RoleProvider) ShareProfile() string
- func (_m *IEC2RoleProvider) SharesCredentials() bool
- type IInnerProvider
- func (_m *IInnerProvider) ExpiresAt() time.Time
- func (_m *IInnerProvider) IsExpired() bool
- func (_m *IInnerProvider) Retrieve() (credentials.Value, error)
- func (_m *IInnerProvider) RetrieveWithContext(ctx context.Context) (credentials.Value, error)
- func (_m *IInnerProvider) SetExpiration(expiration time.Time, window time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IEC2RoleProvider ¶
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 ¶
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