Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnnotationMetadataVersion is the annotation key used to describe the metadata version. AnnotationMetadataVersion = "formulae.brew.sh/version" // MetadataVersionV1 is the value of the "formulae.brew.sh/version" annotation for the v1 API. MetadataVersionV1 = "v1" // MetadataVersionV2 is the value of the "formulae.brew.sh/version" annotation for the v2 API. MetadataVersionV2 = "v2" // MetadataVersionV3 is the value of the "formulae.brew.sh/version" annotation for the v3 API. MetadataVersionV3 = "v3" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Local ¶
type Local struct {
Dir string
}
Local defines a local bottle store. The local directory stores oci-layout bottle repository dirs.
func (*Local) Repositories ¶
Repositories lists bottle repositories.
type Remote ¶
type Remote struct {
// contains filtered or unexported fields
}
Remote defines a registry of bottles.
func (*Remote) Ping ¶ added in v0.2.0
Ping checks whether or not the registry implement Docker Registry API V2 or OCI Distribution Specification. Ping can be used to check authentication when an auth client is configured.
func (*Remote) Repositories ¶
Repositories lists bottle repositories.
Click to show internal directories.
Click to hide internal directories.