Documentation
¶
Index ¶
- Variables
- func ConvertPlatformV1ToCtrd(v1Platform *v1.Platform) platforms.Platform
- func DescribePlatform(platform platforms.Platform) string
- func DescribePlatforms(plats ...platforms.Platform) string
- func FindManifestForPlatform(findFor platforms.Platform, manifests []v1.Descriptor) *v1.Descriptor
- func FindManifestForPlatforms(findFor []platforms.Platform, manifests []v1.Descriptor) *v1.Descriptor
- type CachedImageStore
- type Client
- type DiskLayerWriter
- type ImageStore
- type Inputs
- type LayerWriter
- type OutputValue
- type Outputs
- type RemoteImageStore
- type VersionLookup
Constants ¶
This section is empty.
Variables ¶
View Source
var CachedImageStoreOpts = cachedImageStoreOpts{}
View Source
var RemoteImageStoreOpts = remoteImageStoreOpts{}
Functions ¶
func ConvertPlatformV1ToCtrd ¶
func DescribePlatform ¶
func DescribePlatforms ¶
func FindManifestForPlatform ¶
func FindManifestForPlatform(findFor platforms.Platform, manifests []v1.Descriptor) *v1.Descriptor
func FindManifestForPlatforms ¶
func FindManifestForPlatforms(findFor []platforms.Platform, manifests []v1.Descriptor) *v1.Descriptor
Types ¶
type CachedImageStore ¶
type CachedImageStore struct {
// contains filtered or unexported fields
}
CachedImageStore caches complete OCI images (not individual layers), and does so only for fully qualified image references. A fully qualified image reference has either a digest or a tag with major.minor.patch (and optionally release) components. Image refs with only major, major.minor, or `latest` tags are not cached. Note: there is no cache expiration/eviction yet.
func NewCachedImageStore ¶
func NewCachedImageStore(remote ImageStore, options ...func(*CachedImageStore)) *CachedImageStore
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(imageStore ImageStore, versionLookup VersionLookup) *Client
type DiskLayerWriter ¶
type DiskLayerWriter struct {
}
func NewDiskLayerWriter ¶
func NewDiskLayerWriter() *DiskLayerWriter
type ImageStore ¶
type Inputs ¶
type OutputValue ¶
type RemoteImageStore ¶
type RemoteImageStore struct {
// contains filtered or unexported fields
}
RemoteImageStore downloads and extract OCI images. The path is composed from the image reference and is rooted at `storePath`. There's no caching or cleanup.
func NewRemoteImageStore ¶
func NewRemoteImageStore(options ...func(*RemoteImageStore)) *RemoteImageStore
Click to show internal directories.
Click to hide internal directories.