Documentation ¶
Index ¶
- func Extract(ctx context.Context, src string, dest string) error
- type Registry
- func (r *Registry) GetArtifact(ctx context.Context, ref types.PkgRef, platform types.Platform) (string, error)
- func (r *Registry) GetArtifactMetadata(ctx context.Context, ref types.PkgRef, platform types.Platform) (types.ArtifactMetadata, error)
- func (r *Registry) GetPackage(ctx context.Context, ref types.PkgRef, platform types.Platform) (string, error)
- func (r *Registry) GetReleaseMetadata(ctx context.Context, ref types.PkgRef) (types.ReleaseMetadata, error)
- func (r *Registry) ListReleases(ctx context.Context, owner, repo string) ([]types.ReleaseMetadata, error)
- func (r *Registry) ResolveVersion(ref types.PkgRef) (types.PkgRef, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewLocalRegistry ¶
func (*Registry) GetArtifact ¶
func (*Registry) GetArtifactMetadata ¶
func (*Registry) GetPackage ¶
func (*Registry) GetReleaseMetadata ¶
func (*Registry) ListReleases ¶
Click to show internal directories.
Click to hide internal directories.