Help us shape the future of Go! Take the 2026 Go Developer Survey

mockvalidationclient

package
v0.0.50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mockvalidationclient is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockValidationClient) GetSchema

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.

func (*MockValidationClientMockRecorder) ToPath

func (mr *MockValidationClientMockRecorder) ToPath(ctx, path any) *gomock.Call

ToPath indicates an expected call of ToPath.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL