mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 16:06:47 +00:00
Upgrades to go-execute/v2 and updates various other dependencies. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
35 lines
1.0 KiB
Go
Generated
35 lines
1.0 KiB
Go
Generated
package reference
|
|
|
|
import "github.com/distribution/reference"
|
|
|
|
// IsNameOnly returns true if reference only contains a repo name.
|
|
//
|
|
// Deprecated: use [reference.IsNameOnly].
|
|
func IsNameOnly(ref reference.Named) bool {
|
|
return reference.IsNameOnly(ref)
|
|
}
|
|
|
|
// FamiliarName returns the familiar name string
|
|
// for the given named, familiarizing if needed.
|
|
//
|
|
// Deprecated: use [reference.FamiliarName].
|
|
func FamiliarName(ref reference.Named) string {
|
|
return reference.FamiliarName(ref)
|
|
}
|
|
|
|
// FamiliarString returns the familiar string representation
|
|
// for the given reference, familiarizing if needed.
|
|
//
|
|
// Deprecated: use [reference.FamiliarString].
|
|
func FamiliarString(ref reference.Reference) string {
|
|
return reference.FamiliarString(ref)
|
|
}
|
|
|
|
// FamiliarMatch reports whether ref matches the specified pattern.
|
|
// See [path.Match] for supported patterns.
|
|
//
|
|
// Deprecated: use [reference.FamiliarMatch].
|
|
func FamiliarMatch(pattern string, ref reference.Reference) (bool, error) {
|
|
return reference.FamiliarMatch(pattern, ref)
|
|
}
|