schema

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_schema_keyref_proto protoreflect.FileDescriptor
View Source
var File_schema_list_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KeyRef added in v0.4.3

type KeyRef struct {

	// entity type
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// idx name from entity type
	Idx string `protobuf:"bytes,2,opt,name=idx,proto3" json:"idx,omitempty"`
	// referred key
	RefKey []string `protobuf:"bytes,3,rep,name=ref_key,json=refKey,proto3" json:"ref_key,omitempty"`
	// primary key instance linked to
	PKey []string `protobuf:"bytes,4,rep,name=p_key,json=pKey,proto3" json:"p_key,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyRef) Descriptor deprecated added in v0.4.3

func (*KeyRef) Descriptor() ([]byte, []int)

Deprecated: Use KeyRef.ProtoReflect.Descriptor instead.

func (*KeyRef) GetIdx added in v0.4.3

func (x *KeyRef) GetIdx() string

func (*KeyRef) GetPKey added in v0.4.3

func (x *KeyRef) GetPKey() []string

func (*KeyRef) GetRefKey added in v0.4.3

func (x *KeyRef) GetRefKey() []string

func (*KeyRef) GetSchema added in v0.4.3

func (x *KeyRef) GetSchema() string

func (*KeyRef) ProtoMessage added in v0.4.3

func (*KeyRef) ProtoMessage()

func (*KeyRef) ProtoReflect added in v0.7.0

func (x *KeyRef) ProtoReflect() protoreflect.Message

func (*KeyRef) Reset added in v0.4.3

func (x *KeyRef) Reset()

func (*KeyRef) String added in v0.4.3

func (x *KeyRef) String() string

func (*KeyRef) Validate added in v0.7.0

func (this *KeyRef) Validate() error

type KeyRefId added in v0.4.3

type KeyRefId struct {

	// entity type
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// idx name from entity type
	Idx string `protobuf:"bytes,2,opt,name=idx,proto3" json:"idx,omitempty"`
	// referred key
	RefKey []string `protobuf:"bytes,3,rep,name=ref_key,json=refKey,proto3" json:"ref_key,omitempty"`
	// contains filtered or unexported fields
}

KeyRefId id part of key reference

func (*KeyRefId) Descriptor deprecated added in v0.4.3

func (*KeyRefId) Descriptor() ([]byte, []int)

Deprecated: Use KeyRefId.ProtoReflect.Descriptor instead.

func (*KeyRefId) GetIdx added in v0.4.3

func (x *KeyRefId) GetIdx() string

func (*KeyRefId) GetRefKey added in v0.4.3

func (x *KeyRefId) GetRefKey() []string

func (*KeyRefId) GetSchema added in v0.4.3

func (x *KeyRefId) GetSchema() string

func (*KeyRefId) ProtoMessage added in v0.4.3

func (*KeyRefId) ProtoMessage()

func (*KeyRefId) ProtoReflect added in v0.7.0

func (x *KeyRefId) ProtoReflect() protoreflect.Message

func (*KeyRefId) Reset added in v0.4.3

func (x *KeyRefId) Reset()

func (*KeyRefId) String added in v0.4.3

func (x *KeyRefId) String() string

func (*KeyRefId) Validate added in v0.7.0

func (this *KeyRefId) Validate() error

type List

type List struct {
	Items []*any.Any `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*List) Descriptor deprecated

func (*List) Descriptor() ([]byte, []int)

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetItems

func (x *List) GetItems() []*any.Any

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect added in v0.7.0

func (x *List) ProtoReflect() protoreflect.Message

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

func (*List) Validate added in v0.7.0

func (this *List) Validate() error

Jump to

Keyboard shortcuts

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