identifier

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package identifier This package provides utility functions for creating a unique schedule name and execution name

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExecutionIdentifier

func GetExecutionIdentifier(ctx context.Context, identifier core.Identifier, scheduledTime time.Time) (uuid.UUID, error)

GetExecutionIdentifier returns UUID using the hashed value of the schedule identifier and the scheduledTime

func GetScheduleName

func GetScheduleName(ctx context.Context, s models.SchedulableEntity) string

GetScheduleName generate the schedule name to be used as unique identification string within the scheduler

Types

This section is empty.

Jump to

Keyboard shortcuts

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