Documentation ¶
Index ¶
- func DurationPBToDuration(t *durationpb.Duration) time.Duration
- func PtrToString(u *string) string
- func ToBizApp(a *pb.App) *modelgebura.App
- func ToBizAppBinaryList(a []*pb.AppBinary) []*modelgebura.AppBinary
- func ToBizAppInfo(a *librarian.AppInfo) *modelgebura.AppInfo
- func ToBizAppInfoID(a *librarian.AppInfoID) *modelgebura.AppInfoID
- func ToBizAppInfoIDList(a []*librarian.AppInfoID) []*modelgebura.AppInfoID
- func ToBizAppInfoList(a []*librarian.AppInfo) []*modelgebura.AppInfo
- func ToBizAppInst(a *pb.AppInst) *modelgebura.AppInst
- func ToBizAppTypeList(a []librarian.AppType) []modelgebura.AppType
- func ToBizDeviceInfo(a *pb.DeviceInfo) *modeltiphereth.DeviceInfo
- func ToBizDuration(d *durationpb.Duration) time.Duration
- func ToBizFeedActionSet(a *pb.FeedActionSet) *modelyesod.FeedActionSet
- func ToBizFeedConfig(a *pb.FeedConfig) *modelyesod.FeedConfig
- func ToBizFeedConfigStatusList(a []pb.FeedConfigStatus) []modelyesod.FeedConfigStatus
- func ToBizFeedItem(a *librarian.FeedItem) *modelfeed.Item
- func ToBizFeedItemCollection(a *pb.FeedItemCollection) *modelyesod.FeedItemCollection
- func ToBizFileMetadata(a *pb.FileMetadata) *modelbinah.FileMetadata
- func ToBizGroupFeedItemsBy(by librarian.TimeAggregation_AggregationType) modelyesod.GroupFeedItemsBy
- func ToBizInternalID(id *librarian.InternalID) model.InternalID
- func ToBizInternalIDList(a []*librarian.InternalID) []model.InternalID
- func ToBizInternalIDPtr(id *librarian.InternalID) *model.InternalID
- func ToBizNotifyFlow(a *pb.NotifyFlow) *modelnetzach.NotifyFlow
- func ToBizNotifyTarget(a *pb.NotifyTarget) *modelnetzach.NotifyTarget
- func ToBizNotifyTargetStatusList(a []pb.NotifyTargetStatus) []modelnetzach.NotifyTargetStatus
- func ToBizPorterFeatureSummary(a *porter.PorterFeatureSummary) *modeltiphereth.PorterFeatureSummary
- func ToBizPorterPrivilege(a *pb.PorterPrivilege) *modeltiphereth.PorterInstancePrivilege
- func ToBizPorterStatus(s pb.UserStatus) modeltiphereth.PorterInstanceStatus
- func ToBizSystemNotificationLevelList(a []pb.SystemNotificationLevel) []modelnetzach.SystemNotificationLevel
- func ToBizSystemNotificationStatusList(a []pb.SystemNotificationStatus) []modelnetzach.SystemNotificationStatus
- func ToBizSystemNotificationTypeList(a []pb.SystemNotificationType) []modelnetzach.SystemNotificationType
- func ToBizTime(t *timestamppb.Timestamp) time.Time
- func ToBizTimeRange(a *librarian.TimeRange) *model.TimeRange
- func ToBizUser(a *pb.User) *modeltiphereth.User
- func ToBizUserStatusList(a []pb.UserStatus) []modeltiphereth.UserStatus
- func ToLibAuthUserTypeList(a []pb.UserType) []libauth.UserType
- func ToPBAccount(a *modeltiphereth.Account) *librarian.Account
- func ToPBAccountList(a []*modeltiphereth.Account) []*librarian.Account
- func ToPBApp(a *modelgebura.App) *pb.App
- func ToPBAppBinary(a *modelgebura.AppBinary) *pb.AppBinary
- func ToPBAppInfo(a *modelgebura.AppInfo) *librarian.AppInfo
- func ToPBAppInfoList(a []*modelgebura.AppInfo) []*librarian.AppInfo
- func ToPBAppInfoMixed(a *modelgebura.AppInfoMixed) *librarian.AppInfoMixed
- func ToPBAppInfoMixedList(a []*modelgebura.AppInfoMixed) []*librarian.AppInfoMixed
- func ToPBAppInstList(a []*modelgebura.AppInst) []*pb.AppInst
- func ToPBAppList(a []*modelgebura.App) []*pb.App
- func ToPBDeviceInfo(a *modeltiphereth.DeviceInfo) *pb.DeviceInfo
- func ToPBDeviceInfoList(a []*modeltiphereth.DeviceInfo) []*pb.DeviceInfo
- func ToPBDuration(d time.Duration) *durationpb.Duration
- func ToPBEnclosure(a *modelfeed.Enclosure) *librarian.FeedEnclosure
- func ToPBFeatureRequest(a *modeltiphereth.FeatureRequest) *librarian.FeatureRequest
- func ToPBFeed(a *modelfeed.Feed) *librarian.Feed
- func ToPBFeedActionSetList(a []*modelyesod.FeedActionSet) []*pb.FeedActionSet
- func ToPBFeedConfig(a *modelyesod.FeedConfig) *pb.FeedConfig
- func ToPBFeedConfigPullStatus(s modelyesod.FeedConfigPullStatus) *pb.FeedConfigPullStatus
- func ToPBFeedImage(a *modelfeed.Image) *librarian.FeedImage
- func ToPBFeedItem(a *modelfeed.Item) *librarian.FeedItem
- func ToPBFeedItemCollectionList(a []*modelyesod.FeedItemCollection) []*pb.FeedItemCollection
- func ToPBFeedItemDigestList(a []*modelyesod.FeedItemDigest) []*pb.FeedItemDigest
- func ToPBFeedItemList(a []*modelfeed.Item) []*librarian.FeedItem
- func ToPBFeedWithConfig(a *modelyesod.FeedWithConfig) *pb.ListFeedConfigsResponse_FeedWithConfig
- func ToPBFeedWithConfigList(a []*modelyesod.FeedWithConfig) []*pb.ListFeedConfigsResponse_FeedWithConfig
- func ToPBInternalID(id model.InternalID) *librarian.InternalID
- func ToPBInternalIDList(a []model.InternalID) []*librarian.InternalID
- func ToPBItemIDWithFeedID(a *modelyesod.FeedItemDigest) *pb.FeedItemDigest
- func ToPBNotifyFlow(a *modelnetzach.NotifyFlow) *pb.NotifyFlow
- func ToPBNotifyFlowList(a []*modelnetzach.NotifyFlow) []*pb.NotifyFlow
- func ToPBNotifyTarget(a *modelnetzach.NotifyTarget) *pb.NotifyTarget
- func ToPBNotifyTargetList(a []*modelnetzach.NotifyTarget) []*pb.NotifyTarget
- func ToPBPorterList(a []*modeltiphereth.PorterInstance) []*pb.Porter
- func ToPBPorterStatus(s modeltiphereth.PorterInstanceStatus) pb.UserStatus
- func ToPBServerFeatureSummary(a *modeltiphereth.ServerFeatureSummary) *pb.ServerFeatureSummary
- func ToPBSystemNotificationList(a []*modelnetzach.SystemNotification) []*pb.SystemNotification
- func ToPBTime(t time.Time) *timestamppb.Timestamp
- func ToPBTimePtr(t *time.Time) *timestamppb.Timestamp
- func ToPBTimeRange(a *model.TimeRange) *librarian.TimeRange
- func ToPBUser(a *modeltiphereth.User) *pb.User
- func ToPBUserList(a []*modeltiphereth.User) []*pb.User
- func ToPBUserSessionList(a []*modeltiphereth.UserSession) []*pb.UserSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationPBToDuration ¶
func DurationPBToDuration(t *durationpb.Duration) time.Duration
func PtrToString ¶
func ToBizAppBinaryList ¶ added in v0.2.3
func ToBizAppBinaryList(a []*pb.AppBinary) []*modelgebura.AppBinary
func ToBizAppInfo ¶ added in v0.2.3
func ToBizAppInfo(a *librarian.AppInfo) *modelgebura.AppInfo
func ToBizAppInfoID ¶ added in v0.2.3
func ToBizAppInfoID(a *librarian.AppInfoID) *modelgebura.AppInfoID
func ToBizAppInfoIDList ¶ added in v0.2.3
func ToBizAppInfoIDList(a []*librarian.AppInfoID) []*modelgebura.AppInfoID
func ToBizAppInfoList ¶ added in v0.2.7
func ToBizAppInfoList(a []*librarian.AppInfo) []*modelgebura.AppInfo
func ToBizAppInst ¶ added in v0.2.3
func ToBizAppInst(a *pb.AppInst) *modelgebura.AppInst
func ToBizAppTypeList ¶ added in v0.0.10
func ToBizAppTypeList(a []librarian.AppType) []modelgebura.AppType
func ToBizDeviceInfo ¶ added in v0.2.1
func ToBizDeviceInfo(a *pb.DeviceInfo) *modeltiphereth.DeviceInfo
func ToBizDuration ¶ added in v0.0.9
func ToBizDuration(d *durationpb.Duration) time.Duration
func ToBizFeedActionSet ¶ added in v0.2.10
func ToBizFeedActionSet(a *pb.FeedActionSet) *modelyesod.FeedActionSet
func ToBizFeedConfig ¶ added in v0.0.10
func ToBizFeedConfig(a *pb.FeedConfig) *modelyesod.FeedConfig
func ToBizFeedConfigStatusList ¶ added in v0.0.10
func ToBizFeedConfigStatusList(a []pb.FeedConfigStatus) []modelyesod.FeedConfigStatus
func ToBizFeedItemCollection ¶ added in v0.2.10
func ToBizFeedItemCollection(a *pb.FeedItemCollection) *modelyesod.FeedItemCollection
func ToBizFileMetadata ¶ added in v0.1.3
func ToBizFileMetadata(a *pb.FileMetadata) *modelbinah.FileMetadata
func ToBizGroupFeedItemsBy ¶ added in v0.0.9
func ToBizGroupFeedItemsBy(by librarian.TimeAggregation_AggregationType) modelyesod.GroupFeedItemsBy
func ToBizInternalID ¶
func ToBizInternalID(id *librarian.InternalID) model.InternalID
func ToBizInternalIDList ¶ added in v0.0.10
func ToBizInternalIDList(a []*librarian.InternalID) []model.InternalID
func ToBizInternalIDPtr ¶
func ToBizInternalIDPtr(id *librarian.InternalID) *model.InternalID
func ToBizNotifyFlow ¶ added in v0.1.0
func ToBizNotifyFlow(a *pb.NotifyFlow) *modelnetzach.NotifyFlow
func ToBizNotifyTarget ¶ added in v0.1.0
func ToBizNotifyTarget(a *pb.NotifyTarget) *modelnetzach.NotifyTarget
func ToBizNotifyTargetStatusList ¶ added in v0.1.0
func ToBizNotifyTargetStatusList(a []pb.NotifyTargetStatus) []modelnetzach.NotifyTargetStatus
func ToBizPorterFeatureSummary ¶ added in v0.2.0
func ToBizPorterFeatureSummary(a *porter.PorterFeatureSummary) *modeltiphereth.PorterFeatureSummary
func ToBizPorterPrivilege ¶ added in v0.2.0
func ToBizPorterPrivilege(a *pb.PorterPrivilege) *modeltiphereth.PorterInstancePrivilege
func ToBizPorterStatus ¶ added in v0.2.0
func ToBizPorterStatus(s pb.UserStatus) modeltiphereth.PorterInstanceStatus
func ToBizSystemNotificationLevelList ¶ added in v0.2.10
func ToBizSystemNotificationLevelList(a []pb.SystemNotificationLevel) []modelnetzach.SystemNotificationLevel
func ToBizSystemNotificationStatusList ¶ added in v0.2.10
func ToBizSystemNotificationStatusList(a []pb.SystemNotificationStatus) []modelnetzach.SystemNotificationStatus
func ToBizSystemNotificationTypeList ¶ added in v0.2.10
func ToBizSystemNotificationTypeList(a []pb.SystemNotificationType) []modelnetzach.SystemNotificationType
func ToBizUserStatusList ¶ added in v0.0.10
func ToBizUserStatusList(a []pb.UserStatus) []modeltiphereth.UserStatus
func ToLibAuthUserTypeList ¶ added in v0.0.10
func ToPBAccount ¶ added in v0.0.10
func ToPBAccount(a *modeltiphereth.Account) *librarian.Account
func ToPBAccountList ¶ added in v0.0.10
func ToPBAccountList(a []*modeltiphereth.Account) []*librarian.Account
func ToPBAppBinary ¶ added in v0.2.3
func ToPBAppBinary(a *modelgebura.AppBinary) *pb.AppBinary
func ToPBAppInfo ¶ added in v0.2.3
func ToPBAppInfo(a *modelgebura.AppInfo) *librarian.AppInfo
func ToPBAppInfoList ¶ added in v0.2.3
func ToPBAppInfoList(a []*modelgebura.AppInfo) []*librarian.AppInfo
func ToPBAppInfoMixed ¶ added in v0.2.3
func ToPBAppInfoMixed(a *modelgebura.AppInfoMixed) *librarian.AppInfoMixed
func ToPBAppInfoMixedList ¶ added in v0.2.3
func ToPBAppInfoMixedList(a []*modelgebura.AppInfoMixed) []*librarian.AppInfoMixed
func ToPBAppInstList ¶ added in v0.2.3
func ToPBAppInstList(a []*modelgebura.AppInst) []*pb.AppInst
func ToPBAppList ¶ added in v0.0.10
func ToPBAppList(a []*modelgebura.App) []*pb.App
func ToPBDeviceInfo ¶ added in v0.2.1
func ToPBDeviceInfo(a *modeltiphereth.DeviceInfo) *pb.DeviceInfo
func ToPBDeviceInfoList ¶ added in v0.2.1
func ToPBDeviceInfoList(a []*modeltiphereth.DeviceInfo) []*pb.DeviceInfo
func ToPBDuration ¶
func ToPBDuration(d time.Duration) *durationpb.Duration
func ToPBEnclosure ¶ added in v0.0.10
func ToPBEnclosure(a *modelfeed.Enclosure) *librarian.FeedEnclosure
func ToPBFeatureRequest ¶ added in v0.2.10
func ToPBFeatureRequest(a *modeltiphereth.FeatureRequest) *librarian.FeatureRequest
func ToPBFeedActionSetList ¶ added in v0.2.10
func ToPBFeedActionSetList(a []*modelyesod.FeedActionSet) []*pb.FeedActionSet
func ToPBFeedConfig ¶ added in v0.0.10
func ToPBFeedConfig(a *modelyesod.FeedConfig) *pb.FeedConfig
func ToPBFeedConfigPullStatus ¶ added in v0.2.10
func ToPBFeedConfigPullStatus(s modelyesod.FeedConfigPullStatus) *pb.FeedConfigPullStatus
func ToPBFeedItemCollectionList ¶ added in v0.2.10
func ToPBFeedItemCollectionList(a []*modelyesod.FeedItemCollection) []*pb.FeedItemCollection
func ToPBFeedItemDigestList ¶ added in v0.1.6
func ToPBFeedItemDigestList(a []*modelyesod.FeedItemDigest) []*pb.FeedItemDigest
func ToPBFeedItemList ¶ added in v0.0.10
func ToPBFeedWithConfig ¶ added in v0.0.10
func ToPBFeedWithConfig(a *modelyesod.FeedWithConfig) *pb.ListFeedConfigsResponse_FeedWithConfig
func ToPBFeedWithConfigList ¶ added in v0.0.10
func ToPBFeedWithConfigList(a []*modelyesod.FeedWithConfig) []*pb.ListFeedConfigsResponse_FeedWithConfig
func ToPBInternalID ¶
func ToPBInternalID(id model.InternalID) *librarian.InternalID
func ToPBInternalIDList ¶ added in v0.0.10
func ToPBInternalIDList(a []model.InternalID) []*librarian.InternalID
func ToPBItemIDWithFeedID ¶ added in v0.0.10
func ToPBItemIDWithFeedID(a *modelyesod.FeedItemDigest) *pb.FeedItemDigest
func ToPBNotifyFlow ¶ added in v0.1.0
func ToPBNotifyFlow(a *modelnetzach.NotifyFlow) *pb.NotifyFlow
func ToPBNotifyFlowList ¶ added in v0.1.0
func ToPBNotifyFlowList(a []*modelnetzach.NotifyFlow) []*pb.NotifyFlow
func ToPBNotifyTarget ¶ added in v0.1.0
func ToPBNotifyTarget(a *modelnetzach.NotifyTarget) *pb.NotifyTarget
func ToPBNotifyTargetList ¶ added in v0.1.0
func ToPBNotifyTargetList(a []*modelnetzach.NotifyTarget) []*pb.NotifyTarget
func ToPBPorterList ¶ added in v0.2.0
func ToPBPorterList(a []*modeltiphereth.PorterInstance) []*pb.Porter
func ToPBPorterStatus ¶ added in v0.2.0
func ToPBPorterStatus(s modeltiphereth.PorterInstanceStatus) pb.UserStatus
func ToPBServerFeatureSummary ¶ added in v0.2.0
func ToPBServerFeatureSummary(a *modeltiphereth.ServerFeatureSummary) *pb.ServerFeatureSummary
func ToPBSystemNotificationList ¶ added in v0.2.10
func ToPBSystemNotificationList(a []*modelnetzach.SystemNotification) []*pb.SystemNotification
func ToPBTimePtr ¶
func ToPBTimePtr(t *time.Time) *timestamppb.Timestamp
func ToPBUserList ¶ added in v0.0.10
func ToPBUserList(a []*modeltiphereth.User) []*pb.User
func ToPBUserSessionList ¶ added in v0.2.1
func ToPBUserSessionList(a []*modeltiphereth.UserSession) []*pb.UserSession
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.