wysteria_grpc

package
v0.0.0-...-301923a Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package wysteria_grpc is a generated protocol buffer package.

It is generated from these files:

wysteria.grpc.proto

It has these top-level messages:

IdAndNum
IdAndDict
Id
Text
Collection
Item
Version
Resource
Link
QueryDesc
QueryDescs
Ids
Collections
Items
Versions
Resources
Links

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWysteriaGrpcServer

func RegisterWysteriaGrpcServer(s *grpc.Server, srv WysteriaGrpcServer)

Types

type Collection

type Collection struct {
	Parent string            `protobuf:"bytes,95,opt,name=Parent" json:"Parent,omitempty"`
	Id     string            `protobuf:"bytes,6,opt,name=Id" json:"Id,omitempty"`
	Uri    string            `protobuf:"bytes,110,opt,name=Uri" json:"Uri,omitempty"`
	Name   string            `protobuf:"bytes,7,opt,name=Name" json:"Name,omitempty"`
	Facets map[string]string `` /* 133-byte string literal not displayed */
	Error  *Text             `protobuf:"bytes,82,opt,name=error" json:"error,omitempty"`
}

func (*Collection) Descriptor

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

func (*Collection) GetError

func (m *Collection) GetError() *Text

func (*Collection) GetFacets

func (m *Collection) GetFacets() map[string]string

func (*Collection) GetId

func (m *Collection) GetId() string

func (*Collection) GetName

func (m *Collection) GetName() string

func (*Collection) GetParent

func (m *Collection) GetParent() string

func (*Collection) GetUri

func (m *Collection) GetUri() string

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) Reset

func (m *Collection) Reset()

func (*Collection) String

func (m *Collection) String() string

type Collections

type Collections struct {
	All   []*Collection `protobuf:"bytes,51,rep,name=all" json:"all,omitempty"`
	Error *Text         `protobuf:"bytes,89,opt,name=error" json:"error,omitempty"`
}

func (*Collections) Descriptor

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

func (*Collections) GetAll

func (m *Collections) GetAll() []*Collection

func (*Collections) GetError

func (m *Collections) GetError() *Text

func (*Collections) ProtoMessage

func (*Collections) ProtoMessage()

func (*Collections) Reset

func (m *Collections) Reset()

func (*Collections) String

func (m *Collections) String() string

type Id

type Id struct {
	Id    string `protobuf:"bytes,1,opt,name=Id" json:"Id,omitempty"`
	Error *Text  `protobuf:"bytes,81,opt,name=error" json:"error,omitempty"`
}

func (*Id) Descriptor

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

func (*Id) GetError

func (m *Id) GetError() *Text

func (*Id) GetId

func (m *Id) GetId() string

func (*Id) ProtoMessage

func (*Id) ProtoMessage()

func (*Id) Reset

func (m *Id) Reset()

func (*Id) String

func (m *Id) String() string

type IdAndDict

type IdAndDict struct {
	Id     string            `protobuf:"bytes,96,opt,name=Id" json:"Id,omitempty"`
	Facets map[string]string `` /* 133-byte string literal not displayed */
}

func (*IdAndDict) Descriptor

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

func (*IdAndDict) GetFacets

func (m *IdAndDict) GetFacets() map[string]string

func (*IdAndDict) GetId

func (m *IdAndDict) GetId() string

func (*IdAndDict) ProtoMessage

func (*IdAndDict) ProtoMessage()

func (*IdAndDict) Reset

func (m *IdAndDict) Reset()

func (*IdAndDict) String

func (m *IdAndDict) String() string

type IdAndNum

type IdAndNum struct {
	Id      string `protobuf:"bytes,96,opt,name=Id" json:"Id,omitempty"`
	Version int32  `protobuf:"varint,100,opt,name=Version" json:"Version,omitempty"`
	Text    string `protobuf:"bytes,101,opt,name=Text" json:"Text,omitempty"`
}

func (*IdAndNum) Descriptor

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

func (*IdAndNum) GetId

func (m *IdAndNum) GetId() string

func (*IdAndNum) GetText

func (m *IdAndNum) GetText() string

func (*IdAndNum) GetVersion

func (m *IdAndNum) GetVersion() int32

func (*IdAndNum) ProtoMessage

func (*IdAndNum) ProtoMessage()

func (*IdAndNum) Reset

func (m *IdAndNum) Reset()

func (*IdAndNum) String

func (m *IdAndNum) String() string

type Ids

type Ids struct {
	All   []*Id `protobuf:"bytes,50,rep,name=all" json:"all,omitempty"`
	Error *Text `protobuf:"bytes,88,opt,name=error" json:"error,omitempty"`
}

func (*Ids) Descriptor

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

func (*Ids) GetAll

func (m *Ids) GetAll() []*Id

func (*Ids) GetError

func (m *Ids) GetError() *Text

func (*Ids) ProtoMessage

func (*Ids) ProtoMessage()

func (*Ids) Reset

func (m *Ids) Reset()

func (*Ids) String

func (m *Ids) String() string

type Item

type Item struct {
	Parent   string            `protobuf:"bytes,12,opt,name=Parent" json:"Parent,omitempty"`
	Id       string            `protobuf:"bytes,13,opt,name=Id" json:"Id,omitempty"`
	Uri      string            `protobuf:"bytes,111,opt,name=Uri" json:"Uri,omitempty"`
	ItemType string            `protobuf:"bytes,14,opt,name=ItemType" json:"ItemType,omitempty"`
	Variant  string            `protobuf:"bytes,15,opt,name=Variant" json:"Variant,omitempty"`
	Facets   map[string]string `` /* 133-byte string literal not displayed */
	Error    *Text             `protobuf:"bytes,83,opt,name=error" json:"error,omitempty"`
}

func (*Item) Descriptor

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

func (*Item) GetError

func (m *Item) GetError() *Text

func (*Item) GetFacets

func (m *Item) GetFacets() map[string]string

func (*Item) GetId

func (m *Item) GetId() string

func (*Item) GetItemType

func (m *Item) GetItemType() string

func (*Item) GetParent

func (m *Item) GetParent() string

func (*Item) GetUri

func (m *Item) GetUri() string

func (*Item) GetVariant

func (m *Item) GetVariant() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) Reset

func (m *Item) Reset()

func (*Item) String

func (m *Item) String() string

type Items

type Items struct {
	All   []*Item `protobuf:"bytes,52,rep,name=all" json:"all,omitempty"`
	Error *Text   `protobuf:"bytes,90,opt,name=error" json:"error,omitempty"`
}

func (*Items) Descriptor

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

func (*Items) GetAll

func (m *Items) GetAll() []*Item

func (*Items) GetError

func (m *Items) GetError() *Text

func (*Items) ProtoMessage

func (*Items) ProtoMessage()

func (*Items) Reset

func (m *Items) Reset()

func (*Items) String

func (m *Items) String() string
type Link struct {
	Name   string            `protobuf:"bytes,43,opt,name=Name" json:"Name,omitempty"`
	Id     string            `protobuf:"bytes,44,opt,name=Id" json:"Id,omitempty"`
	Uri    string            `protobuf:"bytes,114,opt,name=Uri" json:"Uri,omitempty"`
	Src    string            `protobuf:"bytes,45,opt,name=Src" json:"Src,omitempty"`
	Dst    string            `protobuf:"bytes,46,opt,name=Dst" json:"Dst,omitempty"`
	Facets map[string]string `` /* 133-byte string literal not displayed */
	Error  *Text             `protobuf:"bytes,85,opt,name=error" json:"error,omitempty"`
}

func (*Link) Descriptor

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

func (*Link) GetDst

func (m *Link) GetDst() string

func (*Link) GetError

func (m *Link) GetError() *Text

func (*Link) GetFacets

func (m *Link) GetFacets() map[string]string

func (*Link) GetId

func (m *Link) GetId() string

func (*Link) GetName

func (m *Link) GetName() string

func (*Link) GetSrc

func (m *Link) GetSrc() string

func (*Link) GetUri

func (m *Link) GetUri() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) Reset

func (m *Link) Reset()

func (*Link) String

func (m *Link) String() string
type Links struct {
	All   []*Link `protobuf:"bytes,55,rep,name=all" json:"all,omitempty"`
	Error *Text   `protobuf:"bytes,93,opt,name=error" json:"error,omitempty"`
}

func (*Links) Descriptor

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

func (*Links) GetAll

func (m *Links) GetAll() []*Link

func (*Links) GetError

func (m *Links) GetError() *Text

func (*Links) ProtoMessage

func (*Links) ProtoMessage()

func (*Links) Reset

func (m *Links) Reset()

func (*Links) String

func (m *Links) String() string

type QueryDesc

type QueryDesc struct {
	Parent        string            `protobuf:"bytes,60,opt,name=Parent" json:"Parent,omitempty"`
	Id            string            `protobuf:"bytes,61,opt,name=Id" json:"Id,omitempty"`
	Uri           string            `protobuf:"bytes,115,opt,name=Uri" json:"Uri,omitempty"`
	VersionNumber int32             `protobuf:"varint,62,opt,name=VersionNumber" json:"VersionNumber,omitempty"`
	ItemType      string            `protobuf:"bytes,63,opt,name=ItemType" json:"ItemType,omitempty"`
	Variant       string            `protobuf:"bytes,64,opt,name=Variant" json:"Variant,omitempty"`
	Facets        map[string]string `` /* 133-byte string literal not displayed */
	Name          string            `protobuf:"bytes,66,opt,name=Name" json:"Name,omitempty"`
	ResourceType  string            `protobuf:"bytes,67,opt,name=ResourceType" json:"ResourceType,omitempty"`
	Location      string            `protobuf:"bytes,68,opt,name=Location" json:"Location,omitempty"`
	LinkSrc       string            `protobuf:"bytes,69,opt,name=LinkSrc" json:"LinkSrc,omitempty"`
	LinkDst       string            `protobuf:"bytes,70,opt,name=LinkDst" json:"LinkDst,omitempty"`
}

func (*QueryDesc) Descriptor

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

func (*QueryDesc) GetFacets

func (m *QueryDesc) GetFacets() map[string]string

func (*QueryDesc) GetId

func (m *QueryDesc) GetId() string

func (*QueryDesc) GetItemType

func (m *QueryDesc) GetItemType() string

func (*QueryDesc) GetLinkDst

func (m *QueryDesc) GetLinkDst() string

func (*QueryDesc) GetLinkSrc

func (m *QueryDesc) GetLinkSrc() string

func (*QueryDesc) GetLocation

func (m *QueryDesc) GetLocation() string

func (*QueryDesc) GetName

func (m *QueryDesc) GetName() string

func (*QueryDesc) GetParent

func (m *QueryDesc) GetParent() string

func (*QueryDesc) GetResourceType

func (m *QueryDesc) GetResourceType() string

func (*QueryDesc) GetUri

func (m *QueryDesc) GetUri() string

func (*QueryDesc) GetVariant

func (m *QueryDesc) GetVariant() string

func (*QueryDesc) GetVersionNumber

func (m *QueryDesc) GetVersionNumber() int32

func (*QueryDesc) ProtoMessage

func (*QueryDesc) ProtoMessage()

func (*QueryDesc) Reset

func (m *QueryDesc) Reset()

func (*QueryDesc) String

func (m *QueryDesc) String() string

type QueryDescs

type QueryDescs struct {
	Limit  int32        `protobuf:"varint,105,opt,name=Limit" json:"Limit,omitempty"`
	Offset int32        `protobuf:"varint,106,opt,name=Offset" json:"Offset,omitempty"`
	All    []*QueryDesc `protobuf:"bytes,75,rep,name=all" json:"all,omitempty"`
}

func (*QueryDescs) Descriptor

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

func (*QueryDescs) GetAll

func (m *QueryDescs) GetAll() []*QueryDesc

func (*QueryDescs) GetLimit

func (m *QueryDescs) GetLimit() int32

func (*QueryDescs) GetOffset

func (m *QueryDescs) GetOffset() int32

func (*QueryDescs) ProtoMessage

func (*QueryDescs) ProtoMessage()

func (*QueryDescs) Reset

func (m *QueryDescs) Reset()

func (*QueryDescs) String

func (m *QueryDescs) String() string

type Resource

type Resource struct {
	Parent       string            `protobuf:"bytes,36,opt,name=Parent" json:"Parent,omitempty"`
	Name         string            `protobuf:"bytes,37,opt,name=Name" json:"Name,omitempty"`
	ResourceType string            `protobuf:"bytes,38,opt,name=ResourceType" json:"ResourceType,omitempty"`
	Id           string            `protobuf:"bytes,39,opt,name=Id" json:"Id,omitempty"`
	Uri          string            `protobuf:"bytes,113,opt,name=Uri" json:"Uri,omitempty"`
	Location     string            `protobuf:"bytes,40,opt,name=Location" json:"Location,omitempty"`
	Facets       map[string]string `` /* 134-byte string literal not displayed */
	Error        *Text             `protobuf:"bytes,85,opt,name=error" json:"error,omitempty"`
}

func (*Resource) Descriptor

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

func (*Resource) GetError

func (m *Resource) GetError() *Text

func (*Resource) GetFacets

func (m *Resource) GetFacets() map[string]string

func (*Resource) GetId

func (m *Resource) GetId() string

func (*Resource) GetLocation

func (m *Resource) GetLocation() string

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) GetParent

func (m *Resource) GetParent() string

func (*Resource) GetResourceType

func (m *Resource) GetResourceType() string

func (*Resource) GetUri

func (m *Resource) GetUri() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

type Resources

type Resources struct {
	All   []*Resource `protobuf:"bytes,54,rep,name=all" json:"all,omitempty"`
	Error *Text       `protobuf:"bytes,92,opt,name=error" json:"error,omitempty"`
}

func (*Resources) Descriptor

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

func (*Resources) GetAll

func (m *Resources) GetAll() []*Resource

func (*Resources) GetError

func (m *Resources) GetError() *Text

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) Reset

func (m *Resources) Reset()

func (*Resources) String

func (m *Resources) String() string

type Text

type Text struct {
	Text string `protobuf:"bytes,80,opt,name=Text" json:"Text,omitempty"`
}

func (*Text) Descriptor

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

func (*Text) GetText

func (m *Text) GetText() string

func (*Text) ProtoMessage

func (*Text) ProtoMessage()

func (*Text) Reset

func (m *Text) Reset()

func (*Text) String

func (m *Text) String() string

type Version

type Version struct {
	Parent string            `protobuf:"bytes,25,opt,name=Parent" json:"Parent,omitempty"`
	Id     string            `protobuf:"bytes,26,opt,name=Id" json:"Id,omitempty"`
	Uri    string            `protobuf:"bytes,112,opt,name=Uri" json:"Uri,omitempty"`
	Number int32             `protobuf:"varint,27,opt,name=Number" json:"Number,omitempty"`
	Facets map[string]string `` /* 133-byte string literal not displayed */
	Error  *Text             `protobuf:"bytes,84,opt,name=error" json:"error,omitempty"`
}

func (*Version) Descriptor

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

func (*Version) GetError

func (m *Version) GetError() *Text

func (*Version) GetFacets

func (m *Version) GetFacets() map[string]string

func (*Version) GetId

func (m *Version) GetId() string

func (*Version) GetNumber

func (m *Version) GetNumber() int32

func (*Version) GetParent

func (m *Version) GetParent() string

func (*Version) GetUri

func (m *Version) GetUri() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) Reset

func (m *Version) Reset()

func (*Version) String

func (m *Version) String() string

type Versions

type Versions struct {
	All   []*Version `protobuf:"bytes,53,rep,name=all" json:"all,omitempty"`
	Error *Text      `protobuf:"bytes,91,opt,name=error" json:"error,omitempty"`
}

func (*Versions) Descriptor

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

func (*Versions) GetAll

func (m *Versions) GetAll() []*Version

func (*Versions) GetError

func (m *Versions) GetError() *Text

func (*Versions) ProtoMessage

func (*Versions) ProtoMessage()

func (*Versions) Reset

func (m *Versions) Reset()

func (*Versions) String

func (m *Versions) String() string

type WysteriaGrpcClient

type WysteriaGrpcClient interface {
	CreateCollection(ctx context.Context, in *Collection, opts ...grpc.CallOption) (*Id, error)
	CreateItem(ctx context.Context, in *Item, opts ...grpc.CallOption) (*Id, error)
	CreateVersion(ctx context.Context, in *Version, opts ...grpc.CallOption) (*IdAndNum, error)
	CreateResource(ctx context.Context, in *Resource, opts ...grpc.CallOption) (*Id, error)
	CreateLink(ctx context.Context, in *Link, opts ...grpc.CallOption) (*Id, error)
	DeleteCollection(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Text, error)
	DeleteItem(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Text, error)
	DeleteVersion(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Text, error)
	DeleteResource(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Text, error)
	FindCollections(ctx context.Context, in *QueryDescs, opts ...grpc.CallOption) (*Collections, error)
	FindItems(ctx context.Context, in *QueryDescs, opts ...grpc.CallOption) (*Items, error)
	FindVersions(ctx context.Context, in *QueryDescs, opts ...grpc.CallOption) (*Versions, error)
	FindResources(ctx context.Context, in *QueryDescs, opts ...grpc.CallOption) (*Resources, error)
	FindLinks(ctx context.Context, in *QueryDescs, opts ...grpc.CallOption) (*Links, error)
	PublishedVersion(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Version, error)
	SetPublishedVersion(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Text, error)
	UpdateVersionFacets(ctx context.Context, in *IdAndDict, opts ...grpc.CallOption) (*Text, error)
	UpdateItemFacets(ctx context.Context, in *IdAndDict, opts ...grpc.CallOption) (*Text, error)
	UpdateCollectionFacets(ctx context.Context, in *IdAndDict, opts ...grpc.CallOption) (*Text, error)
	UpdateResourceFacets(ctx context.Context, in *IdAndDict, opts ...grpc.CallOption) (*Text, error)
	UpdateLinkFacets(ctx context.Context, in *IdAndDict, opts ...grpc.CallOption) (*Text, error)
}

func NewWysteriaGrpcClient

func NewWysteriaGrpcClient(cc *grpc.ClientConn) WysteriaGrpcClient

type WysteriaGrpcServer

type WysteriaGrpcServer interface {
	CreateCollection(context.Context, *Collection) (*Id, error)
	CreateItem(context.Context, *Item) (*Id, error)
	CreateVersion(context.Context, *Version) (*IdAndNum, error)
	CreateResource(context.Context, *Resource) (*Id, error)
	CreateLink(context.Context, *Link) (*Id, error)
	DeleteCollection(context.Context, *Id) (*Text, error)
	DeleteItem(context.Context, *Id) (*Text, error)
	DeleteVersion(context.Context, *Id) (*Text, error)
	DeleteResource(context.Context, *Id) (*Text, error)
	FindCollections(context.Context, *QueryDescs) (*Collections, error)
	FindItems(context.Context, *QueryDescs) (*Items, error)
	FindVersions(context.Context, *QueryDescs) (*Versions, error)
	FindResources(context.Context, *QueryDescs) (*Resources, error)
	FindLinks(context.Context, *QueryDescs) (*Links, error)
	PublishedVersion(context.Context, *Id) (*Version, error)
	SetPublishedVersion(context.Context, *Id) (*Text, error)
	UpdateVersionFacets(context.Context, *IdAndDict) (*Text, error)
	UpdateItemFacets(context.Context, *IdAndDict) (*Text, error)
	UpdateCollectionFacets(context.Context, *IdAndDict) (*Text, error)
	UpdateResourceFacets(context.Context, *IdAndDict) (*Text, error)
	UpdateLinkFacets(context.Context, *IdAndDict) (*Text, error)
}

Jump to

Keyboard shortcuts

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