internal

package
v0.0.0-...-eb5a04f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2024 License: BSD-3-Clause Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// limits derived from aklite's limitation on an App manifest size
	MaxArchNumb         = 6
	MaxManifestBodySize = 2010 // (2048 - 38) just in case
)

Variables

This section is empty.

Functions

func CreateApp

func CreateApp(ctx context.Context, config map[string]interface{}, target string, dryRun bool, layerManifests []distribution.Descriptor, appLayersMetaData []byte) (string, error)

func PinServiceConfigs

func PinServiceConfigs(cli *client.Client, ctx context.Context, services map[string]interface{}, proj *compose.Project) error

func PinServiceImages

func PinServiceImages(cli *client.Client, ctx context.Context, services map[string]interface{}, proj *compose.Project, pinnedImages map[string]digest.Digest) error

func ResolveAuthConfig

func ResolveAuthConfig(ctx context.Context, index *registrytypes.IndexInfo) types.AuthConfig

Types

type AuthConfigResolver

type AuthConfigResolver func(ctx context.Context, index *registrytypes.IndexInfo) types.AuthConfig

AuthConfigResolver returns Auth Configuration for an index

type RegistryClient

type RegistryClient struct {
	// contains filtered or unexported fields
}

func NewRegistryClient

func NewRegistryClient() RegistryClient

func (*RegistryClient) GetRepository

func (c *RegistryClient) GetRepository(ctx context.Context, ref reference.Named) (distribution.Repository, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL