mocks

package
v0.10.3-0...-8c9dab5 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential struct {
	mock.Mock
}

Credential is an autogenerated mock type for the Credential type

func NewCredential

func NewCredential(t mockConstructorTestingTNewCredential) *Credential

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

func (*Credential) EXPECT

func (_m *Credential) EXPECT() *Credential_Expecter

func (*Credential) GetAccessKeyId

func (_m *Credential) GetAccessKeyId() (*string, error)

GetAccessKeyId provides a mock function with given fields:

func (*Credential) GetAccessKeySecret

func (_m *Credential) GetAccessKeySecret() (*string, error)

GetAccessKeySecret provides a mock function with given fields:

func (*Credential) GetBearerToken

func (_m *Credential) GetBearerToken() *string

GetBearerToken provides a mock function with given fields:

func (*Credential) GetSecurityToken

func (_m *Credential) GetSecurityToken() (*string, error)

GetSecurityToken provides a mock function with given fields:

func (*Credential) GetType

func (_m *Credential) GetType() *string

GetType provides a mock function with given fields:

type Credential_Expecter

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

func (*Credential_Expecter) GetAccessKeyId

GetAccessKeyId is a helper method to define mock.On call

func (*Credential_Expecter) GetAccessKeySecret

func (_e *Credential_Expecter) GetAccessKeySecret() *Credential_GetAccessKeySecret_Call

GetAccessKeySecret is a helper method to define mock.On call

func (*Credential_Expecter) GetBearerToken

GetBearerToken is a helper method to define mock.On call

func (*Credential_Expecter) GetSecurityToken

func (_e *Credential_Expecter) GetSecurityToken() *Credential_GetSecurityToken_Call

GetSecurityToken is a helper method to define mock.On call

func (*Credential_Expecter) GetType

GetType is a helper method to define mock.On call

type Credential_GetAccessKeyId_Call

type Credential_GetAccessKeyId_Call struct {
	*mock.Call
}

Credential_GetAccessKeyId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccessKeyId'

func (*Credential_GetAccessKeyId_Call) Return

func (*Credential_GetAccessKeyId_Call) Run

type Credential_GetAccessKeySecret_Call

type Credential_GetAccessKeySecret_Call struct {
	*mock.Call
}

Credential_GetAccessKeySecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccessKeySecret'

func (*Credential_GetAccessKeySecret_Call) Return

func (*Credential_GetAccessKeySecret_Call) Run

type Credential_GetBearerToken_Call

type Credential_GetBearerToken_Call struct {
	*mock.Call
}

Credential_GetBearerToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBearerToken'

func (*Credential_GetBearerToken_Call) Return

func (*Credential_GetBearerToken_Call) Run

type Credential_GetSecurityToken_Call

type Credential_GetSecurityToken_Call struct {
	*mock.Call
}

Credential_GetSecurityToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecurityToken'

func (*Credential_GetSecurityToken_Call) Return

func (*Credential_GetSecurityToken_Call) Run

type Credential_GetType_Call

type Credential_GetType_Call struct {
	*mock.Call
}

Credential_GetType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetType'

func (*Credential_GetType_Call) Return

func (*Credential_GetType_Call) Run

func (_c *Credential_GetType_Call) Run(run func()) *Credential_GetType_Call

Jump to

Keyboard shortcuts

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