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 ¶
- func RegisterWysteriaGrpcServer(s *grpc.Server, srv WysteriaGrpcServer)
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)
- func (m *Collection) GetError() *Text
- func (m *Collection) GetFacets() map[string]string
- func (m *Collection) GetId() string
- func (m *Collection) GetName() string
- func (m *Collection) GetParent() string
- func (m *Collection) GetUri() string
- func (*Collection) ProtoMessage()
- func (m *Collection) Reset()
- func (m *Collection) String() string
- type Collections
- type Id
- type IdAndDict
- type IdAndNum
- type Ids
- type Item
- func (*Item) Descriptor() ([]byte, []int)
- func (m *Item) GetError() *Text
- func (m *Item) GetFacets() map[string]string
- func (m *Item) GetId() string
- func (m *Item) GetItemType() string
- func (m *Item) GetParent() string
- func (m *Item) GetUri() string
- func (m *Item) GetVariant() string
- func (*Item) ProtoMessage()
- func (m *Item) Reset()
- func (m *Item) String() string
- type Items
- type Link
- func (*Link) Descriptor() ([]byte, []int)
- func (m *Link) GetDst() string
- func (m *Link) GetError() *Text
- func (m *Link) GetFacets() map[string]string
- func (m *Link) GetId() string
- func (m *Link) GetName() string
- func (m *Link) GetSrc() string
- func (m *Link) GetUri() string
- func (*Link) ProtoMessage()
- func (m *Link) Reset()
- func (m *Link) String() string
- type Links
- type QueryDesc
- func (*QueryDesc) Descriptor() ([]byte, []int)
- func (m *QueryDesc) GetFacets() map[string]string
- func (m *QueryDesc) GetId() string
- func (m *QueryDesc) GetItemType() string
- func (m *QueryDesc) GetLinkDst() string
- func (m *QueryDesc) GetLinkSrc() string
- func (m *QueryDesc) GetLocation() string
- func (m *QueryDesc) GetName() string
- func (m *QueryDesc) GetParent() string
- func (m *QueryDesc) GetResourceType() string
- func (m *QueryDesc) GetUri() string
- func (m *QueryDesc) GetVariant() string
- func (m *QueryDesc) GetVersionNumber() int32
- func (*QueryDesc) ProtoMessage()
- func (m *QueryDesc) Reset()
- func (m *QueryDesc) String() string
- type QueryDescs
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) GetError() *Text
- func (m *Resource) GetFacets() map[string]string
- func (m *Resource) GetId() string
- func (m *Resource) GetLocation() string
- func (m *Resource) GetName() string
- func (m *Resource) GetParent() string
- func (m *Resource) GetResourceType() string
- func (m *Resource) GetUri() string
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) String() string
- type Resources
- type Text
- type Version
- func (*Version) Descriptor() ([]byte, []int)
- func (m *Version) GetError() *Text
- func (m *Version) GetFacets() map[string]string
- func (m *Version) GetId() string
- func (m *Version) GetNumber() int32
- func (m *Version) GetParent() string
- func (m *Version) GetUri() string
- func (*Version) ProtoMessage()
- func (m *Version) Reset()
- func (m *Version) String() string
- type Versions
- type WysteriaGrpcClient
- type WysteriaGrpcServer
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) ProtoMessage ¶
func (*Id) ProtoMessage()
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) ProtoMessage ¶
func (*IdAndDict) ProtoMessage()
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) GetVersion ¶
func (*IdAndNum) ProtoMessage ¶
func (*IdAndNum) ProtoMessage()
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) ProtoMessage ¶
func (*Ids) ProtoMessage()
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) GetItemType ¶
func (*Item) GetVariant ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
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) ProtoMessage ¶
func (*Items) ProtoMessage()
type Link ¶
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) ProtoMessage ¶
func (*Link) ProtoMessage()
type Links ¶
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) ProtoMessage ¶
func (*Links) ProtoMessage()
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) GetItemType ¶
func (*QueryDesc) GetLinkDst ¶
func (*QueryDesc) GetLinkSrc ¶
func (*QueryDesc) GetLocation ¶
func (*QueryDesc) GetResourceType ¶
func (*QueryDesc) GetVariant ¶
func (*QueryDesc) GetVersionNumber ¶
func (*QueryDesc) ProtoMessage ¶
func (*QueryDesc) ProtoMessage()
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) GetLocation ¶
func (*Resource) GetResourceType ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
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) ProtoMessage ¶
func (*Resources) ProtoMessage()
type Text ¶
type Text struct {
Text string `protobuf:"bytes,80,opt,name=Text" json:"Text,omitempty"`
}
func (*Text) Descriptor ¶
func (*Text) ProtoMessage ¶
func (*Text) ProtoMessage()
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) ProtoMessage ¶
func (*Version) ProtoMessage()
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) ProtoMessage ¶
func (*Versions) ProtoMessage()
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) }
Click to show internal directories.
Click to hide internal directories.