Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockVaultClient
- type MockVaultClientMockRecorder
- type MockVaultLogicalClient
- func (m *MockVaultLogicalClient) Delete(arg0 string) (*api.Secret, error)
- func (m *MockVaultLogicalClient) EXPECT() *MockVaultLogicalClientMockRecorder
- func (m *MockVaultLogicalClient) Read(arg0 string) (*api.Secret, error)
- func (m *MockVaultLogicalClient) Write(arg0 string, arg1 map[string]interface{}) (*api.Secret, error)
- type MockVaultLogicalClientMockRecorder
- type MockVaultSysClient
- type MockVaultSysClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVaultClient ¶
type MockVaultClient struct {
// contains filtered or unexported fields
}
MockVaultClient is a mock of VaultClient interface.
func NewMockVaultClient ¶
func NewMockVaultClient(ctrl *gomock.Controller) *MockVaultClient
NewMockVaultClient creates a new mock instance.
func (*MockVaultClient) EXPECT ¶
func (m *MockVaultClient) EXPECT() *MockVaultClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVaultClient) Logical ¶ added in v0.2.0
func (m *MockVaultClient) Logical() clients.VaultLogicalClient
Logical mocks base method.
func (*MockVaultClient) Sys ¶
func (m *MockVaultClient) Sys() clients.VaultSysClient
Sys mocks base method.
type MockVaultClientMockRecorder ¶
type MockVaultClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVaultClientMockRecorder is the mock recorder for MockVaultClient.
func (*MockVaultClientMockRecorder) Logical ¶ added in v0.2.0
func (mr *MockVaultClientMockRecorder) Logical() *gomock.Call
Logical indicates an expected call of Logical.
func (*MockVaultClientMockRecorder) Sys ¶
func (mr *MockVaultClientMockRecorder) Sys() *gomock.Call
Sys indicates an expected call of Sys.
type MockVaultLogicalClient ¶ added in v0.2.0
type MockVaultLogicalClient struct {
// contains filtered or unexported fields
}
MockVaultLogicalClient is a mock of VaultLogicalClient interface.
func NewMockVaultLogicalClient ¶ added in v0.2.0
func NewMockVaultLogicalClient(ctrl *gomock.Controller) *MockVaultLogicalClient
NewMockVaultLogicalClient creates a new mock instance.
func (*MockVaultLogicalClient) Delete ¶ added in v0.2.0
func (m *MockVaultLogicalClient) Delete(arg0 string) (*api.Secret, error)
Delete mocks base method.
func (*MockVaultLogicalClient) EXPECT ¶ added in v0.2.0
func (m *MockVaultLogicalClient) EXPECT() *MockVaultLogicalClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockVaultLogicalClientMockRecorder ¶ added in v0.2.0
type MockVaultLogicalClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVaultLogicalClientMockRecorder is the mock recorder for MockVaultLogicalClient.
func (*MockVaultLogicalClientMockRecorder) Delete ¶ added in v0.2.0
func (mr *MockVaultLogicalClientMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockVaultLogicalClientMockRecorder) Read ¶ added in v0.2.0
func (mr *MockVaultLogicalClientMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockVaultLogicalClientMockRecorder) Write ¶ added in v0.2.0
func (mr *MockVaultLogicalClientMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockVaultSysClient ¶
type MockVaultSysClient struct {
// contains filtered or unexported fields
}
MockVaultSysClient is a mock of VaultSysClient interface.
func NewMockVaultSysClient ¶
func NewMockVaultSysClient(ctrl *gomock.Controller) *MockVaultSysClient
NewMockVaultSysClient creates a new mock instance.
func (*MockVaultSysClient) DeletePolicy ¶
func (m *MockVaultSysClient) DeletePolicy(arg0 string) error
DeletePolicy mocks base method.
func (*MockVaultSysClient) EXPECT ¶
func (m *MockVaultSysClient) EXPECT() *MockVaultSysClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVaultSysClient) GetPolicy ¶
func (m *MockVaultSysClient) GetPolicy(arg0 string) (string, error)
GetPolicy mocks base method.
func (*MockVaultSysClient) PutPolicy ¶
func (m *MockVaultSysClient) PutPolicy(arg0, arg1 string) error
PutPolicy mocks base method.
type MockVaultSysClientMockRecorder ¶
type MockVaultSysClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVaultSysClientMockRecorder is the mock recorder for MockVaultSysClient.
func (*MockVaultSysClientMockRecorder) DeletePolicy ¶
func (mr *MockVaultSysClientMockRecorder) DeletePolicy(arg0 interface{}) *gomock.Call
DeletePolicy indicates an expected call of DeletePolicy.
func (*MockVaultSysClientMockRecorder) GetPolicy ¶
func (mr *MockVaultSysClientMockRecorder) GetPolicy(arg0 interface{}) *gomock.Call
GetPolicy indicates an expected call of GetPolicy.
func (*MockVaultSysClientMockRecorder) PutPolicy ¶
func (mr *MockVaultSysClientMockRecorder) PutPolicy(arg0, arg1 interface{}) *gomock.Call
PutPolicy indicates an expected call of PutPolicy.