Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterLibrarianPorterServiceServer(s grpc.ServiceRegistrar, srv LibrarianPorterServiceServer)
- type AccountAppRelationType
- func (AccountAppRelationType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountAppRelationType) Enum() *AccountAppRelationType
- func (AccountAppRelationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountAppRelationType) Number() protoreflect.EnumNumber
- func (x AccountAppRelationType) String() string
- func (AccountAppRelationType) Type() protoreflect.EnumType
- type DBSource
- type DataSource
- type FeatureFlag
- func (FeatureFlag) Descriptor() protoreflect.EnumDescriptor
- func (x FeatureFlag) Enum() *FeatureFlag
- func (FeatureFlag) EnumDescriptor() ([]byte, []int)deprecated
- func (x FeatureFlag) Number() protoreflect.EnumNumber
- func (x FeatureFlag) String() string
- func (FeatureFlag) Type() protoreflect.EnumType
- type FeedDestination
- func (FeedDestination) Descriptor() protoreflect.EnumDescriptor
- func (x FeedDestination) Enum() *FeedDestination
- func (FeedDestination) EnumDescriptor() ([]byte, []int)deprecated
- func (x FeedDestination) Number() protoreflect.EnumNumber
- func (x FeedDestination) String() string
- func (FeedDestination) Type() protoreflect.EnumType
- type FeedSource
- type LibrarianPorterServiceClient
- type LibrarianPorterServiceServer
- type LibrarianPorterService_PullDataClient
- type LibrarianPorterService_PullDataServer
- type LibrarianPorterService_PushDataClient
- type LibrarianPorterService_PushDataServer
- type PresignedPullDataRequest
- func (*PresignedPullDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PresignedPullDataRequest) GetContentId() string
- func (x *PresignedPullDataRequest) GetExpireTime() *durationpb.Duration
- func (x *PresignedPullDataRequest) GetSource() DataSource
- func (*PresignedPullDataRequest) ProtoMessage()
- func (x *PresignedPullDataRequest) ProtoReflect() protoreflect.Message
- func (x *PresignedPullDataRequest) Reset()
- func (x *PresignedPullDataRequest) String() string
- type PresignedPullDataResponse
- func (*PresignedPullDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PresignedPullDataResponse) GetPullUrl() string
- func (*PresignedPullDataResponse) ProtoMessage()
- func (x *PresignedPullDataResponse) ProtoReflect() protoreflect.Message
- func (x *PresignedPullDataResponse) Reset()
- func (x *PresignedPullDataResponse) String() string
- type PresignedPushDataRequest
- func (*PresignedPushDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PresignedPushDataRequest) GetContentId() string
- func (x *PresignedPushDataRequest) GetExpireTime() *durationpb.Duration
- func (x *PresignedPushDataRequest) GetSource() DataSource
- func (*PresignedPushDataRequest) ProtoMessage()
- func (x *PresignedPushDataRequest) ProtoReflect() protoreflect.Message
- func (x *PresignedPushDataRequest) Reset()
- func (x *PresignedPushDataRequest) String() string
- type PresignedPushDataResponse
- func (*PresignedPushDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PresignedPushDataResponse) GetPushUrl() string
- func (*PresignedPushDataResponse) ProtoMessage()
- func (x *PresignedPushDataResponse) ProtoReflect() protoreflect.Message
- func (x *PresignedPushDataResponse) Reset()
- func (x *PresignedPushDataResponse) String() string
- type PullAccountAppRelationRequest
- func (*PullAccountAppRelationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountAppRelationRequest) GetAccountId() *v1.AccountID
- func (x *PullAccountAppRelationRequest) GetRelationType() AccountAppRelationType
- func (*PullAccountAppRelationRequest) ProtoMessage()
- func (x *PullAccountAppRelationRequest) ProtoReflect() protoreflect.Message
- func (x *PullAccountAppRelationRequest) Reset()
- func (x *PullAccountAppRelationRequest) String() string
- type PullAccountAppRelationResponse
- func (*PullAccountAppRelationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountAppRelationResponse) GetAppList() []*v1.App
- func (*PullAccountAppRelationResponse) ProtoMessage()
- func (x *PullAccountAppRelationResponse) ProtoReflect() protoreflect.Message
- func (x *PullAccountAppRelationResponse) Reset()
- func (x *PullAccountAppRelationResponse) String() string
- type PullAccountRequest
- func (*PullAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountRequest) GetAccountId() *v1.AccountID
- func (*PullAccountRequest) ProtoMessage()
- func (x *PullAccountRequest) ProtoReflect() protoreflect.Message
- func (x *PullAccountRequest) Reset()
- func (x *PullAccountRequest) String() string
- type PullAccountResponse
- func (*PullAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountResponse) GetAccount() *v1.Account
- func (*PullAccountResponse) ProtoMessage()
- func (x *PullAccountResponse) ProtoReflect() protoreflect.Message
- func (x *PullAccountResponse) Reset()
- func (x *PullAccountResponse) String() string
- type PullAppRequest
- type PullAppResponse
- type PullDBRequest
- func (*PullDBRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullDBRequest) GetContentId() string
- func (x *PullDBRequest) GetSource() DBSource
- func (*PullDBRequest) ProtoMessage()
- func (x *PullDBRequest) ProtoReflect() protoreflect.Message
- func (x *PullDBRequest) Reset()
- func (x *PullDBRequest) String() string
- type PullDBResponse
- type PullDataRequest
- func (*PullDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullDataRequest) GetContentId() string
- func (x *PullDataRequest) GetSource() DataSource
- func (*PullDataRequest) ProtoMessage()
- func (x *PullDataRequest) ProtoReflect() protoreflect.Message
- func (x *PullDataRequest) Reset()
- func (x *PullDataRequest) String() string
- type PullDataResponse
- type PullFeedRequest
- func (*PullFeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullFeedRequest) GetChannelId() string
- func (x *PullFeedRequest) GetSource() FeedSource
- func (*PullFeedRequest) ProtoMessage()
- func (x *PullFeedRequest) ProtoReflect() protoreflect.Message
- func (x *PullFeedRequest) Reset()
- func (x *PullFeedRequest) String() string
- type PullFeedResponse
- type PullWikiRequest
- func (*PullWikiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullWikiRequest) GetContentId() string
- func (x *PullWikiRequest) GetSource() WikiSource
- func (*PullWikiRequest) ProtoMessage()
- func (x *PullWikiRequest) ProtoReflect() protoreflect.Message
- func (x *PullWikiRequest) Reset()
- func (x *PullWikiRequest) String() string
- type PullWikiResponse
- type PushDataRequest
- func (*PushDataRequest) Descriptor() ([]byte, []int)deprecated
- func (m *PushDataRequest) GetContent() isPushDataRequest_Content
- func (x *PushDataRequest) GetData() []byte
- func (x *PushDataRequest) GetMetadata() *PushDataRequest_DataMeta
- func (*PushDataRequest) ProtoMessage()
- func (x *PushDataRequest) ProtoReflect() protoreflect.Message
- func (x *PushDataRequest) Reset()
- func (x *PushDataRequest) String() string
- type PushDataRequest_Data
- type PushDataRequest_DataMeta
- func (*PushDataRequest_DataMeta) Descriptor() ([]byte, []int)deprecated
- func (x *PushDataRequest_DataMeta) GetContentId() string
- func (x *PushDataRequest_DataMeta) GetSource() DataSource
- func (*PushDataRequest_DataMeta) ProtoMessage()
- func (x *PushDataRequest_DataMeta) ProtoReflect() protoreflect.Message
- func (x *PushDataRequest_DataMeta) Reset()
- func (x *PushDataRequest_DataMeta) String() string
- type PushDataRequest_Metadata
- type PushDataResponse
- type PushFeedItemsRequest
- func (*PushFeedItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushFeedItemsRequest) GetChannelId() string
- func (x *PushFeedItemsRequest) GetDestination() FeedDestination
- func (x *PushFeedItemsRequest) GetItems() []*v1.FeedItem
- func (x *PushFeedItemsRequest) GetToken() string
- func (*PushFeedItemsRequest) ProtoMessage()
- func (x *PushFeedItemsRequest) ProtoReflect() protoreflect.Message
- func (x *PushFeedItemsRequest) Reset()
- func (x *PushFeedItemsRequest) String() string
- type PushFeedItemsResponse
- type UnimplementedLibrarianPorterServiceServer
- func (UnimplementedLibrarianPorterServiceServer) PresignedPullData(context.Context, *PresignedPullDataRequest) (*PresignedPullDataResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PresignedPushData(context.Context, *PresignedPushDataRequest) (*PresignedPushDataResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullAccountAppRelation(context.Context, *PullAccountAppRelationRequest) (*PullAccountAppRelationResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullApp(context.Context, *PullAppRequest) (*PullAppResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullDB(context.Context, *PullDBRequest) (*PullDBResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullData(*PullDataRequest, LibrarianPorterService_PullDataServer) error
- func (UnimplementedLibrarianPorterServiceServer) PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PullWiki(context.Context, *PullWikiRequest) (*PullWikiResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PushData(LibrarianPorterService_PushDataServer) error
- func (UnimplementedLibrarianPorterServiceServer) PushFeedItems(context.Context, *PushFeedItemsRequest) (*PushFeedItemsResponse, error)
- type UnsafeLibrarianPorterServiceServer
- type WikiSource
Constants ¶
const ( LibrarianPorterService_PullFeed_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullFeed" LibrarianPorterService_PushFeedItems_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PushFeedItems" LibrarianPorterService_PullDB_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullDB" LibrarianPorterService_PullAccount_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullAccount" LibrarianPorterService_PullApp_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullApp" LibrarianPorterService_PullAccountAppRelation_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullAccountAppRelation" LibrarianPorterService_PullWiki_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullWiki" LibrarianPorterService_PullData_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullData" LibrarianPorterService_PushData_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PushData" LibrarianPorterService_PresignedPullData_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PresignedPullData" LibrarianPorterService_PresignedPushData_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PresignedPushData" )
Variables ¶
var ( FeatureFlag_name = map[int32]string{ 0: "FEATURE_FLAG_UNSPECIFIED", 1: "FEATURE_FLAG_SOURCE_STEAM", 2: "FEATURE_FLAG_SOURCE_TELEGRAM", 3: "FEATURE_FLAG_DEFAULT_DATA_STORAGE", } FeatureFlag_value = map[string]int32{ "FEATURE_FLAG_UNSPECIFIED": 0, "FEATURE_FLAG_SOURCE_STEAM": 1, "FEATURE_FLAG_SOURCE_TELEGRAM": 2, "FEATURE_FLAG_DEFAULT_DATA_STORAGE": 3, } )
Enum value maps for FeatureFlag.
var ( AccountAppRelationType_name = map[int32]string{ 0: "ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED", 1: "ACCOUNT_APP_RELATION_TYPE_OWN", } AccountAppRelationType_value = map[string]int32{ "ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED": 0, "ACCOUNT_APP_RELATION_TYPE_OWN": 1, } )
Enum value maps for AccountAppRelationType.
var ( FeedSource_name = map[int32]string{ 0: "FEED_SOURCE_UNSPECIFIED", 1: "FEED_SOURCE_COMMON", } FeedSource_value = map[string]int32{ "FEED_SOURCE_UNSPECIFIED": 0, "FEED_SOURCE_COMMON": 1, } )
Enum value maps for FeedSource.
var ( FeedDestination_name = map[int32]string{ 0: "FEED_DESTINATION_UNSPECIFIED", 1: "FEED_DESTINATION_TELEGRAM", } FeedDestination_value = map[string]int32{ "FEED_DESTINATION_UNSPECIFIED": 0, "FEED_DESTINATION_TELEGRAM": 1, } )
Enum value maps for FeedDestination.
var ( DBSource_name = map[int32]string{ 0: "DB_SOURCE_UNSPECIFIED", } DBSource_value = map[string]int32{ "DB_SOURCE_UNSPECIFIED": 0, } )
Enum value maps for DBSource.
var ( WikiSource_name = map[int32]string{ 0: "WIKI_SOURCE_UNSPECIFIED", } WikiSource_value = map[string]int32{ "WIKI_SOURCE_UNSPECIFIED": 0, } )
Enum value maps for WikiSource.
var ( DataSource_name = map[int32]string{ 0: "DATA_SOURCE_UNSPECIFIED", 1: "DATA_SOURCE_INTERNAL_DEFAULT", } DataSource_value = map[string]int32{ "DATA_SOURCE_UNSPECIFIED": 0, "DATA_SOURCE_INTERNAL_DEFAULT": 1, } )
Enum value maps for DataSource.
var File_librarian_porter_v1_porter_proto protoreflect.FileDescriptor
var LibrarianPorterService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "librarian.porter.v1.LibrarianPorterService", HandlerType: (*LibrarianPorterServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PullFeed", Handler: _LibrarianPorterService_PullFeed_Handler, }, { MethodName: "PushFeedItems", Handler: _LibrarianPorterService_PushFeedItems_Handler, }, { MethodName: "PullDB", Handler: _LibrarianPorterService_PullDB_Handler, }, { MethodName: "PullAccount", Handler: _LibrarianPorterService_PullAccount_Handler, }, { MethodName: "PullApp", Handler: _LibrarianPorterService_PullApp_Handler, }, { MethodName: "PullAccountAppRelation", Handler: _LibrarianPorterService_PullAccountAppRelation_Handler, }, { MethodName: "PullWiki", Handler: _LibrarianPorterService_PullWiki_Handler, }, { MethodName: "PresignedPullData", Handler: _LibrarianPorterService_PresignedPullData_Handler, }, { MethodName: "PresignedPushData", Handler: _LibrarianPorterService_PresignedPushData_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PullData", Handler: _LibrarianPorterService_PullData_Handler, ServerStreams: true, }, { StreamName: "PushData", Handler: _LibrarianPorterService_PushData_Handler, ClientStreams: true, }, }, Metadata: "librarian/porter/v1/porter.proto", }
LibrarianPorterService_ServiceDesc is the grpc.ServiceDesc for LibrarianPorterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLibrarianPorterServiceServer ¶
func RegisterLibrarianPorterServiceServer(s grpc.ServiceRegistrar, srv LibrarianPorterServiceServer)
Types ¶
type AccountAppRelationType ¶
type AccountAppRelationType int32
const ( AccountAppRelationType_ACCOUNT_APP_RELATION_TYPE_UNSPECIFIED AccountAppRelationType = 0 AccountAppRelationType_ACCOUNT_APP_RELATION_TYPE_OWN AccountAppRelationType = 1 )
func (AccountAppRelationType) Descriptor ¶
func (AccountAppRelationType) Descriptor() protoreflect.EnumDescriptor
func (AccountAppRelationType) Enum ¶
func (x AccountAppRelationType) Enum() *AccountAppRelationType
func (AccountAppRelationType) EnumDescriptor
deprecated
func (AccountAppRelationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountAppRelationType.Descriptor instead.
func (AccountAppRelationType) Number ¶
func (x AccountAppRelationType) Number() protoreflect.EnumNumber
func (AccountAppRelationType) String ¶
func (x AccountAppRelationType) String() string
func (AccountAppRelationType) Type ¶
func (AccountAppRelationType) Type() protoreflect.EnumType
type DBSource ¶
type DBSource int32
const (
DBSource_DB_SOURCE_UNSPECIFIED DBSource = 0
)
func (DBSource) Descriptor ¶
func (DBSource) Descriptor() protoreflect.EnumDescriptor
func (DBSource) EnumDescriptor
deprecated
func (DBSource) Number ¶
func (x DBSource) Number() protoreflect.EnumNumber
func (DBSource) Type ¶
func (DBSource) Type() protoreflect.EnumType
type DataSource ¶
type DataSource int32
const ( DataSource_DATA_SOURCE_UNSPECIFIED DataSource = 0 DataSource_DATA_SOURCE_INTERNAL_DEFAULT DataSource = 1 )
func (DataSource) Descriptor ¶
func (DataSource) Descriptor() protoreflect.EnumDescriptor
func (DataSource) Enum ¶
func (x DataSource) Enum() *DataSource
func (DataSource) EnumDescriptor
deprecated
func (DataSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataSource.Descriptor instead.
func (DataSource) Number ¶
func (x DataSource) Number() protoreflect.EnumNumber
func (DataSource) String ¶
func (x DataSource) String() string
func (DataSource) Type ¶
func (DataSource) Type() protoreflect.EnumType
type FeatureFlag ¶ added in v0.2.15
type FeatureFlag int32
Definition of service feature flags, use original name rather than enum value. Set correct feature flags in server metadata to let caller know what functions are available.
const ( FeatureFlag_FEATURE_FLAG_UNSPECIFIED FeatureFlag = 0 // If set, operations pull from steam store are available. FeatureFlag_FEATURE_FLAG_SOURCE_STEAM FeatureFlag = 1 // If set, operations pull from telegram are available. FeatureFlag_FEATURE_FLAG_SOURCE_TELEGRAM FeatureFlag = 2 // If set, default storage bucket are available. FeatureFlag_FEATURE_FLAG_DEFAULT_DATA_STORAGE FeatureFlag = 3 )
func (FeatureFlag) Descriptor ¶ added in v0.2.15
func (FeatureFlag) Descriptor() protoreflect.EnumDescriptor
func (FeatureFlag) Enum ¶ added in v0.2.15
func (x FeatureFlag) Enum() *FeatureFlag
func (FeatureFlag) EnumDescriptor
deprecated
added in
v0.2.15
func (FeatureFlag) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeatureFlag.Descriptor instead.
func (FeatureFlag) Number ¶ added in v0.2.15
func (x FeatureFlag) Number() protoreflect.EnumNumber
func (FeatureFlag) String ¶ added in v0.2.15
func (x FeatureFlag) String() string
func (FeatureFlag) Type ¶ added in v0.2.15
func (FeatureFlag) Type() protoreflect.EnumType
type FeedDestination ¶ added in v0.2.15
type FeedDestination int32
const ( FeedDestination_FEED_DESTINATION_UNSPECIFIED FeedDestination = 0 FeedDestination_FEED_DESTINATION_TELEGRAM FeedDestination = 1 )
func (FeedDestination) Descriptor ¶ added in v0.2.15
func (FeedDestination) Descriptor() protoreflect.EnumDescriptor
func (FeedDestination) Enum ¶ added in v0.2.15
func (x FeedDestination) Enum() *FeedDestination
func (FeedDestination) EnumDescriptor
deprecated
added in
v0.2.15
func (FeedDestination) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeedDestination.Descriptor instead.
func (FeedDestination) Number ¶ added in v0.2.15
func (x FeedDestination) Number() protoreflect.EnumNumber
func (FeedDestination) String ¶ added in v0.2.15
func (x FeedDestination) String() string
func (FeedDestination) Type ¶ added in v0.2.15
func (FeedDestination) Type() protoreflect.EnumType
type FeedSource ¶
type FeedSource int32
const ( FeedSource_FEED_SOURCE_UNSPECIFIED FeedSource = 0 FeedSource_FEED_SOURCE_COMMON FeedSource = 1 )
func (FeedSource) Descriptor ¶
func (FeedSource) Descriptor() protoreflect.EnumDescriptor
func (FeedSource) Enum ¶
func (x FeedSource) Enum() *FeedSource
func (FeedSource) EnumDescriptor
deprecated
func (FeedSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeedSource.Descriptor instead.
func (FeedSource) Number ¶
func (x FeedSource) Number() protoreflect.EnumNumber
func (FeedSource) String ¶
func (x FeedSource) String() string
func (FeedSource) Type ¶
func (FeedSource) Type() protoreflect.EnumType
type LibrarianPorterServiceClient ¶
type LibrarianPorterServiceClient interface { // `Feed` PullFeed(ctx context.Context, in *PullFeedRequest, opts ...grpc.CallOption) (*PullFeedResponse, error) // `Feed` PushFeedItems(ctx context.Context, in *PushFeedItemsRequest, opts ...grpc.CallOption) (*PushFeedItemsResponse, error) // `DB` PullDB(ctx context.Context, in *PullDBRequest, opts ...grpc.CallOption) (*PullDBResponse, error) // `DB` PullAccount(ctx context.Context, in *PullAccountRequest, opts ...grpc.CallOption) (*PullAccountResponse, error) // `DB` PullApp(ctx context.Context, in *PullAppRequest, opts ...grpc.CallOption) (*PullAppResponse, error) // `DB` PullAccountAppRelation(ctx context.Context, in *PullAccountAppRelationRequest, opts ...grpc.CallOption) (*PullAccountAppRelationResponse, error) // `Wiki` PullWiki(ctx context.Context, in *PullWikiRequest, opts ...grpc.CallOption) (*PullWikiResponse, error) // `Data` Pull data binary PullData(ctx context.Context, in *PullDataRequest, opts ...grpc.CallOption) (LibrarianPorterService_PullDataClient, error) // `Data` Push data binary PushData(ctx context.Context, opts ...grpc.CallOption) (LibrarianPorterService_PushDataClient, error) // `Data` Generate http GET url PresignedPullData(ctx context.Context, in *PresignedPullDataRequest, opts ...grpc.CallOption) (*PresignedPullDataResponse, error) // `Data` Generate http PUT url PresignedPushData(ctx context.Context, in *PresignedPushDataRequest, opts ...grpc.CallOption) (*PresignedPushDataResponse, error) }
LibrarianPorterServiceClient is the client API for LibrarianPorterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLibrarianPorterServiceClient ¶
func NewLibrarianPorterServiceClient(cc grpc.ClientConnInterface) LibrarianPorterServiceClient
type LibrarianPorterServiceServer ¶
type LibrarianPorterServiceServer interface { // `Feed` PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error) // `Feed` PushFeedItems(context.Context, *PushFeedItemsRequest) (*PushFeedItemsResponse, error) // `DB` PullDB(context.Context, *PullDBRequest) (*PullDBResponse, error) // `DB` PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error) // `DB` PullApp(context.Context, *PullAppRequest) (*PullAppResponse, error) // `DB` PullAccountAppRelation(context.Context, *PullAccountAppRelationRequest) (*PullAccountAppRelationResponse, error) // `Wiki` PullWiki(context.Context, *PullWikiRequest) (*PullWikiResponse, error) // `Data` Pull data binary PullData(*PullDataRequest, LibrarianPorterService_PullDataServer) error // `Data` Push data binary PushData(LibrarianPorterService_PushDataServer) error // `Data` Generate http GET url PresignedPullData(context.Context, *PresignedPullDataRequest) (*PresignedPullDataResponse, error) // `Data` Generate http PUT url PresignedPushData(context.Context, *PresignedPushDataRequest) (*PresignedPushDataResponse, error) // contains filtered or unexported methods }
LibrarianPorterServiceServer is the server API for LibrarianPorterService service. All implementations must embed UnimplementedLibrarianPorterServiceServer for forward compatibility
type LibrarianPorterService_PullDataClient ¶
type LibrarianPorterService_PullDataClient interface { Recv() (*PullDataResponse, error) grpc.ClientStream }
type LibrarianPorterService_PullDataServer ¶
type LibrarianPorterService_PullDataServer interface { Send(*PullDataResponse) error grpc.ServerStream }
type LibrarianPorterService_PushDataClient ¶
type LibrarianPorterService_PushDataClient interface { Send(*PushDataRequest) error CloseAndRecv() (*PushDataResponse, error) grpc.ClientStream }
type LibrarianPorterService_PushDataServer ¶
type LibrarianPorterService_PushDataServer interface { SendAndClose(*PushDataResponse) error Recv() (*PushDataRequest, error) grpc.ServerStream }
type PresignedPullDataRequest ¶ added in v0.2.22
type PresignedPullDataRequest struct { Source DataSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DataSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` ExpireTime *durationpb.Duration `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
func (*PresignedPullDataRequest) Descriptor
deprecated
added in
v0.2.22
func (*PresignedPullDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PresignedPullDataRequest.ProtoReflect.Descriptor instead.
func (*PresignedPullDataRequest) GetContentId ¶ added in v0.2.22
func (x *PresignedPullDataRequest) GetContentId() string
func (*PresignedPullDataRequest) GetExpireTime ¶ added in v0.2.22
func (x *PresignedPullDataRequest) GetExpireTime() *durationpb.Duration
func (*PresignedPullDataRequest) GetSource ¶ added in v0.2.22
func (x *PresignedPullDataRequest) GetSource() DataSource
func (*PresignedPullDataRequest) ProtoMessage ¶ added in v0.2.22
func (*PresignedPullDataRequest) ProtoMessage()
func (*PresignedPullDataRequest) ProtoReflect ¶ added in v0.2.22
func (x *PresignedPullDataRequest) ProtoReflect() protoreflect.Message
func (*PresignedPullDataRequest) Reset ¶ added in v0.2.22
func (x *PresignedPullDataRequest) Reset()
func (*PresignedPullDataRequest) String ¶ added in v0.2.22
func (x *PresignedPullDataRequest) String() string
type PresignedPullDataResponse ¶ added in v0.2.22
type PresignedPullDataResponse struct { PullUrl string `protobuf:"bytes,1,opt,name=pull_url,json=pullUrl,proto3" json:"pull_url,omitempty"` // contains filtered or unexported fields }
func (*PresignedPullDataResponse) Descriptor
deprecated
added in
v0.2.22
func (*PresignedPullDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PresignedPullDataResponse.ProtoReflect.Descriptor instead.
func (*PresignedPullDataResponse) GetPullUrl ¶ added in v0.2.22
func (x *PresignedPullDataResponse) GetPullUrl() string
func (*PresignedPullDataResponse) ProtoMessage ¶ added in v0.2.22
func (*PresignedPullDataResponse) ProtoMessage()
func (*PresignedPullDataResponse) ProtoReflect ¶ added in v0.2.22
func (x *PresignedPullDataResponse) ProtoReflect() protoreflect.Message
func (*PresignedPullDataResponse) Reset ¶ added in v0.2.22
func (x *PresignedPullDataResponse) Reset()
func (*PresignedPullDataResponse) String ¶ added in v0.2.22
func (x *PresignedPullDataResponse) String() string
type PresignedPushDataRequest ¶ added in v0.2.26
type PresignedPushDataRequest struct { Source DataSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DataSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` ExpireTime *durationpb.Duration `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
func (*PresignedPushDataRequest) Descriptor
deprecated
added in
v0.2.26
func (*PresignedPushDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PresignedPushDataRequest.ProtoReflect.Descriptor instead.
func (*PresignedPushDataRequest) GetContentId ¶ added in v0.2.26
func (x *PresignedPushDataRequest) GetContentId() string
func (*PresignedPushDataRequest) GetExpireTime ¶ added in v0.2.26
func (x *PresignedPushDataRequest) GetExpireTime() *durationpb.Duration
func (*PresignedPushDataRequest) GetSource ¶ added in v0.2.26
func (x *PresignedPushDataRequest) GetSource() DataSource
func (*PresignedPushDataRequest) ProtoMessage ¶ added in v0.2.26
func (*PresignedPushDataRequest) ProtoMessage()
func (*PresignedPushDataRequest) ProtoReflect ¶ added in v0.2.26
func (x *PresignedPushDataRequest) ProtoReflect() protoreflect.Message
func (*PresignedPushDataRequest) Reset ¶ added in v0.2.26
func (x *PresignedPushDataRequest) Reset()
func (*PresignedPushDataRequest) String ¶ added in v0.2.26
func (x *PresignedPushDataRequest) String() string
type PresignedPushDataResponse ¶ added in v0.2.26
type PresignedPushDataResponse struct { PushUrl string `protobuf:"bytes,1,opt,name=push_url,json=pushUrl,proto3" json:"push_url,omitempty"` // contains filtered or unexported fields }
func (*PresignedPushDataResponse) Descriptor
deprecated
added in
v0.2.26
func (*PresignedPushDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PresignedPushDataResponse.ProtoReflect.Descriptor instead.
func (*PresignedPushDataResponse) GetPushUrl ¶ added in v0.2.26
func (x *PresignedPushDataResponse) GetPushUrl() string
func (*PresignedPushDataResponse) ProtoMessage ¶ added in v0.2.26
func (*PresignedPushDataResponse) ProtoMessage()
func (*PresignedPushDataResponse) ProtoReflect ¶ added in v0.2.26
func (x *PresignedPushDataResponse) ProtoReflect() protoreflect.Message
func (*PresignedPushDataResponse) Reset ¶ added in v0.2.26
func (x *PresignedPushDataResponse) Reset()
func (*PresignedPushDataResponse) String ¶ added in v0.2.26
func (x *PresignedPushDataResponse) String() string
type PullAccountAppRelationRequest ¶
type PullAccountAppRelationRequest struct { RelationType AccountAppRelationType `` /* 146-byte string literal not displayed */ AccountId *v1.AccountID `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*PullAccountAppRelationRequest) Descriptor
deprecated
func (*PullAccountAppRelationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountAppRelationRequest.ProtoReflect.Descriptor instead.
func (*PullAccountAppRelationRequest) GetAccountId ¶
func (x *PullAccountAppRelationRequest) GetAccountId() *v1.AccountID
func (*PullAccountAppRelationRequest) GetRelationType ¶
func (x *PullAccountAppRelationRequest) GetRelationType() AccountAppRelationType
func (*PullAccountAppRelationRequest) ProtoMessage ¶
func (*PullAccountAppRelationRequest) ProtoMessage()
func (*PullAccountAppRelationRequest) ProtoReflect ¶
func (x *PullAccountAppRelationRequest) ProtoReflect() protoreflect.Message
func (*PullAccountAppRelationRequest) Reset ¶
func (x *PullAccountAppRelationRequest) Reset()
func (*PullAccountAppRelationRequest) String ¶
func (x *PullAccountAppRelationRequest) String() string
type PullAccountAppRelationResponse ¶
type PullAccountAppRelationResponse struct { AppList []*v1.App `protobuf:"bytes,1,rep,name=app_list,json=appList,proto3" json:"app_list,omitempty"` // contains filtered or unexported fields }
func (*PullAccountAppRelationResponse) Descriptor
deprecated
func (*PullAccountAppRelationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountAppRelationResponse.ProtoReflect.Descriptor instead.
func (*PullAccountAppRelationResponse) GetAppList ¶
func (x *PullAccountAppRelationResponse) GetAppList() []*v1.App
func (*PullAccountAppRelationResponse) ProtoMessage ¶
func (*PullAccountAppRelationResponse) ProtoMessage()
func (*PullAccountAppRelationResponse) ProtoReflect ¶
func (x *PullAccountAppRelationResponse) ProtoReflect() protoreflect.Message
func (*PullAccountAppRelationResponse) Reset ¶
func (x *PullAccountAppRelationResponse) Reset()
func (*PullAccountAppRelationResponse) String ¶
func (x *PullAccountAppRelationResponse) String() string
type PullAccountRequest ¶
type PullAccountRequest struct { AccountId *v1.AccountID `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*PullAccountRequest) Descriptor
deprecated
func (*PullAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountRequest.ProtoReflect.Descriptor instead.
func (*PullAccountRequest) GetAccountId ¶
func (x *PullAccountRequest) GetAccountId() *v1.AccountID
func (*PullAccountRequest) ProtoMessage ¶
func (*PullAccountRequest) ProtoMessage()
func (*PullAccountRequest) ProtoReflect ¶
func (x *PullAccountRequest) ProtoReflect() protoreflect.Message
func (*PullAccountRequest) Reset ¶
func (x *PullAccountRequest) Reset()
func (*PullAccountRequest) String ¶
func (x *PullAccountRequest) String() string
type PullAccountResponse ¶
type PullAccountResponse struct { Account *v1.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*PullAccountResponse) Descriptor
deprecated
func (*PullAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAccountResponse.ProtoReflect.Descriptor instead.
func (*PullAccountResponse) GetAccount ¶
func (x *PullAccountResponse) GetAccount() *v1.Account
func (*PullAccountResponse) ProtoMessage ¶
func (*PullAccountResponse) ProtoMessage()
func (*PullAccountResponse) ProtoReflect ¶
func (x *PullAccountResponse) ProtoReflect() protoreflect.Message
func (*PullAccountResponse) Reset ¶
func (x *PullAccountResponse) Reset()
func (*PullAccountResponse) String ¶
func (x *PullAccountResponse) String() string
type PullAppRequest ¶
type PullAppRequest struct { AppId *v1.AppID `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // contains filtered or unexported fields }
func (*PullAppRequest) Descriptor
deprecated
func (*PullAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullAppRequest.ProtoReflect.Descriptor instead.
func (*PullAppRequest) GetAppId ¶
func (x *PullAppRequest) GetAppId() *v1.AppID
func (*PullAppRequest) ProtoMessage ¶
func (*PullAppRequest) ProtoMessage()
func (*PullAppRequest) ProtoReflect ¶
func (x *PullAppRequest) ProtoReflect() protoreflect.Message
func (*PullAppRequest) Reset ¶
func (x *PullAppRequest) Reset()
func (*PullAppRequest) String ¶
func (x *PullAppRequest) String() string
type PullAppResponse ¶
type PullAppResponse struct { App *v1.App `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*PullAppResponse) Descriptor
deprecated
func (*PullAppResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullAppResponse.ProtoReflect.Descriptor instead.
func (*PullAppResponse) GetApp ¶
func (x *PullAppResponse) GetApp() *v1.App
func (*PullAppResponse) ProtoMessage ¶
func (*PullAppResponse) ProtoMessage()
func (*PullAppResponse) ProtoReflect ¶
func (x *PullAppResponse) ProtoReflect() protoreflect.Message
func (*PullAppResponse) Reset ¶
func (x *PullAppResponse) Reset()
func (*PullAppResponse) String ¶
func (x *PullAppResponse) String() string
type PullDBRequest ¶
type PullDBRequest struct { Source DBSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DBSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` // contains filtered or unexported fields }
func (*PullDBRequest) Descriptor
deprecated
func (*PullDBRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullDBRequest.ProtoReflect.Descriptor instead.
func (*PullDBRequest) GetContentId ¶
func (x *PullDBRequest) GetContentId() string
func (*PullDBRequest) GetSource ¶
func (x *PullDBRequest) GetSource() DBSource
func (*PullDBRequest) ProtoMessage ¶
func (*PullDBRequest) ProtoMessage()
func (*PullDBRequest) ProtoReflect ¶
func (x *PullDBRequest) ProtoReflect() protoreflect.Message
func (*PullDBRequest) Reset ¶
func (x *PullDBRequest) Reset()
func (*PullDBRequest) String ¶
func (x *PullDBRequest) String() string
type PullDBResponse ¶
type PullDBResponse struct { Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PullDBResponse) Descriptor
deprecated
func (*PullDBResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullDBResponse.ProtoReflect.Descriptor instead.
func (*PullDBResponse) GetData ¶
func (x *PullDBResponse) GetData() map[string]string
func (*PullDBResponse) ProtoMessage ¶
func (*PullDBResponse) ProtoMessage()
func (*PullDBResponse) ProtoReflect ¶
func (x *PullDBResponse) ProtoReflect() protoreflect.Message
func (*PullDBResponse) Reset ¶
func (x *PullDBResponse) Reset()
func (*PullDBResponse) String ¶
func (x *PullDBResponse) String() string
type PullDataRequest ¶
type PullDataRequest struct { Source DataSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DataSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` // contains filtered or unexported fields }
func (*PullDataRequest) Descriptor
deprecated
func (*PullDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullDataRequest.ProtoReflect.Descriptor instead.
func (*PullDataRequest) GetContentId ¶
func (x *PullDataRequest) GetContentId() string
func (*PullDataRequest) GetSource ¶
func (x *PullDataRequest) GetSource() DataSource
func (*PullDataRequest) ProtoMessage ¶
func (*PullDataRequest) ProtoMessage()
func (*PullDataRequest) ProtoReflect ¶
func (x *PullDataRequest) ProtoReflect() protoreflect.Message
func (*PullDataRequest) Reset ¶
func (x *PullDataRequest) Reset()
func (*PullDataRequest) String ¶
func (x *PullDataRequest) String() string
type PullDataResponse ¶
type PullDataResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PullDataResponse) Descriptor
deprecated
func (*PullDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullDataResponse.ProtoReflect.Descriptor instead.
func (*PullDataResponse) GetData ¶
func (x *PullDataResponse) GetData() []byte
func (*PullDataResponse) ProtoMessage ¶
func (*PullDataResponse) ProtoMessage()
func (*PullDataResponse) ProtoReflect ¶
func (x *PullDataResponse) ProtoReflect() protoreflect.Message
func (*PullDataResponse) Reset ¶
func (x *PullDataResponse) Reset()
func (*PullDataResponse) String ¶
func (x *PullDataResponse) String() string
type PullFeedRequest ¶
type PullFeedRequest struct { Source FeedSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.FeedSource" json:"source,omitempty"` ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // contains filtered or unexported fields }
func (*PullFeedRequest) Descriptor
deprecated
func (*PullFeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullFeedRequest.ProtoReflect.Descriptor instead.
func (*PullFeedRequest) GetChannelId ¶ added in v0.2.15
func (x *PullFeedRequest) GetChannelId() string
func (*PullFeedRequest) GetSource ¶
func (x *PullFeedRequest) GetSource() FeedSource
func (*PullFeedRequest) ProtoMessage ¶
func (*PullFeedRequest) ProtoMessage()
func (*PullFeedRequest) ProtoReflect ¶
func (x *PullFeedRequest) ProtoReflect() protoreflect.Message
func (*PullFeedRequest) Reset ¶
func (x *PullFeedRequest) Reset()
func (*PullFeedRequest) String ¶
func (x *PullFeedRequest) String() string
type PullFeedResponse ¶
type PullFeedResponse struct { Data *v1.Feed `protobuf:"bytes,1,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PullFeedResponse) Descriptor
deprecated
func (*PullFeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullFeedResponse.ProtoReflect.Descriptor instead.
func (*PullFeedResponse) GetData ¶
func (x *PullFeedResponse) GetData() *v1.Feed
func (*PullFeedResponse) ProtoMessage ¶
func (*PullFeedResponse) ProtoMessage()
func (*PullFeedResponse) ProtoReflect ¶
func (x *PullFeedResponse) ProtoReflect() protoreflect.Message
func (*PullFeedResponse) Reset ¶
func (x *PullFeedResponse) Reset()
func (*PullFeedResponse) String ¶
func (x *PullFeedResponse) String() string
type PullWikiRequest ¶
type PullWikiRequest struct { Source WikiSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.WikiSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` // contains filtered or unexported fields }
func (*PullWikiRequest) Descriptor
deprecated
func (*PullWikiRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullWikiRequest.ProtoReflect.Descriptor instead.
func (*PullWikiRequest) GetContentId ¶
func (x *PullWikiRequest) GetContentId() string
func (*PullWikiRequest) GetSource ¶
func (x *PullWikiRequest) GetSource() WikiSource
func (*PullWikiRequest) ProtoMessage ¶
func (*PullWikiRequest) ProtoMessage()
func (*PullWikiRequest) ProtoReflect ¶
func (x *PullWikiRequest) ProtoReflect() protoreflect.Message
func (*PullWikiRequest) Reset ¶
func (x *PullWikiRequest) Reset()
func (*PullWikiRequest) String ¶
func (x *PullWikiRequest) String() string
type PullWikiResponse ¶
type PullWikiResponse struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PullWikiResponse) Descriptor
deprecated
func (*PullWikiResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullWikiResponse.ProtoReflect.Descriptor instead.
func (*PullWikiResponse) GetData ¶
func (x *PullWikiResponse) GetData() string
func (*PullWikiResponse) ProtoMessage ¶
func (*PullWikiResponse) ProtoMessage()
func (*PullWikiResponse) ProtoReflect ¶
func (x *PullWikiResponse) ProtoReflect() protoreflect.Message
func (*PullWikiResponse) Reset ¶
func (x *PullWikiResponse) Reset()
func (*PullWikiResponse) String ¶
func (x *PullWikiResponse) String() string
type PushDataRequest ¶
type PushDataRequest struct { // Types that are assignable to Content: // // *PushDataRequest_Metadata // *PushDataRequest_Data Content isPushDataRequest_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
func (*PushDataRequest) Descriptor
deprecated
func (*PushDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushDataRequest.ProtoReflect.Descriptor instead.
func (*PushDataRequest) GetContent ¶ added in v0.2.3
func (m *PushDataRequest) GetContent() isPushDataRequest_Content
func (*PushDataRequest) GetData ¶
func (x *PushDataRequest) GetData() []byte
func (*PushDataRequest) GetMetadata ¶ added in v0.2.3
func (x *PushDataRequest) GetMetadata() *PushDataRequest_DataMeta
func (*PushDataRequest) ProtoMessage ¶
func (*PushDataRequest) ProtoMessage()
func (*PushDataRequest) ProtoReflect ¶
func (x *PushDataRequest) ProtoReflect() protoreflect.Message
func (*PushDataRequest) Reset ¶
func (x *PushDataRequest) Reset()
func (*PushDataRequest) String ¶
func (x *PushDataRequest) String() string
type PushDataRequest_Data ¶ added in v0.2.3
type PushDataRequest_Data struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type PushDataRequest_DataMeta ¶ added in v0.2.3
type PushDataRequest_DataMeta struct { Source DataSource `protobuf:"varint,1,opt,name=source,proto3,enum=librarian.porter.v1.DataSource" json:"source,omitempty"` ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` // contains filtered or unexported fields }
func (*PushDataRequest_DataMeta) Descriptor
deprecated
added in
v0.2.3
func (*PushDataRequest_DataMeta) Descriptor() ([]byte, []int)
Deprecated: Use PushDataRequest_DataMeta.ProtoReflect.Descriptor instead.
func (*PushDataRequest_DataMeta) GetContentId ¶ added in v0.2.3
func (x *PushDataRequest_DataMeta) GetContentId() string
func (*PushDataRequest_DataMeta) GetSource ¶ added in v0.2.3
func (x *PushDataRequest_DataMeta) GetSource() DataSource
func (*PushDataRequest_DataMeta) ProtoMessage ¶ added in v0.2.3
func (*PushDataRequest_DataMeta) ProtoMessage()
func (*PushDataRequest_DataMeta) ProtoReflect ¶ added in v0.2.3
func (x *PushDataRequest_DataMeta) ProtoReflect() protoreflect.Message
func (*PushDataRequest_DataMeta) Reset ¶ added in v0.2.3
func (x *PushDataRequest_DataMeta) Reset()
func (*PushDataRequest_DataMeta) String ¶ added in v0.2.3
func (x *PushDataRequest_DataMeta) String() string
type PushDataRequest_Metadata ¶ added in v0.2.3
type PushDataRequest_Metadata struct {
Metadata *PushDataRequest_DataMeta `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}
type PushDataResponse ¶
type PushDataResponse struct {
// contains filtered or unexported fields
}
func (*PushDataResponse) Descriptor
deprecated
func (*PushDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushDataResponse.ProtoReflect.Descriptor instead.
func (*PushDataResponse) ProtoMessage ¶
func (*PushDataResponse) ProtoMessage()
func (*PushDataResponse) ProtoReflect ¶
func (x *PushDataResponse) ProtoReflect() protoreflect.Message
func (*PushDataResponse) Reset ¶
func (x *PushDataResponse) Reset()
func (*PushDataResponse) String ¶
func (x *PushDataResponse) String() string
type PushFeedItemsRequest ¶ added in v0.2.16
type PushFeedItemsRequest struct { Destination FeedDestination `protobuf:"varint,1,opt,name=destination,proto3,enum=librarian.porter.v1.FeedDestination" json:"destination,omitempty"` ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` Items []*v1.FeedItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"` Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*PushFeedItemsRequest) Descriptor
deprecated
added in
v0.2.16
func (*PushFeedItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushFeedItemsRequest.ProtoReflect.Descriptor instead.
func (*PushFeedItemsRequest) GetChannelId ¶ added in v0.2.16
func (x *PushFeedItemsRequest) GetChannelId() string
func (*PushFeedItemsRequest) GetDestination ¶ added in v0.2.16
func (x *PushFeedItemsRequest) GetDestination() FeedDestination
func (*PushFeedItemsRequest) GetItems ¶ added in v0.2.16
func (x *PushFeedItemsRequest) GetItems() []*v1.FeedItem
func (*PushFeedItemsRequest) GetToken ¶ added in v0.2.16
func (x *PushFeedItemsRequest) GetToken() string
func (*PushFeedItemsRequest) ProtoMessage ¶ added in v0.2.16
func (*PushFeedItemsRequest) ProtoMessage()
func (*PushFeedItemsRequest) ProtoReflect ¶ added in v0.2.16
func (x *PushFeedItemsRequest) ProtoReflect() protoreflect.Message
func (*PushFeedItemsRequest) Reset ¶ added in v0.2.16
func (x *PushFeedItemsRequest) Reset()
func (*PushFeedItemsRequest) String ¶ added in v0.2.16
func (x *PushFeedItemsRequest) String() string
type PushFeedItemsResponse ¶ added in v0.2.16
type PushFeedItemsResponse struct {
// contains filtered or unexported fields
}
func (*PushFeedItemsResponse) Descriptor
deprecated
added in
v0.2.16
func (*PushFeedItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushFeedItemsResponse.ProtoReflect.Descriptor instead.
func (*PushFeedItemsResponse) ProtoMessage ¶ added in v0.2.16
func (*PushFeedItemsResponse) ProtoMessage()
func (*PushFeedItemsResponse) ProtoReflect ¶ added in v0.2.16
func (x *PushFeedItemsResponse) ProtoReflect() protoreflect.Message
func (*PushFeedItemsResponse) Reset ¶ added in v0.2.16
func (x *PushFeedItemsResponse) Reset()
func (*PushFeedItemsResponse) String ¶ added in v0.2.16
func (x *PushFeedItemsResponse) String() string
type UnimplementedLibrarianPorterServiceServer ¶
type UnimplementedLibrarianPorterServiceServer struct { }
UnimplementedLibrarianPorterServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLibrarianPorterServiceServer) PresignedPullData ¶ added in v0.2.22
func (UnimplementedLibrarianPorterServiceServer) PresignedPullData(context.Context, *PresignedPullDataRequest) (*PresignedPullDataResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PresignedPushData ¶ added in v0.2.26
func (UnimplementedLibrarianPorterServiceServer) PresignedPushData(context.Context, *PresignedPushDataRequest) (*PresignedPushDataResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullAccount ¶
func (UnimplementedLibrarianPorterServiceServer) PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullAccountAppRelation ¶
func (UnimplementedLibrarianPorterServiceServer) PullAccountAppRelation(context.Context, *PullAccountAppRelationRequest) (*PullAccountAppRelationResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullApp ¶
func (UnimplementedLibrarianPorterServiceServer) PullApp(context.Context, *PullAppRequest) (*PullAppResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullDB ¶
func (UnimplementedLibrarianPorterServiceServer) PullDB(context.Context, *PullDBRequest) (*PullDBResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullFeed ¶
func (UnimplementedLibrarianPorterServiceServer) PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PullWiki ¶
func (UnimplementedLibrarianPorterServiceServer) PullWiki(context.Context, *PullWikiRequest) (*PullWikiResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PushFeedItems ¶ added in v0.2.16
func (UnimplementedLibrarianPorterServiceServer) PushFeedItems(context.Context, *PushFeedItemsRequest) (*PushFeedItemsResponse, error)
type UnsafeLibrarianPorterServiceServer ¶
type UnsafeLibrarianPorterServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLibrarianPorterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LibrarianPorterServiceServer will result in compilation errors.
type WikiSource ¶
type WikiSource int32
const (
WikiSource_WIKI_SOURCE_UNSPECIFIED WikiSource = 0
)
func (WikiSource) Descriptor ¶
func (WikiSource) Descriptor() protoreflect.EnumDescriptor
func (WikiSource) Enum ¶
func (x WikiSource) Enum() *WikiSource
func (WikiSource) EnumDescriptor
deprecated
func (WikiSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use WikiSource.Descriptor instead.
func (WikiSource) Number ¶
func (x WikiSource) Number() protoreflect.EnumNumber
func (WikiSource) String ¶
func (x WikiSource) String() string
func (WikiSource) Type ¶
func (WikiSource) Type() protoreflect.EnumType