Documentation ¶
Overview ¶
Package mockvalidationclient is a generated GoMock package.
Index ¶
- type MockValidationClient
- func (m *MockValidationClient) EXPECT() *MockValidationClientMockRecorder
- func (m *MockValidationClient) GetSchema(ctx context.Context, path *schema_server.Path) (*schema_server.GetSchemaResponse, error)
- func (m *MockValidationClient) GetSchemaElements(ctx context.Context, p *schema_server.Path, done chan struct{}) (chan *schema_server.GetSchemaResponse, error)
- func (m *MockValidationClient) GetValue(ctx context.Context, candidateName string, path *schema_server.Path) (*schema_server.TypedValue, error)
- func (m *MockValidationClient) GetValues(ctx context.Context, candidateName string, path *schema_server.Path) ([]*schema_server.TypedValue, error)
- func (m *MockValidationClient) ReadIntended(ctx context.Context, opts *cache.Opts, paths [][]string, period time.Duration) []*cache.Update
- func (m *MockValidationClient) ToPath(ctx context.Context, path []string) (*schema_server.Path, error)
- type MockValidationClientMockRecorder
- func (mr *MockValidationClientMockRecorder) GetSchema(ctx, path any) *gomock.Call
- func (mr *MockValidationClientMockRecorder) GetSchemaElements(ctx, p, done any) *gomock.Call
- func (mr *MockValidationClientMockRecorder) GetValue(ctx, candidateName, path any) *gomock.Call
- func (mr *MockValidationClientMockRecorder) GetValues(ctx, candidateName, path any) *gomock.Call
- func (mr *MockValidationClientMockRecorder) ReadIntended(ctx, opts, paths, period any) *gomock.Call
- func (mr *MockValidationClientMockRecorder) ToPath(ctx, path any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockValidationClient ¶
type MockValidationClient struct {
// contains filtered or unexported fields
}
MockValidationClient is a mock of ValidationClient interface.
func NewMockValidationClient ¶
func NewMockValidationClient(ctrl *gomock.Controller) *MockValidationClient
NewMockValidationClient creates a new mock instance.
func (*MockValidationClient) EXPECT ¶
func (m *MockValidationClient) EXPECT() *MockValidationClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValidationClient) GetSchema ¶
func (m *MockValidationClient) GetSchema(ctx context.Context, path *schema_server.Path) (*schema_server.GetSchemaResponse, error)
GetSchema mocks base method.
func (*MockValidationClient) GetSchemaElements ¶
func (m *MockValidationClient) GetSchemaElements(ctx context.Context, p *schema_server.Path, done chan struct{}) (chan *schema_server.GetSchemaResponse, error)
GetSchemaElements mocks base method.
func (*MockValidationClient) GetValue ¶
func (m *MockValidationClient) GetValue(ctx context.Context, candidateName string, path *schema_server.Path) (*schema_server.TypedValue, error)
GetValue mocks base method.
func (*MockValidationClient) GetValues ¶
func (m *MockValidationClient) GetValues(ctx context.Context, candidateName string, path *schema_server.Path) ([]*schema_server.TypedValue, error)
GetValues mocks base method.
func (*MockValidationClient) ReadIntended ¶
func (m *MockValidationClient) ReadIntended(ctx context.Context, opts *cache.Opts, paths [][]string, period time.Duration) []*cache.Update
ReadIntended mocks base method.
func (*MockValidationClient) ToPath ¶
func (m *MockValidationClient) ToPath(ctx context.Context, path []string) (*schema_server.Path, error)
ToPath mocks base method.
type MockValidationClientMockRecorder ¶
type MockValidationClientMockRecorder struct {
// contains filtered or unexported fields
}
MockValidationClientMockRecorder is the mock recorder for MockValidationClient.
func (*MockValidationClientMockRecorder) GetSchema ¶
func (mr *MockValidationClientMockRecorder) GetSchema(ctx, path any) *gomock.Call
GetSchema indicates an expected call of GetSchema.
func (*MockValidationClientMockRecorder) GetSchemaElements ¶
func (mr *MockValidationClientMockRecorder) GetSchemaElements(ctx, p, done any) *gomock.Call
GetSchemaElements indicates an expected call of GetSchemaElements.
func (*MockValidationClientMockRecorder) GetValue ¶
func (mr *MockValidationClientMockRecorder) GetValue(ctx, candidateName, path any) *gomock.Call
GetValue indicates an expected call of GetValue.
func (*MockValidationClientMockRecorder) GetValues ¶
func (mr *MockValidationClientMockRecorder) GetValues(ctx, candidateName, path any) *gomock.Call
GetValues indicates an expected call of GetValues.
func (*MockValidationClientMockRecorder) ReadIntended ¶
func (mr *MockValidationClientMockRecorder) ReadIntended(ctx, opts, paths, period any) *gomock.Call
ReadIntended indicates an expected call of ReadIntended.