Documentation ¶
Index ¶
- func ParseImage(n string) (string, string, string, string, error)
- func SetLog(l logger)
- type AuthTokenTransport
- type Config
- type ConfigV1
- type ConfigV2
- type Image
- type Layer
- type LayerV1
- type LayerV2
- type Manifest
- type ManifestV1
- type ManifestV2
- type Opts
- type Platform
- type PlatformV1
- func (p *PlatformV1) Architecture() string
- func (p *PlatformV1) Digest() digest.Digest
- func (p *PlatformV1) Features() []string
- func (p *PlatformV1) Manifest() (Manifest, error)
- func (p *PlatformV1) OS() string
- func (p *PlatformV1) OSFeatures() []string
- func (p *PlatformV1) OSVersion() string
- func (p *PlatformV1) Variant() string
- type PlatformV2
- func (p *PlatformV2) Architecture() string
- func (p *PlatformV2) Digest() digest.Digest
- func (p *PlatformV2) Features() []string
- func (p *PlatformV2) Manifest() (Manifest, error)
- func (p *PlatformV2) OS() string
- func (p *PlatformV2) OSFeatures() []string
- func (p *PlatformV2) OSVersion() string
- func (p *PlatformV2) Variant() string
- type Registry
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthTokenTransport ¶
type AuthTokenTransport struct { Transport http.RoundTripper // contains filtered or unexported fields }
AuthTokenTransport defines the data structure for custom http.Request options.
type Image ¶
type ManifestV1 ¶
type ManifestV1 struct {
// contains filtered or unexported fields
}
func NewManifestV1 ¶
func NewManifestV1(p *PlatformV1, m *schema1.SignedManifest, manifestDigest digest.Digest) (*ManifestV1, error)
func (*ManifestV1) Config ¶
func (m *ManifestV1) Config() (Config, error)
func (*ManifestV1) Layers ¶
func (m *ManifestV1) Layers() []Layer
func (*ManifestV1) MediaType ¶
func (m *ManifestV1) MediaType() string
func (*ManifestV1) SchemaVersion ¶
func (m *ManifestV1) SchemaVersion() int
type ManifestV2 ¶
type ManifestV2 struct {
// contains filtered or unexported fields
}
func NewManifestV2 ¶
func NewManifestV2(m schema2.Manifest, p *PlatformV2) *ManifestV2
func (*ManifestV2) Config ¶
func (m *ManifestV2) Config() (Config, error)
func (*ManifestV2) Layers ¶
func (m *ManifestV2) Layers() []Layer
func (*ManifestV2) MediaType ¶
func (m *ManifestV2) MediaType() string
func (*ManifestV2) SchemaVersion ¶
func (m *ManifestV2) SchemaVersion() int
type PlatformV1 ¶
type PlatformV1 struct {
// contains filtered or unexported fields
}
func (*PlatformV1) Architecture ¶
func (p *PlatformV1) Architecture() string
func (*PlatformV1) Digest ¶
func (p *PlatformV1) Digest() digest.Digest
func (*PlatformV1) Features ¶
func (p *PlatformV1) Features() []string
func (*PlatformV1) Manifest ¶
func (p *PlatformV1) Manifest() (Manifest, error)
func (*PlatformV1) OS ¶
func (p *PlatformV1) OS() string
func (*PlatformV1) OSFeatures ¶
func (p *PlatformV1) OSFeatures() []string
func (*PlatformV1) OSVersion ¶
func (p *PlatformV1) OSVersion() string
func (*PlatformV1) Variant ¶
func (p *PlatformV1) Variant() string
type PlatformV2 ¶
type PlatformV2 struct {
// contains filtered or unexported fields
}
func (*PlatformV2) Architecture ¶
func (p *PlatformV2) Architecture() string
func (*PlatformV2) Digest ¶
func (p *PlatformV2) Digest() digest.Digest
func (*PlatformV2) Features ¶
func (p *PlatformV2) Features() []string
func (*PlatformV2) Manifest ¶
func (p *PlatformV2) Manifest() (Manifest, error)
func (*PlatformV2) OS ¶
func (p *PlatformV2) OS() string
func (*PlatformV2) OSFeatures ¶
func (p *PlatformV2) OSFeatures() []string
func (*PlatformV2) OSVersion ¶
func (p *PlatformV2) OSVersion() string
func (*PlatformV2) Variant ¶
func (p *PlatformV2) Variant() string
type Registry ¶
type Repository ¶
type Repository interface { FullName() string Image(digest string, tag string) Image Images() ([]Image, error) }
func NewRepository ¶
func NewRepository(image string, o Opts) (Repository, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.