mirror of
https://github.com/regclient/regclient.git
synced 2025-04-18 22:44:00 +03:00
Legacy packages may still be used with "-tags legacy" added to the build. They may be permanently removed in a future release. Signed-off-by: Brandon Mitchell <git@bmitch.net>
21 lines
385 B
Go
21 lines
385 B
Go
//go:build legacy
|
|
// +build legacy
|
|
|
|
// Legacy package, this has been moved to the types/ref package
|
|
|
|
package types
|
|
|
|
import (
|
|
"github.com/regclient/regclient/types/ref"
|
|
)
|
|
|
|
// Ref is used for a reference to an image or repository.
|
|
//
|
|
// Deprecated: replace with [ref.Ref].
|
|
type Ref = ref.Ref
|
|
|
|
// NewRef create a new [Ref].
|
|
//
|
|
// Deprecated: replace with [ref.New].
|
|
var NewRef = ref.New
|