identifier

package
v0.6.32 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 10 Imported by: 2

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