package
2.1.0+incompatible
Repository: https://github.com/jexia/semaphore.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Enum value type.
GetMethod returns the method from the given endpoint.
GetService returns the service from the given endpoint.
Index returns the path and the provided index as a path.
InsideProperty checks whether the given property is insde the source property.
LookupReference looks up the given reference.
NewErrUndefinedReference constructs a new error thrown when a undefined reference is given.
NewErrUnresolvedProperty is thrown when the given property has not been resolved.
NewPrefixStore fixes all writes and reads from the given store on the set resource and prefix path.
NewRepeating appends the given repeating values to the given reference.
NewRepeatingMessages appends the given repeating messages to the given reference.
NewStore constructs a new store and allocates the references for the given length.
NewTracker constructs a new position tracker.
ParameterReferences returns all the available references inside the given parameter map.
PropertyReferences returns the available references within the given property.
ReferencedParameterMapPaths constructs a new parameter map containing only the paths provided inisde the references collection.
ReferencedPathsProperty constructs a new property containing only the paths provided inisde the references collection.
ReferencedResourcePaths defines all paths references to the given resource inside the given flow.
Resolve all references inside the given flow list.
ResolveCall resolves all references made within the given call.
ResolveFlow all references made within the given flow.
ResolveNode resolves all references made within the given node.
ResolveOnError resolves references made inside the given on error specs.
ResolveParameterMap resolves all references made within the given parameter map.
ResolveParams resolves all references made within the given parameters.
ResolveProperty resolves all references made within the given property.
ScopeNestedReferences clones all properties on the left side to the target on the right side.
StoreValues stores the given values to the reference store.
# Structs
EnumVal represents a enum value.
ErrUndefinedReference occurs when resolving meets unknown reference.
ErrUndefinedResource occurs when resolving meets unknown resource.
ErrUnresolvedCall is thrown when Semaphore is unable to resolve a reference inside the given call.
ErrUnresolvedFlow occurs when the whole flow cannot be resolved.
ErrUnresolvedNode is thrown when Semaphore is unable to resolve a reference inside the given node.
ErrUnresolvedOnError is thrown when Semaphore is unable to resolve a reference inside the given on error.
ErrUnresolvedParameterMap is thrown when Semaphore is unable to resolve a reference in the given parameter map.
ErrUnresolvedParams is thrown when Semaphore is unable to resolve a reference inside the given parameters.
ErrUnresolvedProperty is thrown when Semaphore is unable to resolve a reference inside the given property.
Reference represents a value reference.
# Type aliases
Collection represents a map of property references.
ReferencedCollection contains a collection of paths.