Documentation ¶
Index ¶
- Constants
- func FindBuildId(versioningData *persistencespb.VersioningData, buildId string) (setIndex, indexInSet int)
- func UnversionedBuildIdSearchAttribute(buildId string) string
- func VersionStampToBuildIdSearchAttribute(stamp *commonpb.WorkerVersionStamp) string
- func VersionedBuildIdSearchAttribute(buildId string) string
- func WorkflowsExistForBuildId(ctx context.Context, visibilityManager manager.VisibilityManager, ...) (bool, error)
Constants ¶
View Source
const ( BuildIdSearchAttributeDelimiter = ":" // UnversionedSearchAttribute is the sentinel value used to mark all unversioned workflows UnversionedSearchAttribute = buildIdSearchAttributePrefixUnversioned )
Variables ¶
This section is empty.
Functions ¶
func FindBuildId ¶
func FindBuildId(versioningData *persistencespb.VersioningData, buildId string) (setIndex, indexInSet int)
FindBuildId finds a build id in the version data's sets, returning (set index, index within that set). Returns -1, -1 if not found.
func UnversionedBuildIdSearchAttribute ¶
VersionedBuildIdSearchAttribute returns the search attribute value for an versioned build id
func VersionStampToBuildIdSearchAttribute ¶
func VersionStampToBuildIdSearchAttribute(stamp *commonpb.WorkerVersionStamp) string
VersionStampToBuildIdSearchAttribute returns the search attribute value for a version stamp
func VersionedBuildIdSearchAttribute ¶
VersionedBuildIdSearchAttribute returns the search attribute value for an unversioned build id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.