Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type ArrayDescriptor
- type ArrayDescriptorMockRecorder
- type EnumDescriptor
- func (m *EnumDescriptor) DescriptorType(arg0 schema.EnumDescriptor)
- func (m *EnumDescriptor) EXPECT() *EnumDescriptorMockRecorder
- func (m *EnumDescriptor) Name() string
- func (m *EnumDescriptor) Parameters() map[string]interface{}
- func (m *EnumDescriptor) ValueDescriptors() []schema.EnumValueDescriptor
- type EnumDescriptorMockRecorder
- type EnumValueDescriptor
- func (m *EnumValueDescriptor) DescriptorType(arg0 schema.EnumValueDescriptor)
- func (m *EnumValueDescriptor) EXPECT() *EnumValueDescriptorMockRecorder
- func (m *EnumValueDescriptor) Name() string
- func (m *EnumValueDescriptor) Parameters() map[string]interface{}
- func (m *EnumValueDescriptor) Value() string
- type EnumValueDescriptorMockRecorder
- type Field
- type FieldMockRecorder
- type MapDescriptor
- func (m *MapDescriptor) DescriptorType(arg0 schema.MapDescriptor)
- func (m *MapDescriptor) EXPECT() *MapDescriptorMockRecorder
- func (m *MapDescriptor) KeyDescriptor() schema.Descriptor
- func (m *MapDescriptor) Parameters() map[string]interface{}
- func (m *MapDescriptor) ValueDescriptor() schema.Descriptor
- type MapDescriptorMockRecorder
- type MutableArrayDescriptor
- func (m *MutableArrayDescriptor) DescriptorType(arg0 schema.ArrayDescriptor)
- func (m *MutableArrayDescriptor) EXPECT() *MutableArrayDescriptorMockRecorder
- func (m *MutableArrayDescriptor) Parameters() map[string]interface{}
- func (m *MutableArrayDescriptor) SetValueDescriptor(arg0 schema.MutableDescriptor)
- func (m *MutableArrayDescriptor) ValueDescriptor() schema.Descriptor
- type MutableArrayDescriptorMockRecorder
- func (mr *MutableArrayDescriptorMockRecorder) DescriptorType(arg0 interface{}) *gomock.Call
- func (mr *MutableArrayDescriptorMockRecorder) Parameters() *gomock.Call
- func (mr *MutableArrayDescriptorMockRecorder) SetValueDescriptor(arg0 interface{}) *gomock.Call
- func (mr *MutableArrayDescriptorMockRecorder) ValueDescriptor() *gomock.Call
- type MutableEnumDescriptor
- func (m *MutableEnumDescriptor) DescriptorType(arg0 schema.EnumDescriptor)
- func (m *MutableEnumDescriptor) EXPECT() *MutableEnumDescriptorMockRecorder
- func (m *MutableEnumDescriptor) Name() string
- func (m *MutableEnumDescriptor) Parameters() map[string]interface{}
- func (m *MutableEnumDescriptor) SetName(arg0 string)
- func (m *MutableEnumDescriptor) SetValueDescriptors(arg0 []schema.MutableEnumValueDescriptor)
- func (m *MutableEnumDescriptor) ValueDescriptors() []schema.EnumValueDescriptor
- type MutableEnumDescriptorMockRecorder
- func (mr *MutableEnumDescriptorMockRecorder) DescriptorType(arg0 interface{}) *gomock.Call
- func (mr *MutableEnumDescriptorMockRecorder) Name() *gomock.Call
- func (mr *MutableEnumDescriptorMockRecorder) Parameters() *gomock.Call
- func (mr *MutableEnumDescriptorMockRecorder) SetName(arg0 interface{}) *gomock.Call
- func (mr *MutableEnumDescriptorMockRecorder) SetValueDescriptors(arg0 interface{}) *gomock.Call
- func (mr *MutableEnumDescriptorMockRecorder) ValueDescriptors() *gomock.Call
- type MutableEnumValueDescriptor
- func (m *MutableEnumValueDescriptor) DescriptorType(arg0 schema.EnumValueDescriptor)
- func (m *MutableEnumValueDescriptor) EXPECT() *MutableEnumValueDescriptorMockRecorder
- func (m *MutableEnumValueDescriptor) Name() string
- func (m *MutableEnumValueDescriptor) Parameters() map[string]interface{}
- func (m *MutableEnumValueDescriptor) SetName(arg0 string)
- func (m *MutableEnumValueDescriptor) SetValue(arg0 string)
- func (m *MutableEnumValueDescriptor) Value() string
- type MutableEnumValueDescriptorMockRecorder
- func (mr *MutableEnumValueDescriptorMockRecorder) DescriptorType(arg0 interface{}) *gomock.Call
- func (mr *MutableEnumValueDescriptorMockRecorder) Name() *gomock.Call
- func (mr *MutableEnumValueDescriptorMockRecorder) Parameters() *gomock.Call
- func (mr *MutableEnumValueDescriptorMockRecorder) SetName(arg0 interface{}) *gomock.Call
- func (mr *MutableEnumValueDescriptorMockRecorder) SetValue(arg0 interface{}) *gomock.Call
- func (mr *MutableEnumValueDescriptorMockRecorder) Value() *gomock.Call
- type MutableField
- func (m *MutableField) Descriptor() schema.Descriptor
- func (m *MutableField) DescriptorType(arg0 schema.Field)
- func (m *MutableField) EXPECT() *MutableFieldMockRecorder
- func (m *MutableField) Index() int
- func (m *MutableField) Name() string
- func (m *MutableField) SetDescriptor(arg0 schema.MutableDescriptor)
- func (m *MutableField) SetIndex(arg0 int)
- func (m *MutableField) SetName(arg0 string)
- type MutableFieldMockRecorder
- func (mr *MutableFieldMockRecorder) Descriptor() *gomock.Call
- func (mr *MutableFieldMockRecorder) DescriptorType(arg0 interface{}) *gomock.Call
- func (mr *MutableFieldMockRecorder) Index() *gomock.Call
- func (mr *MutableFieldMockRecorder) Name() *gomock.Call
- func (mr *MutableFieldMockRecorder) SetDescriptor(arg0 interface{}) *gomock.Call
- func (mr *MutableFieldMockRecorder) SetIndex(arg0 interface{}) *gomock.Call
- func (mr *MutableFieldMockRecorder) SetName(arg0 interface{}) *gomock.Call
- type MutableMapDescriptor
- func (m *MutableMapDescriptor) DescriptorType(arg0 schema.MapDescriptor)
- func (m *MutableMapDescriptor) EXPECT() *MutableMapDescriptorMockRecorder
- func (m *MutableMapDescriptor) KeyDescriptor() schema.Descriptor
- func (m *MutableMapDescriptor) Parameters() map[string]interface{}
- func (m *MutableMapDescriptor) SetKeyDescriptor(arg0 schema.MutableDescriptor)
- func (m *MutableMapDescriptor) SetValueDescriptor(arg0 schema.MutableDescriptor)
- func (m *MutableMapDescriptor) ValueDescriptor() schema.Descriptor
- type MutableMapDescriptorMockRecorder
- func (mr *MutableMapDescriptorMockRecorder) DescriptorType(arg0 interface{}) *gomock.Call
- func (mr *MutableMapDescriptorMockRecorder) KeyDescriptor() *gomock.Call
- func (mr *MutableMapDescriptorMockRecorder) Parameters() *gomock.Call
- func (mr *MutableMapDescriptorMockRecorder) SetKeyDescriptor(arg0 interface{}) *gomock.Call
- func (mr *MutableMapDescriptorMockRecorder) SetValueDescriptor(arg0 interface{}) *gomock.Call
- func (mr *MutableMapDescriptorMockRecorder) ValueDescriptor() *gomock.Call
- type MutablePrimitiveDescriptor
- func (m *MutablePrimitiveDescriptor) DescriptorType(arg0 schema.PrimitiveDescriptor)
- func (m *MutablePrimitiveDescriptor) EXPECT() *MutablePrimitiveDescriptorMockRecorder
- func (m *MutablePrimitiveDescriptor) Parameters() map[string]interface{}
- func (m *MutablePrimitiveDescriptor) SetType(arg0 schema.PrimitiveDescriptorType)
- func (m *MutablePrimitiveDescriptor) Type() schema.PrimitiveDescriptorType
- type MutablePrimitiveDescriptorMockRecorder
- func (mr *MutablePrimitiveDescriptorMockRecorder) DescriptorType(arg0 interface{}) *gomock.Call
- func (mr *MutablePrimitiveDescriptorMockRecorder) Parameters() *gomock.Call
- func (mr *MutablePrimitiveDescriptorMockRecorder) SetType(arg0 interface{}) *gomock.Call
- func (mr *MutablePrimitiveDescriptorMockRecorder) Type() *gomock.Call
- type MutableSchema
- func (m *MutableSchema) Build() (schema.Schema, error)
- func (m *MutableSchema) Descriptors() []schema.Descriptor
- func (m *MutableSchema) EXPECT() *MutableSchemaMockRecorder
- func (m *MutableSchema) SetDescriptors(arg0 []schema.MutableDescriptor)
- func (m *MutableSchema) SetVersion(arg0 int)
- func (m *MutableSchema) Type() string
- func (m *MutableSchema) Version() int
- type MutableSchemaMockRecorder
- func (mr *MutableSchemaMockRecorder) Build() *gomock.Call
- func (mr *MutableSchemaMockRecorder) Descriptors() *gomock.Call
- func (mr *MutableSchemaMockRecorder) SetDescriptors(arg0 interface{}) *gomock.Call
- func (mr *MutableSchemaMockRecorder) SetVersion(arg0 interface{}) *gomock.Call
- func (mr *MutableSchemaMockRecorder) Type() *gomock.Call
- func (mr *MutableSchemaMockRecorder) Version() *gomock.Call
- type MutableStructDescriptor
- func (m *MutableStructDescriptor) DescriptorType(arg0 schema.StructDescriptor)
- func (m *MutableStructDescriptor) EXPECT() *MutableStructDescriptorMockRecorder
- func (m *MutableStructDescriptor) Fields() []schema.Field
- func (m *MutableStructDescriptor) Name() string
- func (m *MutableStructDescriptor) Parameters() map[string]interface{}
- func (m *MutableStructDescriptor) SetFields(arg0 []schema.MutableField)
- func (m *MutableStructDescriptor) SetName(arg0 string)
- type MutableStructDescriptorMockRecorder
- func (mr *MutableStructDescriptorMockRecorder) DescriptorType(arg0 interface{}) *gomock.Call
- func (mr *MutableStructDescriptorMockRecorder) Fields() *gomock.Call
- func (mr *MutableStructDescriptorMockRecorder) Name() *gomock.Call
- func (mr *MutableStructDescriptorMockRecorder) Parameters() *gomock.Call
- func (mr *MutableStructDescriptorMockRecorder) SetFields(arg0 interface{}) *gomock.Call
- func (mr *MutableStructDescriptorMockRecorder) SetName(arg0 interface{}) *gomock.Call
- type PrimitiveDescriptor
- type PrimitiveDescriptorMockRecorder
- type Schema
- type SchemaMockRecorder
- type StructDescriptor
- type StructDescriptorMockRecorder
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 ¶
func (m *ArrayDescriptor) EXPECT() *ArrayDescriptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*ArrayDescriptor) Parameters ¶
func (m *ArrayDescriptor) Parameters() map[string]interface{}
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 interface{}) *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 ¶
func (m *EnumDescriptor) EXPECT() *EnumDescriptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*EnumDescriptor) Parameters ¶
func (m *EnumDescriptor) Parameters() map[string]interface{}
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 interface{}) *gomock.Call
DescriptorType indicates an expected call of DescriptorType.
func (*EnumDescriptorMockRecorder) Name ¶
func (mr *EnumDescriptorMockRecorder) Name() *gomock.Call
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 ¶
func (m *EnumValueDescriptor) EXPECT() *EnumValueDescriptorMockRecorder
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]interface{}
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 interface{}) *gomock.Call
DescriptorType indicates an expected call of DescriptorType.
func (*EnumValueDescriptorMockRecorder) Name ¶
func (mr *EnumValueDescriptorMockRecorder) Name() *gomock.Call
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 ¶
func (mr *EnumValueDescriptorMockRecorder) Value() *gomock.Call
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 (*Field) Descriptor ¶
func (m *Field) Descriptor() schema.Descriptor
Descriptor mocks base method.
func (*Field) DescriptorType ¶
DescriptorType mocks base method.
func (*Field) EXPECT ¶
func (m *Field) EXPECT() *FieldMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 interface{}) *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 ¶
func (m *MapDescriptor) EXPECT() *MapDescriptorMockRecorder
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]interface{}
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 interface{}) *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 ¶
func (m *MutableArrayDescriptor) EXPECT() *MutableArrayDescriptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MutableArrayDescriptor) Parameters ¶
func (m *MutableArrayDescriptor) Parameters() map[string]interface{}
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 interface{}) *gomock.Call
DescriptorType indicates an expected call of DescriptorType.
func (*MutableArrayDescriptorMockRecorder) Parameters ¶
func (mr *MutableArrayDescriptorMockRecorder) Parameters() *gomock.Call
Parameters indicates an expected call of Parameters.
func (*MutableArrayDescriptorMockRecorder) SetValueDescriptor ¶
func (mr *MutableArrayDescriptorMockRecorder) SetValueDescriptor(arg0 interface{}) *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 ¶
func (m *MutableEnumDescriptor) EXPECT() *MutableEnumDescriptorMockRecorder
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]interface{}
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 interface{}) *gomock.Call
DescriptorType indicates an expected call of DescriptorType.
func (*MutableEnumDescriptorMockRecorder) Name ¶
func (mr *MutableEnumDescriptorMockRecorder) Name() *gomock.Call
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 interface{}) *gomock.Call
SetName indicates an expected call of SetName.
func (*MutableEnumDescriptorMockRecorder) SetValueDescriptors ¶
func (mr *MutableEnumDescriptorMockRecorder) SetValueDescriptors(arg0 interface{}) *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 ¶
func (m *MutableEnumValueDescriptor) EXPECT() *MutableEnumValueDescriptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MutableEnumValueDescriptor) Name ¶
func (m *MutableEnumValueDescriptor) Name() string
Name mocks base method.
func (*MutableEnumValueDescriptor) Parameters ¶
func (m *MutableEnumValueDescriptor) Parameters() map[string]interface{}
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 ¶
func (m *MutableEnumValueDescriptor) Value() string
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 interface{}) *gomock.Call
DescriptorType indicates an expected call of DescriptorType.
func (*MutableEnumValueDescriptorMockRecorder) Name ¶
func (mr *MutableEnumValueDescriptorMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MutableEnumValueDescriptorMockRecorder) Parameters ¶
func (mr *MutableEnumValueDescriptorMockRecorder) Parameters() *gomock.Call
Parameters indicates an expected call of Parameters.
func (*MutableEnumValueDescriptorMockRecorder) SetName ¶
func (mr *MutableEnumValueDescriptorMockRecorder) SetName(arg0 interface{}) *gomock.Call
SetName indicates an expected call of SetName.
func (*MutableEnumValueDescriptorMockRecorder) SetValue ¶
func (mr *MutableEnumValueDescriptorMockRecorder) SetValue(arg0 interface{}) *gomock.Call
SetValue indicates an expected call of SetValue.
func (*MutableEnumValueDescriptorMockRecorder) Value ¶
func (mr *MutableEnumValueDescriptorMockRecorder) Value() *gomock.Call
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 ¶
func (m *MutableField) EXPECT() *MutableFieldMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 interface{}) *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 interface{}) *gomock.Call
SetDescriptor indicates an expected call of SetDescriptor.
func (*MutableFieldMockRecorder) SetIndex ¶
func (mr *MutableFieldMockRecorder) SetIndex(arg0 interface{}) *gomock.Call
SetIndex indicates an expected call of SetIndex.
func (*MutableFieldMockRecorder) SetName ¶
func (mr *MutableFieldMockRecorder) SetName(arg0 interface{}) *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 ¶
func (m *MutableMapDescriptor) EXPECT() *MutableMapDescriptorMockRecorder
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]interface{}
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 interface{}) *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 interface{}) *gomock.Call
SetKeyDescriptor indicates an expected call of SetKeyDescriptor.
func (*MutableMapDescriptorMockRecorder) SetValueDescriptor ¶
func (mr *MutableMapDescriptorMockRecorder) SetValueDescriptor(arg0 interface{}) *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 ¶
func (m *MutablePrimitiveDescriptor) EXPECT() *MutablePrimitiveDescriptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MutablePrimitiveDescriptor) Parameters ¶
func (m *MutablePrimitiveDescriptor) Parameters() map[string]interface{}
Parameters mocks base method.
func (*MutablePrimitiveDescriptor) SetType ¶
func (m *MutablePrimitiveDescriptor) SetType(arg0 schema.PrimitiveDescriptorType)
SetType mocks base method.
func (*MutablePrimitiveDescriptor) Type ¶
func (m *MutablePrimitiveDescriptor) Type() schema.PrimitiveDescriptorType
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 interface{}) *gomock.Call
DescriptorType indicates an expected call of DescriptorType.
func (*MutablePrimitiveDescriptorMockRecorder) Parameters ¶
func (mr *MutablePrimitiveDescriptorMockRecorder) Parameters() *gomock.Call
Parameters indicates an expected call of Parameters.
func (*MutablePrimitiveDescriptorMockRecorder) SetType ¶
func (mr *MutablePrimitiveDescriptorMockRecorder) SetType(arg0 interface{}) *gomock.Call
SetType indicates an expected call of SetType.
func (*MutablePrimitiveDescriptorMockRecorder) Type ¶
func (mr *MutablePrimitiveDescriptorMockRecorder) Type() *gomock.Call
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 ¶
func (m *MutableSchema) EXPECT() *MutableSchemaMockRecorder
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.
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 interface{}) *gomock.Call
SetDescriptors indicates an expected call of SetDescriptors.
func (*MutableSchemaMockRecorder) SetVersion ¶
func (mr *MutableSchemaMockRecorder) SetVersion(arg0 interface{}) *gomock.Call
SetVersion indicates an expected call of SetVersion.
func (*MutableSchemaMockRecorder) Type ¶
func (mr *MutableSchemaMockRecorder) Type() *gomock.Call
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 ¶
func (m *MutableStructDescriptor) EXPECT() *MutableStructDescriptorMockRecorder
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]interface{}
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 interface{}) *gomock.Call
DescriptorType indicates an expected call of DescriptorType.
func (*MutableStructDescriptorMockRecorder) Fields ¶
func (mr *MutableStructDescriptorMockRecorder) Fields() *gomock.Call
Fields indicates an expected call of Fields.
func (*MutableStructDescriptorMockRecorder) Name ¶
func (mr *MutableStructDescriptorMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MutableStructDescriptorMockRecorder) Parameters ¶
func (mr *MutableStructDescriptorMockRecorder) Parameters() *gomock.Call
Parameters indicates an expected call of Parameters.
func (*MutableStructDescriptorMockRecorder) SetFields ¶
func (mr *MutableStructDescriptorMockRecorder) SetFields(arg0 interface{}) *gomock.Call
SetFields indicates an expected call of SetFields.
func (*MutableStructDescriptorMockRecorder) SetName ¶
func (mr *MutableStructDescriptorMockRecorder) SetName(arg0 interface{}) *gomock.Call
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 ¶
func (m *PrimitiveDescriptor) EXPECT() *PrimitiveDescriptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*PrimitiveDescriptor) Parameters ¶
func (m *PrimitiveDescriptor) Parameters() map[string]interface{}
Parameters mocks base method.
func (*PrimitiveDescriptor) Type ¶
func (m *PrimitiveDescriptor) Type() schema.PrimitiveDescriptorType
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 interface{}) *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 ¶
func (mr *PrimitiveDescriptorMockRecorder) Type() *gomock.Call
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.
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 ¶
func (m *StructDescriptor) EXPECT() *StructDescriptorMockRecorder
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) Parameters ¶
func (m *StructDescriptor) Parameters() map[string]interface{}
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 interface{}) *gomock.Call
DescriptorType indicates an expected call of DescriptorType.
func (*StructDescriptorMockRecorder) Fields ¶
func (mr *StructDescriptorMockRecorder) Fields() *gomock.Call
Fields indicates an expected call of Fields.
func (*StructDescriptorMockRecorder) Name ¶
func (mr *StructDescriptorMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*StructDescriptorMockRecorder) Parameters ¶
func (mr *StructDescriptorMockRecorder) Parameters() *gomock.Call
Parameters indicates an expected call of Parameters.