mock

package
v0.9.0-nightly.20240120 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayDescriptor

type ArrayDescriptor struct {
	// contains filtered or unexported fields
}

ArrayDescriptor is a mock of ArrayDescriptor interface.

func NewArrayDescriptor

func NewArrayDescriptor(ctrl *gomock.Controller) *ArrayDescriptor

NewArrayDescriptor creates a new mock instance.

func (*ArrayDescriptor) DescriptorType

func (m *ArrayDescriptor) DescriptorType(arg0 schema.ArrayDescriptor)

DescriptorType mocks base method.

func (*ArrayDescriptor) EXPECT

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

func (*ArrayDescriptor) Parameters

func (m *ArrayDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*ArrayDescriptor) ValueDescriptor

func (m *ArrayDescriptor) ValueDescriptor() schema.Descriptor

ValueDescriptor mocks base method.

type ArrayDescriptorMockRecorder

type ArrayDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

ArrayDescriptorMockRecorder is the mock recorder for ArrayDescriptor.

func (*ArrayDescriptorMockRecorder) DescriptorType

func (mr *ArrayDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*ArrayDescriptorMockRecorder) Parameters

func (mr *ArrayDescriptorMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

func (*ArrayDescriptorMockRecorder) ValueDescriptor

func (mr *ArrayDescriptorMockRecorder) ValueDescriptor() *gomock.Call

ValueDescriptor indicates an expected call of ValueDescriptor.

type EnumDescriptor

type EnumDescriptor struct {
	// contains filtered or unexported fields
}

EnumDescriptor is a mock of EnumDescriptor interface.

func NewEnumDescriptor

func NewEnumDescriptor(ctrl *gomock.Controller) *EnumDescriptor

NewEnumDescriptor creates a new mock instance.

func (*EnumDescriptor) DescriptorType

func (m *EnumDescriptor) DescriptorType(arg0 schema.EnumDescriptor)

DescriptorType mocks base method.

func (*EnumDescriptor) EXPECT

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

func (*EnumDescriptor) Name

func (m *EnumDescriptor) Name() string

Name mocks base method.

func (*EnumDescriptor) Parameters

func (m *EnumDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*EnumDescriptor) ValueDescriptors

func (m *EnumDescriptor) ValueDescriptors() []schema.EnumValueDescriptor

ValueDescriptors mocks base method.

type EnumDescriptorMockRecorder

type EnumDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

EnumDescriptorMockRecorder is the mock recorder for EnumDescriptor.

func (*EnumDescriptorMockRecorder) DescriptorType

func (mr *EnumDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*EnumDescriptorMockRecorder) Name

Name indicates an expected call of Name.

func (*EnumDescriptorMockRecorder) Parameters

func (mr *EnumDescriptorMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

func (*EnumDescriptorMockRecorder) ValueDescriptors

func (mr *EnumDescriptorMockRecorder) ValueDescriptors() *gomock.Call

ValueDescriptors indicates an expected call of ValueDescriptors.

type EnumValueDescriptor

type EnumValueDescriptor struct {
	// contains filtered or unexported fields
}

EnumValueDescriptor is a mock of EnumValueDescriptor interface.

func NewEnumValueDescriptor

func NewEnumValueDescriptor(ctrl *gomock.Controller) *EnumValueDescriptor

NewEnumValueDescriptor creates a new mock instance.

func (*EnumValueDescriptor) DescriptorType

func (m *EnumValueDescriptor) DescriptorType(arg0 schema.EnumValueDescriptor)

DescriptorType mocks base method.

func (*EnumValueDescriptor) EXPECT

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

func (*EnumValueDescriptor) Name

func (m *EnumValueDescriptor) Name() string

Name mocks base method.

func (*EnumValueDescriptor) Parameters

func (m *EnumValueDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*EnumValueDescriptor) Value

func (m *EnumValueDescriptor) Value() string

Value mocks base method.

type EnumValueDescriptorMockRecorder

type EnumValueDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

EnumValueDescriptorMockRecorder is the mock recorder for EnumValueDescriptor.

func (*EnumValueDescriptorMockRecorder) DescriptorType

func (mr *EnumValueDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*EnumValueDescriptorMockRecorder) Name

Name indicates an expected call of Name.

func (*EnumValueDescriptorMockRecorder) Parameters

func (mr *EnumValueDescriptorMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

func (*EnumValueDescriptorMockRecorder) Value

Value indicates an expected call of Value.

type Field

type Field struct {
	// contains filtered or unexported fields
}

Field is a mock of Field interface.

func NewField

func NewField(ctrl *gomock.Controller) *Field

NewField creates a new mock instance.

func (*Field) Descriptor

func (m *Field) Descriptor() schema.Descriptor

Descriptor mocks base method.

func (*Field) DescriptorType

func (m *Field) DescriptorType(arg0 schema.Field)

DescriptorType mocks base method.

func (*Field) EXPECT

func (m *Field) EXPECT() *FieldMockRecorder

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

func (*Field) Index

func (m *Field) Index() int

Index mocks base method.

func (*Field) Name

func (m *Field) Name() string

Name mocks base method.

type FieldMockRecorder

type FieldMockRecorder struct {
	// contains filtered or unexported fields
}

FieldMockRecorder is the mock recorder for Field.

func (*FieldMockRecorder) Descriptor

func (mr *FieldMockRecorder) Descriptor() *gomock.Call

Descriptor indicates an expected call of Descriptor.

func (*FieldMockRecorder) DescriptorType

func (mr *FieldMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*FieldMockRecorder) Index

func (mr *FieldMockRecorder) Index() *gomock.Call

Index indicates an expected call of Index.

func (*FieldMockRecorder) Name

func (mr *FieldMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

type MapDescriptor

type MapDescriptor struct {
	// contains filtered or unexported fields
}

MapDescriptor is a mock of MapDescriptor interface.

func NewMapDescriptor

func NewMapDescriptor(ctrl *gomock.Controller) *MapDescriptor

NewMapDescriptor creates a new mock instance.

func (*MapDescriptor) DescriptorType

func (m *MapDescriptor) DescriptorType(arg0 schema.MapDescriptor)

DescriptorType mocks base method.

func (*MapDescriptor) EXPECT

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

func (*MapDescriptor) KeyDescriptor

func (m *MapDescriptor) KeyDescriptor() schema.Descriptor

KeyDescriptor mocks base method.

func (*MapDescriptor) Parameters

func (m *MapDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*MapDescriptor) ValueDescriptor

func (m *MapDescriptor) ValueDescriptor() schema.Descriptor

ValueDescriptor mocks base method.

type MapDescriptorMockRecorder

type MapDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

MapDescriptorMockRecorder is the mock recorder for MapDescriptor.

func (*MapDescriptorMockRecorder) DescriptorType

func (mr *MapDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*MapDescriptorMockRecorder) KeyDescriptor

func (mr *MapDescriptorMockRecorder) KeyDescriptor() *gomock.Call

KeyDescriptor indicates an expected call of KeyDescriptor.

func (*MapDescriptorMockRecorder) Parameters

func (mr *MapDescriptorMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

func (*MapDescriptorMockRecorder) ValueDescriptor

func (mr *MapDescriptorMockRecorder) ValueDescriptor() *gomock.Call

ValueDescriptor indicates an expected call of ValueDescriptor.

type MutableArrayDescriptor

type MutableArrayDescriptor struct {
	// contains filtered or unexported fields
}

MutableArrayDescriptor is a mock of MutableArrayDescriptor interface.

func NewMutableArrayDescriptor

func NewMutableArrayDescriptor(ctrl *gomock.Controller) *MutableArrayDescriptor

NewMutableArrayDescriptor creates a new mock instance.

func (*MutableArrayDescriptor) DescriptorType

func (m *MutableArrayDescriptor) DescriptorType(arg0 schema.ArrayDescriptor)

DescriptorType mocks base method.

func (*MutableArrayDescriptor) EXPECT

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

func (*MutableArrayDescriptor) Parameters

func (m *MutableArrayDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*MutableArrayDescriptor) SetValueDescriptor

func (m *MutableArrayDescriptor) SetValueDescriptor(arg0 schema.MutableDescriptor)

SetValueDescriptor mocks base method.

func (*MutableArrayDescriptor) ValueDescriptor

func (m *MutableArrayDescriptor) ValueDescriptor() schema.Descriptor

ValueDescriptor mocks base method.

type MutableArrayDescriptorMockRecorder

type MutableArrayDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

MutableArrayDescriptorMockRecorder is the mock recorder for MutableArrayDescriptor.

func (*MutableArrayDescriptorMockRecorder) DescriptorType

func (mr *MutableArrayDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*MutableArrayDescriptorMockRecorder) Parameters

Parameters indicates an expected call of Parameters.

func (*MutableArrayDescriptorMockRecorder) SetValueDescriptor

func (mr *MutableArrayDescriptorMockRecorder) SetValueDescriptor(arg0 any) *gomock.Call

SetValueDescriptor indicates an expected call of SetValueDescriptor.

func (*MutableArrayDescriptorMockRecorder) ValueDescriptor

func (mr *MutableArrayDescriptorMockRecorder) ValueDescriptor() *gomock.Call

ValueDescriptor indicates an expected call of ValueDescriptor.

type MutableEnumDescriptor

type MutableEnumDescriptor struct {
	// contains filtered or unexported fields
}

MutableEnumDescriptor is a mock of MutableEnumDescriptor interface.

func NewMutableEnumDescriptor

func NewMutableEnumDescriptor(ctrl *gomock.Controller) *MutableEnumDescriptor

NewMutableEnumDescriptor creates a new mock instance.

func (*MutableEnumDescriptor) DescriptorType

func (m *MutableEnumDescriptor) DescriptorType(arg0 schema.EnumDescriptor)

DescriptorType mocks base method.

func (*MutableEnumDescriptor) EXPECT

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

func (*MutableEnumDescriptor) Name

func (m *MutableEnumDescriptor) Name() string

Name mocks base method.

func (*MutableEnumDescriptor) Parameters

func (m *MutableEnumDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*MutableEnumDescriptor) SetName

func (m *MutableEnumDescriptor) SetName(arg0 string)

SetName mocks base method.

func (*MutableEnumDescriptor) SetValueDescriptors

func (m *MutableEnumDescriptor) SetValueDescriptors(arg0 []schema.MutableEnumValueDescriptor)

SetValueDescriptors mocks base method.

func (*MutableEnumDescriptor) ValueDescriptors

func (m *MutableEnumDescriptor) ValueDescriptors() []schema.EnumValueDescriptor

ValueDescriptors mocks base method.

type MutableEnumDescriptorMockRecorder

type MutableEnumDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

MutableEnumDescriptorMockRecorder is the mock recorder for MutableEnumDescriptor.

func (*MutableEnumDescriptorMockRecorder) DescriptorType

func (mr *MutableEnumDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*MutableEnumDescriptorMockRecorder) Name

Name indicates an expected call of Name.

func (*MutableEnumDescriptorMockRecorder) Parameters

func (mr *MutableEnumDescriptorMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

func (*MutableEnumDescriptorMockRecorder) SetName

func (mr *MutableEnumDescriptorMockRecorder) SetName(arg0 any) *gomock.Call

SetName indicates an expected call of SetName.

func (*MutableEnumDescriptorMockRecorder) SetValueDescriptors

func (mr *MutableEnumDescriptorMockRecorder) SetValueDescriptors(arg0 any) *gomock.Call

SetValueDescriptors indicates an expected call of SetValueDescriptors.

func (*MutableEnumDescriptorMockRecorder) ValueDescriptors

func (mr *MutableEnumDescriptorMockRecorder) ValueDescriptors() *gomock.Call

ValueDescriptors indicates an expected call of ValueDescriptors.

type MutableEnumValueDescriptor

type MutableEnumValueDescriptor struct {
	// contains filtered or unexported fields
}

MutableEnumValueDescriptor is a mock of MutableEnumValueDescriptor interface.

func NewMutableEnumValueDescriptor

func NewMutableEnumValueDescriptor(ctrl *gomock.Controller) *MutableEnumValueDescriptor

NewMutableEnumValueDescriptor creates a new mock instance.

func (*MutableEnumValueDescriptor) DescriptorType

func (m *MutableEnumValueDescriptor) DescriptorType(arg0 schema.EnumValueDescriptor)

DescriptorType mocks base method.

func (*MutableEnumValueDescriptor) EXPECT

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

func (*MutableEnumValueDescriptor) Name

Name mocks base method.

func (*MutableEnumValueDescriptor) Parameters

func (m *MutableEnumValueDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*MutableEnumValueDescriptor) SetName

func (m *MutableEnumValueDescriptor) SetName(arg0 string)

SetName mocks base method.

func (*MutableEnumValueDescriptor) SetValue

func (m *MutableEnumValueDescriptor) SetValue(arg0 string)

SetValue mocks base method.

func (*MutableEnumValueDescriptor) Value

Value mocks base method.

type MutableEnumValueDescriptorMockRecorder

type MutableEnumValueDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

MutableEnumValueDescriptorMockRecorder is the mock recorder for MutableEnumValueDescriptor.

func (*MutableEnumValueDescriptorMockRecorder) DescriptorType

func (mr *MutableEnumValueDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*MutableEnumValueDescriptorMockRecorder) Name

Name indicates an expected call of Name.

func (*MutableEnumValueDescriptorMockRecorder) Parameters

Parameters indicates an expected call of Parameters.

func (*MutableEnumValueDescriptorMockRecorder) SetName

SetName indicates an expected call of SetName.

func (*MutableEnumValueDescriptorMockRecorder) SetValue

SetValue indicates an expected call of SetValue.

func (*MutableEnumValueDescriptorMockRecorder) Value

Value indicates an expected call of Value.

type MutableField

type MutableField struct {
	// contains filtered or unexported fields
}

MutableField is a mock of MutableField interface.

func NewMutableField

func NewMutableField(ctrl *gomock.Controller) *MutableField

NewMutableField creates a new mock instance.

func (*MutableField) Descriptor

func (m *MutableField) Descriptor() schema.Descriptor

Descriptor mocks base method.

func (*MutableField) DescriptorType

func (m *MutableField) DescriptorType(arg0 schema.Field)

DescriptorType mocks base method.

func (*MutableField) EXPECT

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

func (*MutableField) Index

func (m *MutableField) Index() int

Index mocks base method.

func (*MutableField) Name

func (m *MutableField) Name() string

Name mocks base method.

func (*MutableField) SetDescriptor

func (m *MutableField) SetDescriptor(arg0 schema.MutableDescriptor)

SetDescriptor mocks base method.

func (*MutableField) SetIndex

func (m *MutableField) SetIndex(arg0 int)

SetIndex mocks base method.

func (*MutableField) SetName

func (m *MutableField) SetName(arg0 string)

SetName mocks base method.

type MutableFieldMockRecorder

type MutableFieldMockRecorder struct {
	// contains filtered or unexported fields
}

MutableFieldMockRecorder is the mock recorder for MutableField.

func (*MutableFieldMockRecorder) Descriptor

func (mr *MutableFieldMockRecorder) Descriptor() *gomock.Call

Descriptor indicates an expected call of Descriptor.

func (*MutableFieldMockRecorder) DescriptorType

func (mr *MutableFieldMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*MutableFieldMockRecorder) Index

func (mr *MutableFieldMockRecorder) Index() *gomock.Call

Index indicates an expected call of Index.

func (*MutableFieldMockRecorder) Name

func (mr *MutableFieldMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MutableFieldMockRecorder) SetDescriptor

func (mr *MutableFieldMockRecorder) SetDescriptor(arg0 any) *gomock.Call

SetDescriptor indicates an expected call of SetDescriptor.

func (*MutableFieldMockRecorder) SetIndex

func (mr *MutableFieldMockRecorder) SetIndex(arg0 any) *gomock.Call

SetIndex indicates an expected call of SetIndex.

func (*MutableFieldMockRecorder) SetName

func (mr *MutableFieldMockRecorder) SetName(arg0 any) *gomock.Call

SetName indicates an expected call of SetName.

type MutableMapDescriptor

type MutableMapDescriptor struct {
	// contains filtered or unexported fields
}

MutableMapDescriptor is a mock of MutableMapDescriptor interface.

func NewMutableMapDescriptor

func NewMutableMapDescriptor(ctrl *gomock.Controller) *MutableMapDescriptor

NewMutableMapDescriptor creates a new mock instance.

func (*MutableMapDescriptor) DescriptorType

func (m *MutableMapDescriptor) DescriptorType(arg0 schema.MapDescriptor)

DescriptorType mocks base method.

func (*MutableMapDescriptor) EXPECT

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

func (*MutableMapDescriptor) KeyDescriptor

func (m *MutableMapDescriptor) KeyDescriptor() schema.Descriptor

KeyDescriptor mocks base method.

func (*MutableMapDescriptor) Parameters

func (m *MutableMapDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*MutableMapDescriptor) SetKeyDescriptor

func (m *MutableMapDescriptor) SetKeyDescriptor(arg0 schema.MutableDescriptor)

SetKeyDescriptor mocks base method.

func (*MutableMapDescriptor) SetValueDescriptor

func (m *MutableMapDescriptor) SetValueDescriptor(arg0 schema.MutableDescriptor)

SetValueDescriptor mocks base method.

func (*MutableMapDescriptor) ValueDescriptor

func (m *MutableMapDescriptor) ValueDescriptor() schema.Descriptor

ValueDescriptor mocks base method.

type MutableMapDescriptorMockRecorder

type MutableMapDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

MutableMapDescriptorMockRecorder is the mock recorder for MutableMapDescriptor.

func (*MutableMapDescriptorMockRecorder) DescriptorType

func (mr *MutableMapDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*MutableMapDescriptorMockRecorder) KeyDescriptor

func (mr *MutableMapDescriptorMockRecorder) KeyDescriptor() *gomock.Call

KeyDescriptor indicates an expected call of KeyDescriptor.

func (*MutableMapDescriptorMockRecorder) Parameters

func (mr *MutableMapDescriptorMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

func (*MutableMapDescriptorMockRecorder) SetKeyDescriptor

func (mr *MutableMapDescriptorMockRecorder) SetKeyDescriptor(arg0 any) *gomock.Call

SetKeyDescriptor indicates an expected call of SetKeyDescriptor.

func (*MutableMapDescriptorMockRecorder) SetValueDescriptor

func (mr *MutableMapDescriptorMockRecorder) SetValueDescriptor(arg0 any) *gomock.Call

SetValueDescriptor indicates an expected call of SetValueDescriptor.

func (*MutableMapDescriptorMockRecorder) ValueDescriptor

func (mr *MutableMapDescriptorMockRecorder) ValueDescriptor() *gomock.Call

ValueDescriptor indicates an expected call of ValueDescriptor.

type MutablePrimitiveDescriptor

type MutablePrimitiveDescriptor struct {
	// contains filtered or unexported fields
}

MutablePrimitiveDescriptor is a mock of MutablePrimitiveDescriptor interface.

func NewMutablePrimitiveDescriptor

func NewMutablePrimitiveDescriptor(ctrl *gomock.Controller) *MutablePrimitiveDescriptor

NewMutablePrimitiveDescriptor creates a new mock instance.

func (*MutablePrimitiveDescriptor) DescriptorType

func (m *MutablePrimitiveDescriptor) DescriptorType(arg0 schema.PrimitiveDescriptor)

DescriptorType mocks base method.

func (*MutablePrimitiveDescriptor) EXPECT

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

func (*MutablePrimitiveDescriptor) Parameters

func (m *MutablePrimitiveDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*MutablePrimitiveDescriptor) SetType

SetType mocks base method.

func (*MutablePrimitiveDescriptor) Type

Type mocks base method.

type MutablePrimitiveDescriptorMockRecorder

type MutablePrimitiveDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

MutablePrimitiveDescriptorMockRecorder is the mock recorder for MutablePrimitiveDescriptor.

func (*MutablePrimitiveDescriptorMockRecorder) DescriptorType

func (mr *MutablePrimitiveDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*MutablePrimitiveDescriptorMockRecorder) Parameters

Parameters indicates an expected call of Parameters.

func (*MutablePrimitiveDescriptorMockRecorder) SetType

SetType indicates an expected call of SetType.

func (*MutablePrimitiveDescriptorMockRecorder) Type

Type indicates an expected call of Type.

type MutableSchema

type MutableSchema struct {
	// contains filtered or unexported fields
}

MutableSchema is a mock of MutableSchema interface.

func NewMutableSchema

func NewMutableSchema(ctrl *gomock.Controller) *MutableSchema

NewMutableSchema creates a new mock instance.

func (*MutableSchema) Build

func (m *MutableSchema) Build() (schema.Schema, error)

Build mocks base method.

func (*MutableSchema) Descriptors

func (m *MutableSchema) Descriptors() []schema.Descriptor

Descriptors mocks base method.

func (*MutableSchema) EXPECT

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

func (*MutableSchema) SetDescriptors

func (m *MutableSchema) SetDescriptors(arg0 []schema.MutableDescriptor)

SetDescriptors mocks base method.

func (*MutableSchema) SetVersion

func (m *MutableSchema) SetVersion(arg0 int)

SetVersion mocks base method.

func (*MutableSchema) Type

func (m *MutableSchema) Type() string

Type mocks base method.

func (*MutableSchema) Version

func (m *MutableSchema) Version() int

Version mocks base method.

type MutableSchemaMockRecorder

type MutableSchemaMockRecorder struct {
	// contains filtered or unexported fields
}

MutableSchemaMockRecorder is the mock recorder for MutableSchema.

func (*MutableSchemaMockRecorder) Build

func (mr *MutableSchemaMockRecorder) Build() *gomock.Call

Build indicates an expected call of Build.

func (*MutableSchemaMockRecorder) Descriptors

func (mr *MutableSchemaMockRecorder) Descriptors() *gomock.Call

Descriptors indicates an expected call of Descriptors.

func (*MutableSchemaMockRecorder) SetDescriptors

func (mr *MutableSchemaMockRecorder) SetDescriptors(arg0 any) *gomock.Call

SetDescriptors indicates an expected call of SetDescriptors.

func (*MutableSchemaMockRecorder) SetVersion

func (mr *MutableSchemaMockRecorder) SetVersion(arg0 any) *gomock.Call

SetVersion indicates an expected call of SetVersion.

func (*MutableSchemaMockRecorder) Type

Type indicates an expected call of Type.

func (*MutableSchemaMockRecorder) Version

func (mr *MutableSchemaMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

type MutableStructDescriptor

type MutableStructDescriptor struct {
	// contains filtered or unexported fields
}

MutableStructDescriptor is a mock of MutableStructDescriptor interface.

func NewMutableStructDescriptor

func NewMutableStructDescriptor(ctrl *gomock.Controller) *MutableStructDescriptor

NewMutableStructDescriptor creates a new mock instance.

func (*MutableStructDescriptor) DescriptorType

func (m *MutableStructDescriptor) DescriptorType(arg0 schema.StructDescriptor)

DescriptorType mocks base method.

func (*MutableStructDescriptor) EXPECT

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

func (*MutableStructDescriptor) Fields

func (m *MutableStructDescriptor) Fields() []schema.Field

Fields mocks base method.

func (*MutableStructDescriptor) Name

func (m *MutableStructDescriptor) Name() string

Name mocks base method.

func (*MutableStructDescriptor) Parameters

func (m *MutableStructDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*MutableStructDescriptor) SetFields

func (m *MutableStructDescriptor) SetFields(arg0 []schema.MutableField)

SetFields mocks base method.

func (*MutableStructDescriptor) SetName

func (m *MutableStructDescriptor) SetName(arg0 string)

SetName mocks base method.

type MutableStructDescriptorMockRecorder

type MutableStructDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

MutableStructDescriptorMockRecorder is the mock recorder for MutableStructDescriptor.

func (*MutableStructDescriptorMockRecorder) DescriptorType

func (mr *MutableStructDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*MutableStructDescriptorMockRecorder) Fields

Fields indicates an expected call of Fields.

func (*MutableStructDescriptorMockRecorder) Name

Name indicates an expected call of Name.

func (*MutableStructDescriptorMockRecorder) Parameters

Parameters indicates an expected call of Parameters.

func (*MutableStructDescriptorMockRecorder) SetFields

func (mr *MutableStructDescriptorMockRecorder) SetFields(arg0 any) *gomock.Call

SetFields indicates an expected call of SetFields.

func (*MutableStructDescriptorMockRecorder) SetName

SetName indicates an expected call of SetName.

type PrimitiveDescriptor

type PrimitiveDescriptor struct {
	// contains filtered or unexported fields
}

PrimitiveDescriptor is a mock of PrimitiveDescriptor interface.

func NewPrimitiveDescriptor

func NewPrimitiveDescriptor(ctrl *gomock.Controller) *PrimitiveDescriptor

NewPrimitiveDescriptor creates a new mock instance.

func (*PrimitiveDescriptor) DescriptorType

func (m *PrimitiveDescriptor) DescriptorType(arg0 schema.PrimitiveDescriptor)

DescriptorType mocks base method.

func (*PrimitiveDescriptor) EXPECT

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

func (*PrimitiveDescriptor) Parameters

func (m *PrimitiveDescriptor) Parameters() map[string]any

Parameters mocks base method.

func (*PrimitiveDescriptor) Type

Type mocks base method.

type PrimitiveDescriptorMockRecorder

type PrimitiveDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

PrimitiveDescriptorMockRecorder is the mock recorder for PrimitiveDescriptor.

func (*PrimitiveDescriptorMockRecorder) DescriptorType

func (mr *PrimitiveDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*PrimitiveDescriptorMockRecorder) Parameters

func (mr *PrimitiveDescriptorMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

func (*PrimitiveDescriptorMockRecorder) Type

Type indicates an expected call of Type.

type Schema

type Schema struct {
	// contains filtered or unexported fields
}

Schema is a mock of Schema interface.

func NewSchema

func NewSchema(ctrl *gomock.Controller) *Schema

NewSchema creates a new mock instance.

func (*Schema) Descriptors

func (m *Schema) Descriptors() []schema.Descriptor

Descriptors mocks base method.

func (*Schema) EXPECT

func (m *Schema) EXPECT() *SchemaMockRecorder

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

func (*Schema) ToMutable

func (m *Schema) ToMutable() schema.MutableSchema

ToMutable mocks base method.

func (*Schema) Type

func (m *Schema) Type() string

Type mocks base method.

func (*Schema) Version

func (m *Schema) Version() int

Version mocks base method.

type SchemaMockRecorder

type SchemaMockRecorder struct {
	// contains filtered or unexported fields
}

SchemaMockRecorder is the mock recorder for Schema.

func (*SchemaMockRecorder) Descriptors

func (mr *SchemaMockRecorder) Descriptors() *gomock.Call

Descriptors indicates an expected call of Descriptors.

func (*SchemaMockRecorder) ToMutable

func (mr *SchemaMockRecorder) ToMutable() *gomock.Call

ToMutable indicates an expected call of ToMutable.

func (*SchemaMockRecorder) Type

func (mr *SchemaMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

func (*SchemaMockRecorder) Version

func (mr *SchemaMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

type StructDescriptor

type StructDescriptor struct {
	// contains filtered or unexported fields
}

StructDescriptor is a mock of StructDescriptor interface.

func NewStructDescriptor

func NewStructDescriptor(ctrl *gomock.Controller) *StructDescriptor

NewStructDescriptor creates a new mock instance.

func (*StructDescriptor) DescriptorType

func (m *StructDescriptor) DescriptorType(arg0 schema.StructDescriptor)

DescriptorType mocks base method.

func (*StructDescriptor) EXPECT

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

func (*StructDescriptor) Fields

func (m *StructDescriptor) Fields() []schema.Field

Fields mocks base method.

func (*StructDescriptor) Name

func (m *StructDescriptor) Name() string

Name mocks base method.

func (*StructDescriptor) Parameters

func (m *StructDescriptor) Parameters() map[string]any

Parameters mocks base method.

type StructDescriptorMockRecorder

type StructDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

StructDescriptorMockRecorder is the mock recorder for StructDescriptor.

func (*StructDescriptorMockRecorder) DescriptorType

func (mr *StructDescriptorMockRecorder) DescriptorType(arg0 any) *gomock.Call

DescriptorType indicates an expected call of DescriptorType.

func (*StructDescriptorMockRecorder) Fields

Fields indicates an expected call of Fields.

func (*StructDescriptorMockRecorder) Name

Name indicates an expected call of Name.

func (*StructDescriptorMockRecorder) Parameters

func (mr *StructDescriptorMockRecorder) Parameters() *gomock.Call

Parameters indicates an expected call of Parameters.

Jump to

Keyboard shortcuts

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