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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expirer

type Expirer struct {
	mock.Mock
}

Expirer is an autogenerated mock type for the Expirer type

func (*Expirer) ExpiresAt

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

ExpiresAt provides a mock function with given fields:

type IRemoteProvider

type IRemoteProvider struct {
	mock.Mock
}

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:

type Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func (*Provider) IsExpired

func (_m *Provider) IsExpired() bool

IsExpired provides a mock function with given fields:

func (*Provider) Retrieve

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

Retrieve provides a mock function with given fields:

Jump to

Keyboard shortcuts

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