mock_credentials

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_credentials is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExpirer

type MockExpirer struct {
	// contains filtered or unexported fields
}

MockExpirer is a mock of Expirer interface.

func NewMockExpirer

func NewMockExpirer(ctrl *gomock.Controller) *MockExpirer

NewMockExpirer creates a new mock instance.

func (*MockExpirer) EXPECT

func (m *MockExpirer) EXPECT() *MockExpirerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockExpirer) ExpiresAt

func (m *MockExpirer) ExpiresAt() time.Time

ExpiresAt mocks base method.

type MockExpirerMockRecorder

type MockExpirerMockRecorder struct {
	// contains filtered or unexported fields
}

MockExpirerMockRecorder is the mock recorder for MockExpirer.

func (*MockExpirerMockRecorder) ExpiresAt

func (mr *MockExpirerMockRecorder) ExpiresAt() *gomock.Call

ExpiresAt indicates an expected call of ExpiresAt.

type MockProviderWithContext

type MockProviderWithContext struct {
	// contains filtered or unexported fields
}

MockProviderWithContext is a mock of ProviderWithContext interface.

func NewMockProviderWithContext

func NewMockProviderWithContext(ctrl *gomock.Controller) *MockProviderWithContext

NewMockProviderWithContext creates a new mock instance.

func (*MockProviderWithContext) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProviderWithContext) IsExpired

func (m *MockProviderWithContext) IsExpired() bool

IsExpired mocks base method.

func (*MockProviderWithContext) Retrieve

Retrieve mocks base method.

func (*MockProviderWithContext) RetrieveWithContext

func (m *MockProviderWithContext) RetrieveWithContext(arg0 context.Context) (credentials.Value, error)

RetrieveWithContext mocks base method.

type MockProviderWithContextMockRecorder

type MockProviderWithContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockProviderWithContextMockRecorder is the mock recorder for MockProviderWithContext.

func (*MockProviderWithContextMockRecorder) IsExpired

IsExpired indicates an expected call of IsExpired.

func (*MockProviderWithContextMockRecorder) Retrieve

Retrieve indicates an expected call of Retrieve.

func (*MockProviderWithContextMockRecorder) RetrieveWithContext

func (mr *MockProviderWithContextMockRecorder) RetrieveWithContext(arg0 interface{}) *gomock.Call

RetrieveWithContext indicates an expected call of RetrieveWithContext.

Jump to

Keyboard shortcuts

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