Documentation ¶
Index ¶
- type VaultClient
- type VaultClient_Expecter
- type VaultClient_GetKvSecret_Call
- func (_c *VaultClient_GetKvSecret_Call) Return(_a0 map[string]string, _a1 error) *VaultClient_GetKvSecret_Call
- func (_c *VaultClient_GetKvSecret_Call) Run(run func(_a0 string)) *VaultClient_GetKvSecret_Call
- func (_c *VaultClient_GetKvSecret_Call) RunAndReturn(run func(string) (map[string]string, error)) *VaultClient_GetKvSecret_Call
- type VaultClient_GetOIDCTokenByValidation_Call
- func (_c *VaultClient_GetOIDCTokenByValidation_Call) Return(_a0 string, _a1 error) *VaultClient_GetOIDCTokenByValidation_Call
- func (_c *VaultClient_GetOIDCTokenByValidation_Call) Run(run func(_a0 string)) *VaultClient_GetOIDCTokenByValidation_Call
- func (_c *VaultClient_GetOIDCTokenByValidation_Call) RunAndReturn(run func(string) (string, error)) *VaultClient_GetOIDCTokenByValidation_Call
- type VaultClient_MustRevokeToken_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultClient ¶ added in v1.361.0
VaultClient is an autogenerated mock type for the VaultClient type
func NewVaultClient ¶ added in v1.361.0
func NewVaultClient(t interface { mock.TestingT Cleanup(func()) }) *VaultClient
NewVaultClient creates a new instance of VaultClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VaultClient) EXPECT ¶ added in v1.361.0
func (_m *VaultClient) EXPECT() *VaultClient_Expecter
func (*VaultClient) GetKvSecret ¶ added in v1.361.0
func (_m *VaultClient) GetKvSecret(_a0 string) (map[string]string, error)
GetKvSecret provides a mock function with given fields: _a0
func (*VaultClient) GetOIDCTokenByValidation ¶ added in v1.361.0
func (_m *VaultClient) GetOIDCTokenByValidation(_a0 string) (string, error)
GetOIDCTokenByValidation provides a mock function with given fields: _a0
func (*VaultClient) MustRevokeToken ¶ added in v1.361.0
func (_m *VaultClient) MustRevokeToken()
MustRevokeToken provides a mock function with given fields:
type VaultClient_Expecter ¶ added in v1.361.0
type VaultClient_Expecter struct {
// contains filtered or unexported fields
}
func (*VaultClient_Expecter) GetKvSecret ¶ added in v1.361.0
func (_e *VaultClient_Expecter) GetKvSecret(_a0 interface{}) *VaultClient_GetKvSecret_Call
GetKvSecret is a helper method to define mock.On call
- _a0 string
func (*VaultClient_Expecter) GetOIDCTokenByValidation ¶ added in v1.361.0
func (_e *VaultClient_Expecter) GetOIDCTokenByValidation(_a0 interface{}) *VaultClient_GetOIDCTokenByValidation_Call
GetOIDCTokenByValidation is a helper method to define mock.On call
- _a0 string
func (*VaultClient_Expecter) MustRevokeToken ¶ added in v1.361.0
func (_e *VaultClient_Expecter) MustRevokeToken() *VaultClient_MustRevokeToken_Call
MustRevokeToken is a helper method to define mock.On call
type VaultClient_GetKvSecret_Call ¶ added in v1.361.0
VaultClient_GetKvSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKvSecret'
func (*VaultClient_GetKvSecret_Call) Return ¶ added in v1.361.0
func (_c *VaultClient_GetKvSecret_Call) Return(_a0 map[string]string, _a1 error) *VaultClient_GetKvSecret_Call
func (*VaultClient_GetKvSecret_Call) Run ¶ added in v1.361.0
func (_c *VaultClient_GetKvSecret_Call) Run(run func(_a0 string)) *VaultClient_GetKvSecret_Call
func (*VaultClient_GetKvSecret_Call) RunAndReturn ¶ added in v1.361.0
func (_c *VaultClient_GetKvSecret_Call) RunAndReturn(run func(string) (map[string]string, error)) *VaultClient_GetKvSecret_Call
type VaultClient_GetOIDCTokenByValidation_Call ¶ added in v1.361.0
VaultClient_GetOIDCTokenByValidation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOIDCTokenByValidation'
func (*VaultClient_GetOIDCTokenByValidation_Call) Return ¶ added in v1.361.0
func (_c *VaultClient_GetOIDCTokenByValidation_Call) Return(_a0 string, _a1 error) *VaultClient_GetOIDCTokenByValidation_Call
func (*VaultClient_GetOIDCTokenByValidation_Call) Run ¶ added in v1.361.0
func (_c *VaultClient_GetOIDCTokenByValidation_Call) Run(run func(_a0 string)) *VaultClient_GetOIDCTokenByValidation_Call
func (*VaultClient_GetOIDCTokenByValidation_Call) RunAndReturn ¶ added in v1.361.0
func (_c *VaultClient_GetOIDCTokenByValidation_Call) RunAndReturn(run func(string) (string, error)) *VaultClient_GetOIDCTokenByValidation_Call
type VaultClient_MustRevokeToken_Call ¶ added in v1.361.0
VaultClient_MustRevokeToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MustRevokeToken'
func (*VaultClient_MustRevokeToken_Call) Return ¶ added in v1.361.0
func (_c *VaultClient_MustRevokeToken_Call) Return() *VaultClient_MustRevokeToken_Call
func (*VaultClient_MustRevokeToken_Call) Run ¶ added in v1.361.0
func (_c *VaultClient_MustRevokeToken_Call) Run(run func()) *VaultClient_MustRevokeToken_Call
func (*VaultClient_MustRevokeToken_Call) RunAndReturn ¶ added in v1.361.0
func (_c *VaultClient_MustRevokeToken_Call) RunAndReturn(run func()) *VaultClient_MustRevokeToken_Call