Documentation ¶
Index ¶
- func ComposeAppLayersManifest(arch string, layers []distribution.Descriptor) (distribution.Manifest, *distribution.Descriptor, error)
- func GetAppLayers(ctx context.Context, services map[string]types.ServiceConfig, ...) (map[string][]distribution.Descriptor, error)
- func GetAppLayersFromMap(ctx context.Context, svcImages map[string]string, archList []string) (map[string][]distribution.Descriptor, error)
- func GetAppLayersMeta(layersMetaFile string, appLayers map[string][]distribution.Descriptor) ([]byte, error)
- func GetBlobService(ctx context.Context, regClient internal.RegistryClient, ...) (distribution.BlobStore, error)
- func GetLayers(ctx context.Context, services map[string]interface{}, archList []string) (map[string][]distribution.Descriptor, error)
- func GetManifestService(ctx context.Context, regClient internal.RegistryClient, ...) (distribution.ManifestService, error)
- func PostAppLayersManifests(ctx context.Context, appRef string, ...) ([]distribution.Descriptor, error)
- type ArchLayersMeta
- type ArchManifestServices
- type LayerMeta
- type LayersMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposeAppLayersManifest ¶
func ComposeAppLayersManifest(arch string, layers []distribution.Descriptor) (distribution.Manifest, *distribution.Descriptor, error)
func GetAppLayers ¶
func GetAppLayers(ctx context.Context, services map[string]types.ServiceConfig, archList []string) (map[string][]distribution.Descriptor, error)
func GetAppLayersFromMap ¶
func GetAppLayersFromMap(ctx context.Context, svcImages map[string]string, archList []string) (map[string][]distribution.Descriptor, error)
func GetAppLayersMeta ¶
func GetAppLayersMeta(layersMetaFile string, appLayers map[string][]distribution.Descriptor) ([]byte, error)
func GetBlobService ¶
func GetBlobService(ctx context.Context, regClient internal.RegistryClient, repoRef reference.Named) (distribution.BlobStore, error)
func GetLayers ¶
func GetLayers(ctx context.Context, services map[string]interface{}, archList []string) (map[string][]distribution.Descriptor, error)
func GetManifestService ¶
func GetManifestService(ctx context.Context, regClient internal.RegistryClient, repoRef reference.Named) (distribution.ManifestService, error)
func PostAppLayersManifests ¶
func PostAppLayersManifests(ctx context.Context, appRef string, layers map[string][]distribution.Descriptor, dryRun bool) ([]distribution.Descriptor, error)
Types ¶
type ArchLayersMeta ¶
type ArchManifestServices ¶
type ArchManifestServices map[string]map[distribution.ManifestService]digest.Digest
type LayersMeta ¶
type LayersMeta map[string]ArchLayersMeta
Click to show internal directories.
Click to hide internal directories.