imagecredentialprovider

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BinPath is the path to the image-credential-provider binary.
	BinPath = "/etc/eks/image-credential-provider/ecr-credential-provider"
)

Variables

This section is empty.

Functions

func Install

func Install(ctx context.Context, opts InstallOptions) error

Install installs the image-credential-provider at BinPath.

func Uninstall

func Uninstall() error

func Upgrade added in v1.0.4

func Upgrade(ctx context.Context, src Source, log *zap.Logger) error

Types

type InstallOptions added in v1.0.4

type InstallOptions struct {
	InstallRoot string
	Tracker     *tracker.Tracker
	Source      Source
	Logger      *zap.Logger
}

InstallOptions contains options for installing image credential provider

type Source

type Source interface {
	GetImageCredentialProvider(context.Context) (artifact.Source, error)
}

Source represents a source that serves an image-credential-provider binary.

Jump to

Keyboard shortcuts

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