locks

package
v2.85.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByID

func ByID(id string)

func ByName

func ByName(name string, resourceType string)

handle the case of using the same name for different kinds of resources

func MultipleByName

func MultipleByName(names *[]string, resourceType string)

func NewMutexKV

func NewMutexKV() *mutexKV

Returns a properly initialized mutexKV

func UnlockByID

func UnlockByID(id string)

func UnlockByName

func UnlockByName(name string, resourceType string)

func UnlockMultipleByName

func UnlockMultipleByName(names *[]string, resourceType string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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