Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) FetchUpdates(arg0 context.Context) (*client.Update, error)
- func (m *MockClient) NewJWTSVID(arg0 context.Context, arg1 *node.JSR, arg2 string) (*client.JWTSVID, error)
- func (m *MockClient) NewX509SVIDs(arg0 context.Context, arg1 map[string][]byte) (map[string]*node.X509SVID, error)
- func (m *MockClient) Release()
- func (m *MockClient) RenewSVID(arg0 context.Context, arg1 []byte) (*node.X509SVID, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) FetchUpdates(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NewJWTSVID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NewX509SVIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Release() *gomock.Call
- func (mr *MockClientMockRecorder) RenewSVID(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) FetchUpdates ¶
FetchUpdates mocks base method
func (*MockClient) NewJWTSVID ¶ added in v0.11.0
func (m *MockClient) NewJWTSVID(arg0 context.Context, arg1 *node.JSR, arg2 string) (*client.JWTSVID, error)
NewJWTSVID mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) FetchUpdates ¶
func (mr *MockClientMockRecorder) FetchUpdates(arg0 interface{}) *gomock.Call
FetchUpdates indicates an expected call of FetchUpdates
func (*MockClientMockRecorder) NewJWTSVID ¶ added in v0.11.0
func (mr *MockClientMockRecorder) NewJWTSVID(arg0, arg1, arg2 interface{}) *gomock.Call
NewJWTSVID indicates an expected call of NewJWTSVID
func (*MockClientMockRecorder) NewX509SVIDs ¶ added in v0.11.0
func (mr *MockClientMockRecorder) NewX509SVIDs(arg0, arg1 interface{}) *gomock.Call
NewX509SVIDs indicates an expected call of NewX509SVIDs
func (*MockClientMockRecorder) Release ¶
func (mr *MockClientMockRecorder) Release() *gomock.Call
Release indicates an expected call of Release
func (*MockClientMockRecorder) RenewSVID ¶ added in v0.11.0
func (mr *MockClientMockRecorder) RenewSVID(arg0, arg1 interface{}) *gomock.Call
RenewSVID indicates an expected call of RenewSVID
Click to show internal directories.
Click to hide internal directories.