loader

package
v0.0.0-...-d37e48f Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerAuth

type DockerAuth struct {
	Auth string `json:"auth"`
}

DockerAuth represents the auth structure within the docker config.

type DockerConfig

type DockerConfig struct {
	Auths map[string]DockerAuth `json:"auths"`
}

DockerConfig represents the structure of the docker config JSON.

type Loader

type Loader interface {
	GetImageDigest(pullString string, imagePullSecrets []string) (string, error)
}

type RemoteLoader

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

func NewLoader

func NewLoader() RemoteLoader

todo - implement options pattern for new loader

func (RemoteLoader) GetIdentityFromSecret

func (l RemoteLoader) GetIdentityFromSecret(pullSecrets []string) (string, string, error)

func (RemoteLoader) GetImageDigest

func (l RemoteLoader) GetImageDigest(pullString string, imagePullSecrets []string) (string, error)

Jump to

Keyboard shortcuts

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