Documentation ¶
Overview ¶
Package mock_upstreamca is a generated GoMock package.
Index ¶
- type MockPlugin
- func (m *MockPlugin) Configure(arg0 context.Context, arg1 *plugin.ConfigureRequest) (*plugin.ConfigureResponse, error)
- func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
- func (m *MockPlugin) GetPluginInfo(arg0 context.Context, arg1 *plugin.GetPluginInfoRequest) (*plugin.GetPluginInfoResponse, error)
- func (m *MockPlugin) SubmitCSR(arg0 context.Context, arg1 *upstreamca.SubmitCSRRequest) (*upstreamca.SubmitCSRResponse, error)
- type MockPluginMockRecorder
- type MockUpstreamCA
- type MockUpstreamCAMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPlugin ¶
type MockPlugin struct {
// contains filtered or unexported fields
}
MockPlugin is a mock of Plugin interface
func NewMockPlugin ¶
func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin
NewMockPlugin creates a new mock instance
func (*MockPlugin) Configure ¶
func (m *MockPlugin) Configure(arg0 context.Context, arg1 *plugin.ConfigureRequest) (*plugin.ConfigureResponse, error)
Configure mocks base method
func (*MockPlugin) EXPECT ¶
func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPlugin) GetPluginInfo ¶
func (m *MockPlugin) GetPluginInfo(arg0 context.Context, arg1 *plugin.GetPluginInfoRequest) (*plugin.GetPluginInfoResponse, error)
GetPluginInfo mocks base method
func (*MockPlugin) SubmitCSR ¶
func (m *MockPlugin) SubmitCSR(arg0 context.Context, arg1 *upstreamca.SubmitCSRRequest) (*upstreamca.SubmitCSRResponse, error)
SubmitCSR mocks base method
type MockPluginMockRecorder ¶
type MockPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginMockRecorder is the mock recorder for MockPlugin
func (*MockPluginMockRecorder) Configure ¶
func (mr *MockPluginMockRecorder) Configure(arg0, arg1 interface{}) *gomock.Call
Configure indicates an expected call of Configure
func (*MockPluginMockRecorder) GetPluginInfo ¶
func (mr *MockPluginMockRecorder) GetPluginInfo(arg0, arg1 interface{}) *gomock.Call
GetPluginInfo indicates an expected call of GetPluginInfo
func (*MockPluginMockRecorder) SubmitCSR ¶
func (mr *MockPluginMockRecorder) SubmitCSR(arg0, arg1 interface{}) *gomock.Call
SubmitCSR indicates an expected call of SubmitCSR
type MockUpstreamCA ¶
type MockUpstreamCA struct {
// contains filtered or unexported fields
}
MockUpstreamCA is a mock of UpstreamCA interface
func NewMockUpstreamCA ¶
func NewMockUpstreamCA(ctrl *gomock.Controller) *MockUpstreamCA
NewMockUpstreamCA creates a new mock instance
func (*MockUpstreamCA) EXPECT ¶
func (m *MockUpstreamCA) EXPECT() *MockUpstreamCAMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUpstreamCA) SubmitCSR ¶
func (m *MockUpstreamCA) SubmitCSR(arg0 context.Context, arg1 *upstreamca.SubmitCSRRequest) (*upstreamca.SubmitCSRResponse, error)
SubmitCSR mocks base method
type MockUpstreamCAMockRecorder ¶
type MockUpstreamCAMockRecorder struct {
// contains filtered or unexported fields
}
MockUpstreamCAMockRecorder is the mock recorder for MockUpstreamCA
func (*MockUpstreamCAMockRecorder) SubmitCSR ¶
func (mr *MockUpstreamCAMockRecorder) SubmitCSR(arg0, arg1 interface{}) *gomock.Call
SubmitCSR indicates an expected call of SubmitCSR