Documentation ¶
Index ¶
- type Credential
- func (_m *Credential) EXPECT() *Credential_Expecter
- func (_m *Credential) GetAccessKeyId() (*string, error)
- func (_m *Credential) GetAccessKeySecret() (*string, error)
- func (_m *Credential) GetBearerToken() *string
- func (_m *Credential) GetSecurityToken() (*string, error)
- func (_m *Credential) GetType() *string
- type Credential_Expecter
- func (_e *Credential_Expecter) GetAccessKeyId() *Credential_GetAccessKeyId_Call
- func (_e *Credential_Expecter) GetAccessKeySecret() *Credential_GetAccessKeySecret_Call
- func (_e *Credential_Expecter) GetBearerToken() *Credential_GetBearerToken_Call
- func (_e *Credential_Expecter) GetSecurityToken() *Credential_GetSecurityToken_Call
- func (_e *Credential_Expecter) GetType() *Credential_GetType_Call
- type Credential_GetAccessKeyId_Call
- type Credential_GetAccessKeySecret_Call
- type Credential_GetBearerToken_Call
- type Credential_GetSecurityToken_Call
- type Credential_GetType_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
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 ¶
func (_e *Credential_Expecter) GetAccessKeyId() *Credential_GetAccessKeyId_Call
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 ¶
func (_e *Credential_Expecter) GetBearerToken() *Credential_GetBearerToken_Call
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 ¶
func (_e *Credential_Expecter) GetType() *Credential_GetType_Call
GetType is a helper method to define mock.On call
type Credential_GetAccessKeyId_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 (_c *Credential_GetAccessKeyId_Call) Return(_a0 *string, _a1 error) *Credential_GetAccessKeyId_Call
func (*Credential_GetAccessKeyId_Call) Run ¶
func (_c *Credential_GetAccessKeyId_Call) Run(run func()) *Credential_GetAccessKeyId_Call
type Credential_GetAccessKeySecret_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 (_c *Credential_GetAccessKeySecret_Call) Return(_a0 *string, _a1 error) *Credential_GetAccessKeySecret_Call
func (*Credential_GetAccessKeySecret_Call) Run ¶
func (_c *Credential_GetAccessKeySecret_Call) Run(run func()) *Credential_GetAccessKeySecret_Call
type Credential_GetBearerToken_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 (_c *Credential_GetBearerToken_Call) Return(_a0 *string) *Credential_GetBearerToken_Call
func (*Credential_GetBearerToken_Call) Run ¶
func (_c *Credential_GetBearerToken_Call) Run(run func()) *Credential_GetBearerToken_Call
type Credential_GetSecurityToken_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 (_c *Credential_GetSecurityToken_Call) Return(_a0 *string, _a1 error) *Credential_GetSecurityToken_Call
func (*Credential_GetSecurityToken_Call) Run ¶
func (_c *Credential_GetSecurityToken_Call) Run(run func()) *Credential_GetSecurityToken_Call
type Credential_GetType_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 (_c *Credential_GetType_Call) Return(_a0 *string) *Credential_GetType_Call
func (*Credential_GetType_Call) Run ¶
func (_c *Credential_GetType_Call) Run(run func()) *Credential_GetType_Call