converter

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DurationPBToDuration

func DurationPBToDuration(t *durationpb.Duration) time.Duration

func PtrToString

func PtrToString(u *string) string

func ToBizAccountAppRelationType added in v0.2.0

func ToBizAccountAppRelationType(source v1.AccountAppRelationType) model.AccountAppRelationType

func ToBizApp added in v0.0.10

func ToBizApp(source *v11.App) *modelgebura.App

func ToBizAppBinary added in v0.2.11

func ToBizAppBinary(source *v11.AppBinary) *modelgebura.AppBinary

func ToBizAppBinaryList added in v0.2.3

func ToBizAppBinaryList(source []*v11.AppBinary) []*modelgebura.AppBinary

func ToBizAppInfo added in v0.2.3

func ToBizAppInfo(source *v1.AppInfo) *modelgebura.AppInfo

func ToBizAppInfoDetail added in v0.2.11

func ToBizAppInfoDetail(source *v1.AppInfoDetails) *modelgebura.AppInfoDetails

func ToBizAppInfoID added in v0.2.3

func ToBizAppInfoID(source *v1.AppInfoID) *modelgebura.AppInfoID

func ToBizAppInfoIDList added in v0.2.3

func ToBizAppInfoIDList(source []*v1.AppInfoID) []*modelgebura.AppInfoID

func ToBizAppInfoList added in v0.2.7

func ToBizAppInfoList(source []*v1.AppInfo) []*modelgebura.AppInfo

func ToBizAppInst added in v0.2.3

func ToBizAppInst(source *v11.AppInst) *modelgebura.AppInst

func ToBizAppType

func ToBizAppType(source v1.AppType) modelgebura.AppType

func ToBizAppTypeList added in v0.0.10

func ToBizAppTypeList(source []v1.AppType) []modelgebura.AppType

func ToBizDeviceInfo added in v0.2.1

func ToBizDeviceInfo(source *v11.DeviceInfo) *modeltiphereth.DeviceInfo

func ToBizDuration added in v0.0.9

func ToBizDuration(d *durationpb.Duration) time.Duration

func ToBizFeatureFlag added in v0.2.11

func ToBizFeatureFlag(source *v1.FeatureFlag) *modelsupervisor.FeatureFlag

func ToBizFeatureRequest added in v0.2.11

func ToBizFeatureRequest(source *v1.FeatureRequest) *modelsupervisor.FeatureRequest

func ToBizFeedActionSet added in v0.2.10

func ToBizFeedActionSet(source *v11.FeedActionSet) *modelyesod.FeedActionSet

func ToBizFeedConfig added in v0.0.10

func ToBizFeedConfig(source *v11.FeedConfig) *modelyesod.FeedConfig

func ToBizFeedConfigPullStatus added in v0.2.11

func ToBizFeedConfigPullStatus(source v11.FeedConfigPullStatus) modelyesod.FeedConfigPullStatus

func ToBizFeedConfigStatus

func ToBizFeedConfigStatus(source v11.FeedConfigStatus) modelyesod.FeedConfigStatus

func ToBizFeedConfigStatusList added in v0.0.10

func ToBizFeedConfigStatusList(source []v11.FeedConfigStatus) []modelyesod.FeedConfigStatus

func ToBizFeedItem added in v0.2.10

func ToBizFeedItem(source *v1.FeedItem) *modelfeed.Item

func ToBizFeedItemCollection added in v0.2.10

func ToBizFeedItemCollection(source *v11.FeedItemCollection) *modelyesod.FeedItemCollection

func ToBizFileMetadata added in v0.1.3

func ToBizFileMetadata(source *v11.FileMetadata) *modelbinah.FileMetadata

func ToBizFileType added in v0.1.3

func ToBizFileType(source v11.FileType) modelbinah.FileType

func ToBizInternalID

func ToBizInternalID(id *librarian.InternalID) model.InternalID

func ToBizInternalIDList added in v0.0.10

func ToBizInternalIDList(source []*v1.InternalID) []model.InternalID

func ToBizInternalIDPtr

func ToBizInternalIDPtr(id *librarian.InternalID) *model.InternalID

func ToBizNotifyFilter added in v0.2.11

func ToBizNotifyFilter(source *v11.NotifyFilter) *modelnetzach.NotifyFilter

func ToBizNotifyFlow added in v0.1.0

func ToBizNotifyFlow(source *v11.NotifyFlow) *modelnetzach.NotifyFlow

func ToBizNotifyFlowSource added in v0.2.11

func ToBizNotifyFlowSource(source *v11.NotifyFlowSource) *modelnetzach.NotifyFlowSource

func ToBizNotifyFlowStatus added in v0.1.0

func ToBizNotifyFlowStatus(source v11.NotifyFlowStatus) modelnetzach.NotifyFlowStatus

func ToBizNotifyFlowTarget added in v0.2.11

func ToBizNotifyFlowTarget(source *v11.NotifyFlowTarget) *modelnetzach.NotifyFlowTarget

func ToBizNotifyTarget added in v0.1.0

func ToBizNotifyTarget(source *v11.NotifyTarget) *modelnetzach.NotifyTarget

func ToBizNotifyTargetStatus added in v0.1.0

func ToBizNotifyTargetStatus(source v11.NotifyTargetStatus) modelnetzach.NotifyTargetStatus

func ToBizNotifyTargetStatusList added in v0.1.0

func ToBizNotifyTargetStatusList(source []v11.NotifyTargetStatus) []modelnetzach.NotifyTargetStatus

func ToBizPorterBinarySummary added in v0.2.11

func ToBizPorterBinarySummary(source *v1.PorterBinarySummary) *modelsupervisor.PorterBinarySummary

func ToBizPorterContext added in v0.2.11

func ToBizPorterContext(source *v11.PorterContext) *modelsupervisor.PorterContext

func ToBizPorterContextHandleStatus added in v0.2.11

func ToBizPorterContextHandleStatus(source v11.PorterContextHandleStatus) modelsupervisor.PorterContextHandleStatus

func ToBizPorterContextStatus added in v0.2.11

func ToBizPorterContextStatus(source v11.PorterContextStatus) modelsupervisor.PorterContextStatus

func ToBizPorterFeatureSummary added in v0.2.0

func ToBizPorterFeatureSummary(source *v1.FeatureSummary) *modelsupervisor.PorterFeatureSummary

func ToBizSystemNotificationLevel added in v0.2.11

func ToBizSystemNotificationLevel(source v11.SystemNotificationLevel) modelnetzach.SystemNotificationLevel

func ToBizSystemNotificationLevelList added in v0.2.10

func ToBizSystemNotificationLevelList(source []v11.SystemNotificationLevel) []modelnetzach.SystemNotificationLevel

func ToBizSystemNotificationStatus added in v0.2.11

func ToBizSystemNotificationStatus(source v11.SystemNotificationStatus) modelnetzach.SystemNotificationStatus

func ToBizSystemNotificationStatusList added in v0.2.10

func ToBizSystemNotificationStatusList(source []v11.SystemNotificationStatus) []modelnetzach.SystemNotificationStatus

func ToBizSystemNotificationType added in v0.2.11

func ToBizSystemNotificationType(source v11.SystemNotificationType) modelnetzach.SystemNotificationType

func ToBizSystemNotificationTypeList added in v0.2.10

func ToBizSystemNotificationTypeList(source []v11.SystemNotificationType) []modelnetzach.SystemNotificationType

func ToBizSystemType added in v0.2.3

func ToBizSystemType(source v11.SystemType) modeltiphereth.SystemType

func ToBizTime added in v0.0.9

func ToBizTime(t *timestamppb.Timestamp) time.Time

func ToBizTimeRange added in v0.0.10

func ToBizTimeRange(source *v1.TimeRange) *model.TimeRange

func ToBizUser added in v0.0.10

func ToBizUser(source *v11.User) *modeltiphereth.User

func ToBizUserStatus

func ToBizUserStatus(source v11.UserStatus) modeltiphereth.UserStatus

func ToBizUserStatusList added in v0.0.10

func ToBizUserStatusList(source []v11.UserStatus) []modeltiphereth.UserStatus

func ToLibAuthUserType

func ToLibAuthUserType(source v11.UserType) libauth.UserType

func ToLibAuthUserTypeList added in v0.0.10

func ToLibAuthUserTypeList(source []v11.UserType) []libauth.UserType

func ToPBAccount added in v0.0.10

func ToPBAccount(source *modeltiphereth.Account) *v1.Account

func ToPBAccountList added in v0.0.10

func ToPBAccountList(source []*modeltiphereth.Account) []*v1.Account

func ToPBApp added in v0.0.10

func ToPBApp(source *modelgebura.App) *v11.App

func ToPBAppBinary added in v0.2.3

func ToPBAppBinary(source *modelgebura.AppBinary) *v11.AppBinary

func ToPBAppInfo added in v0.2.3

func ToPBAppInfo(source *modelgebura.AppInfo) *v1.AppInfo

func ToPBAppInfoDetail added in v0.2.11

func ToPBAppInfoDetail(source *modelgebura.AppInfoDetails) *v1.AppInfoDetails

func ToPBAppInfoList added in v0.2.3

func ToPBAppInfoList(source []*modelgebura.AppInfo) []*v1.AppInfo

func ToPBAppInfoMixed added in v0.2.3

func ToPBAppInfoMixed(source *modelgebura.AppInfoMixed) *v1.AppInfoMixed

func ToPBAppInfoMixedList added in v0.2.3

func ToPBAppInfoMixedList(source []*modelgebura.AppInfoMixed) []*v1.AppInfoMixed

func ToPBAppInst added in v0.2.11

func ToPBAppInst(source *modelgebura.AppInst) *v11.AppInst

func ToPBAppInstList added in v0.2.3

func ToPBAppInstList(source []*modelgebura.AppInst) []*v11.AppInst

func ToPBAppList added in v0.0.10

func ToPBAppList(source []*modelgebura.App) []*v11.App

func ToPBAppType

func ToPBAppType(source modelgebura.AppType) v1.AppType

func ToPBDeviceInfo added in v0.2.1

func ToPBDeviceInfo(source *modeltiphereth.DeviceInfo) *v11.DeviceInfo

func ToPBDeviceInfoList added in v0.2.1

func ToPBDeviceInfoList(source []*modeltiphereth.DeviceInfo) []*v11.DeviceInfo

func ToPBDuration

func ToPBDuration(d time.Duration) *durationpb.Duration

func ToPBEnclosure added in v0.0.10

func ToPBEnclosure(source *modelfeed.Enclosure) *v1.FeedEnclosure

func ToPBFeatureFlag added in v0.2.11

func ToPBFeatureFlag(source *modelsupervisor.FeatureFlag) *v1.FeatureFlag

func ToPBFeatureFlagList added in v0.2.11

func ToPBFeatureFlagList(source []*modelsupervisor.FeatureFlag) []*v1.FeatureFlag

func ToPBFeatureRequest added in v0.2.10

func ToPBFeatureRequest(source *modelsupervisor.FeatureRequest) *v1.FeatureRequest

func ToPBFeed added in v0.0.10

func ToPBFeed(source *modelfeed.Feed) *v1.Feed

func ToPBFeedActionSet added in v0.2.11

func ToPBFeedActionSet(source *modelyesod.FeedActionSet) *v11.FeedActionSet

func ToPBFeedActionSetList added in v0.2.10

func ToPBFeedActionSetList(source []*modelyesod.FeedActionSet) []*v11.FeedActionSet

func ToPBFeedConfig added in v0.0.10

func ToPBFeedConfig(source *modelyesod.FeedConfig) *v11.FeedConfig

func ToPBFeedConfigPullStatus added in v0.2.10

func ToPBFeedConfigPullStatus(s modelyesod.FeedConfigPullStatus) *pb.FeedConfigPullStatus

func ToPBFeedConfigStatus

func ToPBFeedConfigStatus(source modelyesod.FeedConfigStatus) v11.FeedConfigStatus

func ToPBFeedImage added in v0.0.10

func ToPBFeedImage(source *modelfeed.Image) *v1.FeedImage

func ToPBFeedItem added in v0.0.10

func ToPBFeedItem(source *modelfeed.Item) *v1.FeedItem

func ToPBFeedItemCollection added in v0.2.11

func ToPBFeedItemCollection(source *modelyesod.FeedItemCollection) *v11.FeedItemCollection

func ToPBFeedItemCollectionList added in v0.2.10

func ToPBFeedItemCollectionList(source []*modelyesod.FeedItemCollection) []*v11.FeedItemCollection

func ToPBFeedItemDigest added in v0.2.11

func ToPBFeedItemDigest(source *modelyesod.FeedItemDigest) *v11.FeedItemDigest

func ToPBFeedItemDigestList added in v0.1.6

func ToPBFeedItemDigestList(source []*modelyesod.FeedItemDigest) []*v11.FeedItemDigest

func ToPBFeedItemList added in v0.0.10

func ToPBFeedItemList(source []*modelfeed.Item) []*v1.FeedItem

func ToPBFeedWithConfig added in v0.0.10

func ToPBFeedWithConfigList added in v0.0.10

func ToPBFeedWithConfigList(source []*modelyesod.FeedWithConfig) []*v11.ListFeedConfigsResponse_FeedWithConfig

func ToPBInternalID

func ToPBInternalID(id model.InternalID) *librarian.InternalID

func ToPBInternalIDList added in v0.0.10

func ToPBInternalIDList(source []model.InternalID) []*v1.InternalID

func ToPBNotifyFlow added in v0.1.0

func ToPBNotifyFlow(source *modelnetzach.NotifyFlow) *v11.NotifyFlow

func ToPBNotifyFlowList added in v0.1.0

func ToPBNotifyFlowList(source []*modelnetzach.NotifyFlow) []*v11.NotifyFlow

func ToPBNotifyFlowSource added in v0.2.11

func ToPBNotifyFlowSource(source *modelnetzach.NotifyFlowSource) *v11.NotifyFlowSource

func ToPBNotifyFlowStatus added in v0.1.0

func ToPBNotifyFlowStatus(source modelnetzach.NotifyFlowStatus) v11.NotifyFlowStatus

func ToPBNotifyFlowTarget added in v0.2.11

func ToPBNotifyFlowTarget(source *modelnetzach.NotifyFlowTarget) *v11.NotifyFlowTarget

func ToPBNotifyTarget added in v0.1.0

func ToPBNotifyTarget(source *modelnetzach.NotifyTarget) *v11.NotifyTarget

func ToPBNotifyTargetList added in v0.1.0

func ToPBNotifyTargetList(source []*modelnetzach.NotifyTarget) []*v11.NotifyTarget

func ToPBNotifyTargetStatus added in v0.1.0

func ToPBNotifyTargetStatus(source modelnetzach.NotifyTargetStatus) v11.NotifyTargetStatus

func ToPBPorter added in v0.2.11

func ToPBPorterConnectionStatus added in v0.2.3

func ToPBPorterConnectionStatus(source modelsupervisor.PorterConnectionStatus) v11.PorterConnectionStatus

func ToPBPorterContext added in v0.2.11

func ToPBPorterContext(source *modelsupervisor.PorterContextController) *v11.PorterContext

func ToPBPorterContextHandleStatus added in v0.2.11

func ToPBPorterContextHandleStatus(source modelsupervisor.PorterContextHandleStatus) v11.PorterContextHandleStatus

func ToPBPorterContextList added in v0.2.11

func ToPBPorterContextList(source []*modelsupervisor.PorterContextController) []*v11.PorterContext

func ToPBPorterContextStatus added in v0.2.11

func ToPBPorterContextStatus(source modelsupervisor.PorterContextStatus) v11.PorterContextStatus

func ToPBPorterGroup added in v0.2.11

func ToPBPorterGroup(source *modelsupervisor.PorterGroup) *v11.PorterGroup

func ToPBPorterGroupList added in v0.2.11

func ToPBPorterGroupList(source []*modelsupervisor.PorterGroup) []*v11.PorterGroup

func ToPBPorterList added in v0.2.0

func ToPBPorterList(source []*modelsupervisor.PorterInstanceController) []*v11.Porter

func ToPBServerFeatureSummary added in v0.2.0

func ToPBServerFeatureSummary(source *modelsupervisor.ServerFeatureSummary) *v1.FeatureSummary

func ToPBSystemNotification added in v0.2.11

func ToPBSystemNotification(source *modelnetzach.SystemNotification) *v11.SystemNotification

func ToPBSystemNotificationLevel added in v0.2.11

func ToPBSystemNotificationLevel(source modelnetzach.SystemNotificationLevel) v11.SystemNotificationLevel

func ToPBSystemNotificationList added in v0.2.10

func ToPBSystemNotificationList(source []*modelnetzach.SystemNotification) []*v11.SystemNotification

func ToPBSystemNotificationStatus added in v0.2.11

func ToPBSystemNotificationStatus(source modelnetzach.SystemNotificationStatus) v11.SystemNotificationStatus

func ToPBSystemNotificationType added in v0.2.11

func ToPBSystemNotificationType(source modelnetzach.SystemNotificationType) v11.SystemNotificationType

func ToPBSystemType added in v0.2.3

func ToPBSystemType(source modeltiphereth.SystemType) v11.SystemType

func ToPBTime

func ToPBTime(t time.Time) *timestamppb.Timestamp

func ToPBTimePtr

func ToPBTimePtr(t *time.Time) *timestamppb.Timestamp

func ToPBTimeRange added in v0.0.10

func ToPBTimeRange(source *model.TimeRange) *v1.TimeRange

func ToPBUser added in v0.0.10

func ToPBUser(source *modeltiphereth.User) *v11.User

func ToPBUserList added in v0.0.10

func ToPBUserList(source []*modeltiphereth.User) []*v11.User

func ToPBUserSession added in v0.2.11

func ToPBUserSession(source *modeltiphereth.UserSession) *v11.UserSession

func ToPBUserSessionList added in v0.2.1

func ToPBUserSessionList(source []*modeltiphereth.UserSession) []*v11.UserSession

func ToPBUserStatus

func ToPBUserStatus(source modeltiphereth.UserStatus) v11.UserStatus

func ToPBUserType

func ToPBUserType(source libauth.UserType) v11.UserType

Types

This section is empty.

Jump to

Keyboard shortcuts

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