internal

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KeyedMutex = &MutexMap{}
View Source
var Mutex = &sync.Mutex{}

Functions

func CheckRunbookInGit added in v0.41.0

func CheckRunbookInGit(client newclient.Client, spaceID string, projectID string) (bool, error)

CheckRunbookInGit the Projects persistence settings to see if the runbook are stored in git spaceId is not required(can be empty string)

func GenerateRandomCryptoString

func GenerateRandomCryptoString(length int) string

func GenerateRandomSerialNumber

func GenerateRandomSerialNumber() big.Int

Types

type MutexMap added in v1.0.0

type MutexMap struct {
	// contains filtered or unexported fields
}

func (*MutexMap) Lock added in v1.0.0

func (km *MutexMap) Lock(key string)

func (*MutexMap) Unlock added in v1.0.0

func (km *MutexMap) Unlock(key string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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