recorder

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package recorder records the association name of the last executed association to avoid duplicate execution

Index

Constants

View Source
const AssociatedDocumentName = "InstanceDocument.json"

AssociatedDocumentName represents file recording the name of the last associated document

Variables

This section is empty.

Functions

func HasExecuted

func HasExecuted(instanceID string, associationName string) bool

HasExecuted returns if given document has been executed

func UpdateAssociatedDocument

func UpdateAssociatedDocument(InstanceID string, associationName string) error

UpdateAssociatedDocument persist last executed association name

Types

type AssociatedDocument

type AssociatedDocument struct {
	AssociationID string
}

AssociatedDocument contains the association name

Jump to

Keyboard shortcuts

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