Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultAuth ¶
VaultAuth is an autogenerated mock type for the VaultAuth type
func NewVaultAuth ¶
NewVaultAuth creates a new instance of VaultAuth. 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 (*VaultAuth) CreateClientSecret ¶
func (_m *VaultAuth) CreateClientSecret(ctx context.Context, username string, password string) (string, error)
CreateClientSecret provides a mock function with given fields: ctx, username, password
func (*VaultAuth) GetM2MToken ¶
GetM2MToken provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.