Documentation ¶
Index ¶
- type Expirer
- type IRemoteProvider
- func (_m *IRemoteProvider) CredentialSource() string
- func (_m *IRemoteProvider) IsExpired() bool
- func (_m *IRemoteProvider) RemoteExpiresAt() time.Time
- func (_m *IRemoteProvider) RemoteRetrieve(ctx context.Context) (credentials.Value, error)
- func (_m *IRemoteProvider) Retrieve() (credentials.Value, error)
- func (_m *IRemoteProvider) ShareFile() string
- func (_m *IRemoteProvider) ShareProfile() string
- func (_m *IRemoteProvider) SharesCredentials() bool
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRemoteProvider ¶
IRemoteProvider is an autogenerated mock type for the IRemoteProvider type
func NewIRemoteProvider ¶
func NewIRemoteProvider(t mockConstructorTestingTNewIRemoteProvider) *IRemoteProvider
NewIRemoteProvider creates a new instance of IRemoteProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IRemoteProvider) CredentialSource ¶
func (_m *IRemoteProvider) CredentialSource() string
CredentialSource provides a mock function with given fields:
func (*IRemoteProvider) IsExpired ¶
func (_m *IRemoteProvider) IsExpired() bool
IsExpired provides a mock function with given fields:
func (*IRemoteProvider) RemoteExpiresAt ¶
func (_m *IRemoteProvider) RemoteExpiresAt() time.Time
RemoteExpiresAt provides a mock function with given fields:
func (*IRemoteProvider) RemoteRetrieve ¶
func (_m *IRemoteProvider) RemoteRetrieve(ctx context.Context) (credentials.Value, error)
RemoteRetrieve provides a mock function with given fields: ctx
func (*IRemoteProvider) Retrieve ¶
func (_m *IRemoteProvider) Retrieve() (credentials.Value, error)
Retrieve provides a mock function with given fields:
func (*IRemoteProvider) ShareFile ¶
func (_m *IRemoteProvider) ShareFile() string
ShareFile provides a mock function with given fields:
func (*IRemoteProvider) ShareProfile ¶
func (_m *IRemoteProvider) ShareProfile() string
ShareProfile provides a mock function with given fields:
func (*IRemoteProvider) SharesCredentials ¶
func (_m *IRemoteProvider) SharesCredentials() bool
SharesCredentials provides a mock function with given fields: