Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterLibrarianPorterServiceServer(s grpc.ServiceRegistrar, srv LibrarianPorterServiceServer)
- type EnablePorterRequest
- func (*EnablePorterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnablePorterRequest) GetRefreshToken() string
- func (x *EnablePorterRequest) GetSephirahId() int64
- func (*EnablePorterRequest) ProtoMessage()
- func (x *EnablePorterRequest) ProtoReflect() protoreflect.Message
- func (x *EnablePorterRequest) Reset()
- func (x *EnablePorterRequest) String() string
- type EnablePorterResponse
- type GetPorterInformationRequest
- type GetPorterInformationResponse
- func (*GetPorterInformationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPorterInformationResponse) GetFeatureSummary() *PorterFeatureSummary
- func (x *GetPorterInformationResponse) GetGlobalName() string
- func (x *GetPorterInformationResponse) GetName() string
- func (x *GetPorterInformationResponse) GetVersion() string
- func (*GetPorterInformationResponse) ProtoMessage()
- func (x *GetPorterInformationResponse) ProtoReflect() protoreflect.Message
- func (x *GetPorterInformationResponse) Reset()
- func (x *GetPorterInformationResponse) String() string
- type LibrarianPorterServiceClient
- type LibrarianPorterServiceServer
- type PorterFeatureSummary
- func (*PorterFeatureSummary) Descriptor() ([]byte, []int)deprecated
- func (x *PorterFeatureSummary) GetSupportedAccounts() []*PorterFeatureSummary_Account
- func (x *PorterFeatureSummary) GetSupportedAppSources() []string
- func (x *PorterFeatureSummary) GetSupportedFeedSources() []string
- func (x *PorterFeatureSummary) GetSupportedNotifyDestinations() []string
- func (*PorterFeatureSummary) ProtoMessage()
- func (x *PorterFeatureSummary) ProtoReflect() protoreflect.Message
- func (x *PorterFeatureSummary) Reset()
- func (x *PorterFeatureSummary) String() string
- type PorterFeatureSummary_Account
- func (*PorterFeatureSummary_Account) Descriptor() ([]byte, []int)deprecated
- func (x *PorterFeatureSummary_Account) GetAppRelationTypes() []v1.AccountAppRelationType
- func (x *PorterFeatureSummary_Account) GetPlatform() string
- func (*PorterFeatureSummary_Account) ProtoMessage()
- func (x *PorterFeatureSummary_Account) ProtoReflect() protoreflect.Message
- func (x *PorterFeatureSummary_Account) Reset()
- func (x *PorterFeatureSummary_Account) String() string
- type PullAccountAppRelationRequest
- func (*PullAccountAppRelationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullAccountAppRelationRequest) GetAccountId() *v1.AccountID
- func (x *PullAccountAppRelationRequest) GetRelationType() v1.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 PullFeedRequest
- func (*PullFeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullFeedRequest) GetChannelId() string
- func (x *PullFeedRequest) GetSource() string
- func (*PullFeedRequest) ProtoMessage()
- func (x *PullFeedRequest) ProtoReflect() protoreflect.Message
- func (x *PullFeedRequest) Reset()
- func (x *PullFeedRequest) String() string
- type PullFeedResponse
- type PushFeedItemsRequest
- func (*PushFeedItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushFeedItemsRequest) GetChannelId() string
- func (x *PushFeedItemsRequest) GetDestination() string
- 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 SearchAppRequest
- type SearchAppResponse
- func (*SearchAppResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchAppResponse) GetAppList() []*v1.App
- func (*SearchAppResponse) ProtoMessage()
- func (x *SearchAppResponse) ProtoReflect() protoreflect.Message
- func (x *SearchAppResponse) Reset()
- func (x *SearchAppResponse) String() string
- type UnimplementedLibrarianPorterServiceServer
- func (UnimplementedLibrarianPorterServiceServer) EnablePorter(context.Context, *EnablePorterRequest) (*EnablePorterResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) GetPorterInformation(context.Context, *GetPorterInformationRequest) (*GetPorterInformationResponse, 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) PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) PushFeedItems(context.Context, *PushFeedItemsRequest) (*PushFeedItemsResponse, error)
- func (UnimplementedLibrarianPorterServiceServer) SearchApp(context.Context, *SearchAppRequest) (*SearchAppResponse, error)
- type UnsafeLibrarianPorterServiceServer
Constants ¶
const ( LibrarianPorterService_GetPorterInformation_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/GetPorterInformation" LibrarianPorterService_EnablePorter_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/EnablePorter" 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_SearchApp_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/SearchApp" LibrarianPorterService_PullFeed_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PullFeed" LibrarianPorterService_PushFeedItems_FullMethodName = "/librarian.porter.v1.LibrarianPorterService/PushFeedItems" )
Variables ¶
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: "GetPorterInformation", Handler: _LibrarianPorterService_GetPorterInformation_Handler, }, { MethodName: "EnablePorter", Handler: _LibrarianPorterService_EnablePorter_Handler, }, { MethodName: "PullAccount", Handler: _LibrarianPorterService_PullAccount_Handler, }, { MethodName: "PullApp", Handler: _LibrarianPorterService_PullApp_Handler, }, { MethodName: "PullAccountAppRelation", Handler: _LibrarianPorterService_PullAccountAppRelation_Handler, }, { MethodName: "SearchApp", Handler: _LibrarianPorterService_SearchApp_Handler, }, { MethodName: "PullFeed", Handler: _LibrarianPorterService_PullFeed_Handler, }, { MethodName: "PushFeedItems", Handler: _LibrarianPorterService_PushFeedItems_Handler, }, }, Streams: []grpc.StreamDesc{}, 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 EnablePorterRequest ¶ added in v0.3.0
type EnablePorterRequest struct { // Identifier of sephirah. can be randomly generated. // porter can only be enabled by on sephirah. // redundancy requests from enabler must return success. SephirahId int64 `protobuf:"varint,1,opt,name=sephirah_id,json=sephirahId,proto3" json:"sephirah_id,omitempty"` // Porter should refresh token before response to verify reverse call is available. RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*EnablePorterRequest) Descriptor
deprecated
added in
v0.3.0
func (*EnablePorterRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnablePorterRequest.ProtoReflect.Descriptor instead.
func (*EnablePorterRequest) GetRefreshToken ¶ added in v0.3.0
func (x *EnablePorterRequest) GetRefreshToken() string
func (*EnablePorterRequest) GetSephirahId ¶ added in v0.3.0
func (x *EnablePorterRequest) GetSephirahId() int64
func (*EnablePorterRequest) ProtoMessage ¶ added in v0.3.0
func (*EnablePorterRequest) ProtoMessage()
func (*EnablePorterRequest) ProtoReflect ¶ added in v0.3.0
func (x *EnablePorterRequest) ProtoReflect() protoreflect.Message
func (*EnablePorterRequest) Reset ¶ added in v0.3.0
func (x *EnablePorterRequest) Reset()
func (*EnablePorterRequest) String ¶ added in v0.3.0
func (x *EnablePorterRequest) String() string
type EnablePorterResponse ¶ added in v0.3.0
type EnablePorterResponse struct {
// contains filtered or unexported fields
}
func (*EnablePorterResponse) Descriptor
deprecated
added in
v0.3.0
func (*EnablePorterResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnablePorterResponse.ProtoReflect.Descriptor instead.
func (*EnablePorterResponse) ProtoMessage ¶ added in v0.3.0
func (*EnablePorterResponse) ProtoMessage()
func (*EnablePorterResponse) ProtoReflect ¶ added in v0.3.0
func (x *EnablePorterResponse) ProtoReflect() protoreflect.Message
func (*EnablePorterResponse) Reset ¶ added in v0.3.0
func (x *EnablePorterResponse) Reset()
func (*EnablePorterResponse) String ¶ added in v0.3.0
func (x *EnablePorterResponse) String() string
type GetPorterInformationRequest ¶ added in v0.3.0
type GetPorterInformationRequest struct {
// contains filtered or unexported fields
}
func (*GetPorterInformationRequest) Descriptor
deprecated
added in
v0.3.0
func (*GetPorterInformationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPorterInformationRequest.ProtoReflect.Descriptor instead.
func (*GetPorterInformationRequest) ProtoMessage ¶ added in v0.3.0
func (*GetPorterInformationRequest) ProtoMessage()
func (*GetPorterInformationRequest) ProtoReflect ¶ added in v0.3.0
func (x *GetPorterInformationRequest) ProtoReflect() protoreflect.Message
func (*GetPorterInformationRequest) Reset ¶ added in v0.3.0
func (x *GetPorterInformationRequest) Reset()
func (*GetPorterInformationRequest) String ¶ added in v0.3.0
func (x *GetPorterInformationRequest) String() string
type GetPorterInformationResponse ¶ added in v0.3.0
type GetPorterInformationResponse struct { // Human-readable name. no format limit. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version of the porter. no format limit. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Global identifier. Same global name means same project. no format limit. // e.g. use project url "github.com/tuihub/porter-steam". GlobalName string `protobuf:"bytes,3,opt,name=global_name,json=globalName,proto3" json:"global_name,omitempty"` FeatureSummary *PorterFeatureSummary `protobuf:"bytes,4,opt,name=feature_summary,json=featureSummary,proto3" json:"feature_summary,omitempty"` // contains filtered or unexported fields }
func (*GetPorterInformationResponse) Descriptor
deprecated
added in
v0.3.0
func (*GetPorterInformationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPorterInformationResponse.ProtoReflect.Descriptor instead.
func (*GetPorterInformationResponse) GetFeatureSummary ¶ added in v0.3.0
func (x *GetPorterInformationResponse) GetFeatureSummary() *PorterFeatureSummary
func (*GetPorterInformationResponse) GetGlobalName ¶ added in v0.3.0
func (x *GetPorterInformationResponse) GetGlobalName() string
func (*GetPorterInformationResponse) GetName ¶ added in v0.3.0
func (x *GetPorterInformationResponse) GetName() string
func (*GetPorterInformationResponse) GetVersion ¶ added in v0.3.0
func (x *GetPorterInformationResponse) GetVersion() string
func (*GetPorterInformationResponse) ProtoMessage ¶ added in v0.3.0
func (*GetPorterInformationResponse) ProtoMessage()
func (*GetPorterInformationResponse) ProtoReflect ¶ added in v0.3.0
func (x *GetPorterInformationResponse) ProtoReflect() protoreflect.Message
func (*GetPorterInformationResponse) Reset ¶ added in v0.3.0
func (x *GetPorterInformationResponse) Reset()
func (*GetPorterInformationResponse) String ¶ added in v0.3.0
func (x *GetPorterInformationResponse) String() string
type LibrarianPorterServiceClient ¶
type LibrarianPorterServiceClient interface { GetPorterInformation(ctx context.Context, in *GetPorterInformationRequest, opts ...grpc.CallOption) (*GetPorterInformationResponse, error) EnablePorter(ctx context.Context, in *EnablePorterRequest, opts ...grpc.CallOption) (*EnablePorterResponse, error) // `Tiphereth` PullAccount(ctx context.Context, in *PullAccountRequest, opts ...grpc.CallOption) (*PullAccountResponse, error) // `Gebura` PullApp(ctx context.Context, in *PullAppRequest, opts ...grpc.CallOption) (*PullAppResponse, error) // `Gebura` PullAccountAppRelation(ctx context.Context, in *PullAccountAppRelationRequest, opts ...grpc.CallOption) (*PullAccountAppRelationResponse, error) // `Gebura` SearchApp(ctx context.Context, in *SearchAppRequest, opts ...grpc.CallOption) (*SearchAppResponse, error) // `Yesod` PullFeed(ctx context.Context, in *PullFeedRequest, opts ...grpc.CallOption) (*PullFeedResponse, error) // `Yesod` PushFeedItems(ctx context.Context, in *PushFeedItemsRequest, opts ...grpc.CallOption) (*PushFeedItemsResponse, 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 { GetPorterInformation(context.Context, *GetPorterInformationRequest) (*GetPorterInformationResponse, error) EnablePorter(context.Context, *EnablePorterRequest) (*EnablePorterResponse, error) // `Tiphereth` PullAccount(context.Context, *PullAccountRequest) (*PullAccountResponse, error) // `Gebura` PullApp(context.Context, *PullAppRequest) (*PullAppResponse, error) // `Gebura` PullAccountAppRelation(context.Context, *PullAccountAppRelationRequest) (*PullAccountAppRelationResponse, error) // `Gebura` SearchApp(context.Context, *SearchAppRequest) (*SearchAppResponse, error) // `Yesod` PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error) // `Yesod` PushFeedItems(context.Context, *PushFeedItemsRequest) (*PushFeedItemsResponse, error) // contains filtered or unexported methods }
LibrarianPorterServiceServer is the server API for LibrarianPorterService service. All implementations must embed UnimplementedLibrarianPorterServiceServer for forward compatibility
type PorterFeatureSummary ¶ added in v0.3.0
type PorterFeatureSummary struct { SupportedAccounts []*PorterFeatureSummary_Account `protobuf:"bytes,1,rep,name=supported_accounts,json=supportedAccounts,proto3" json:"supported_accounts,omitempty"` SupportedAppSources []string `protobuf:"bytes,2,rep,name=supported_app_sources,json=supportedAppSources,proto3" json:"supported_app_sources,omitempty"` SupportedFeedSources []string `protobuf:"bytes,3,rep,name=supported_feed_sources,json=supportedFeedSources,proto3" json:"supported_feed_sources,omitempty"` SupportedNotifyDestinations []string `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PorterFeatureSummary) Descriptor
deprecated
added in
v0.3.0
func (*PorterFeatureSummary) Descriptor() ([]byte, []int)
Deprecated: Use PorterFeatureSummary.ProtoReflect.Descriptor instead.
func (*PorterFeatureSummary) GetSupportedAccounts ¶ added in v0.3.0
func (x *PorterFeatureSummary) GetSupportedAccounts() []*PorterFeatureSummary_Account
func (*PorterFeatureSummary) GetSupportedAppSources ¶ added in v0.3.0
func (x *PorterFeatureSummary) GetSupportedAppSources() []string
func (*PorterFeatureSummary) GetSupportedFeedSources ¶ added in v0.3.0
func (x *PorterFeatureSummary) GetSupportedFeedSources() []string
func (*PorterFeatureSummary) GetSupportedNotifyDestinations ¶ added in v0.3.0
func (x *PorterFeatureSummary) GetSupportedNotifyDestinations() []string
func (*PorterFeatureSummary) ProtoMessage ¶ added in v0.3.0
func (*PorterFeatureSummary) ProtoMessage()
func (*PorterFeatureSummary) ProtoReflect ¶ added in v0.3.0
func (x *PorterFeatureSummary) ProtoReflect() protoreflect.Message
func (*PorterFeatureSummary) Reset ¶ added in v0.3.0
func (x *PorterFeatureSummary) Reset()
func (*PorterFeatureSummary) String ¶ added in v0.3.0
func (x *PorterFeatureSummary) String() string
type PorterFeatureSummary_Account ¶ added in v0.3.0
type PorterFeatureSummary_Account struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` AppRelationTypes []v1.AccountAppRelationType `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PorterFeatureSummary_Account) Descriptor
deprecated
added in
v0.3.0
func (*PorterFeatureSummary_Account) Descriptor() ([]byte, []int)
Deprecated: Use PorterFeatureSummary_Account.ProtoReflect.Descriptor instead.
func (*PorterFeatureSummary_Account) GetAppRelationTypes ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) GetAppRelationTypes() []v1.AccountAppRelationType
func (*PorterFeatureSummary_Account) GetPlatform ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) GetPlatform() string
func (*PorterFeatureSummary_Account) ProtoMessage ¶ added in v0.3.0
func (*PorterFeatureSummary_Account) ProtoMessage()
func (*PorterFeatureSummary_Account) ProtoReflect ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) ProtoReflect() protoreflect.Message
func (*PorterFeatureSummary_Account) Reset ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) Reset()
func (*PorterFeatureSummary_Account) String ¶ added in v0.3.0
func (x *PorterFeatureSummary_Account) String() string
type PullAccountAppRelationRequest ¶
type PullAccountAppRelationRequest struct { RelationType v1.AccountAppRelationType `` /* 139-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() v1.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 PullFeedRequest ¶
type PullFeedRequest struct { // WellKnownFeedSource Source string `protobuf:"bytes,1,opt,name=source,proto3" 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() string
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 PushFeedItemsRequest ¶ added in v0.2.16
type PushFeedItemsRequest struct { // WellKnownNotifyDestination Destination string `protobuf:"bytes,1,opt,name=destination,proto3" 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() string
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 SearchAppRequest ¶ added in v0.3.1
type SearchAppRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SearchAppRequest) Descriptor
deprecated
added in
v0.3.1
func (*SearchAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchAppRequest.ProtoReflect.Descriptor instead.
func (*SearchAppRequest) GetName ¶ added in v0.3.1
func (x *SearchAppRequest) GetName() string
func (*SearchAppRequest) ProtoMessage ¶ added in v0.3.1
func (*SearchAppRequest) ProtoMessage()
func (*SearchAppRequest) ProtoReflect ¶ added in v0.3.1
func (x *SearchAppRequest) ProtoReflect() protoreflect.Message
func (*SearchAppRequest) Reset ¶ added in v0.3.1
func (x *SearchAppRequest) Reset()
func (*SearchAppRequest) String ¶ added in v0.3.1
func (x *SearchAppRequest) String() string
type SearchAppResponse ¶ added in v0.3.1
type SearchAppResponse struct { AppList []*v1.App `protobuf:"bytes,1,rep,name=app_list,json=appList,proto3" json:"app_list,omitempty"` // contains filtered or unexported fields }
func (*SearchAppResponse) Descriptor
deprecated
added in
v0.3.1
func (*SearchAppResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchAppResponse.ProtoReflect.Descriptor instead.
func (*SearchAppResponse) GetAppList ¶ added in v0.3.1
func (x *SearchAppResponse) GetAppList() []*v1.App
func (*SearchAppResponse) ProtoMessage ¶ added in v0.3.1
func (*SearchAppResponse) ProtoMessage()
func (*SearchAppResponse) ProtoReflect ¶ added in v0.3.1
func (x *SearchAppResponse) ProtoReflect() protoreflect.Message
func (*SearchAppResponse) Reset ¶ added in v0.3.1
func (x *SearchAppResponse) Reset()
func (*SearchAppResponse) String ¶ added in v0.3.1
func (x *SearchAppResponse) String() string
type UnimplementedLibrarianPorterServiceServer ¶
type UnimplementedLibrarianPorterServiceServer struct { }
UnimplementedLibrarianPorterServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLibrarianPorterServiceServer) EnablePorter ¶ added in v0.3.0
func (UnimplementedLibrarianPorterServiceServer) EnablePorter(context.Context, *EnablePorterRequest) (*EnablePorterResponse, error)
func (UnimplementedLibrarianPorterServiceServer) GetPorterInformation ¶ added in v0.3.0
func (UnimplementedLibrarianPorterServiceServer) GetPorterInformation(context.Context, *GetPorterInformationRequest) (*GetPorterInformationResponse, 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) PullFeed ¶
func (UnimplementedLibrarianPorterServiceServer) PullFeed(context.Context, *PullFeedRequest) (*PullFeedResponse, error)
func (UnimplementedLibrarianPorterServiceServer) PushFeedItems ¶ added in v0.2.16
func (UnimplementedLibrarianPorterServiceServer) PushFeedItems(context.Context, *PushFeedItemsRequest) (*PushFeedItemsResponse, error)
func (UnimplementedLibrarianPorterServiceServer) SearchApp ¶ added in v0.3.1
func (UnimplementedLibrarianPorterServiceServer) SearchApp(context.Context, *SearchAppRequest) (*SearchAppResponse, 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.