Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateHTTPImpl ¶ added in v0.0.79
func ValidateHTTPImpl(impl *spec.HTTPToolImpl) error
func ValidateTool ¶
ValidateTool performs structural validation of a Tool object.
Types ¶
type SlugLocks ¶
type SlugLocks struct {
// contains filtered or unexported fields
}
SlugLocks keeps a RW-mutex per bundle|slug pair so that concurrent access to the same (bundle, slug) is serialised while allowing full parallelism for different pairs.
func NewSlugLocks ¶
func NewSlugLocks() *SlugLocks
NewSlugLocks constructs an empty slugLocks helper.
func (*SlugLocks) LockKey ¶
func (l *SlugLocks) LockKey( bundleID bundleitemutils.BundleID, slug bundleitemutils.ItemSlug, ) *sync.RWMutex
LockKey returns (and lazily creates) the mutex for the given bundle|slug.
Click to show internal directories.
Click to hide internal directories.