dockerconfig

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TmpPath             = "/tmp/dynatrace-operator"
	CADir               = "ca"
	TrustedCertFileName = "custom.crt"
	RegistryAuthDir     = "dockerconf"
)

Variables

This section is empty.

Functions

func MakeSystemContext

func MakeSystemContext(dockerReference reference.Named, dockerConfig *DockerConfig) *types.SystemContext

MakeSystemContext returns a SystemConfig for the given image and Dockerconfig.

Types

type DockerConfig

type DockerConfig struct {
	ApiReader        client.Reader
	Dynakube         *dynatracev1beta1.DynaKube
	RegistryAuthPath string
	TrustedCertsPath string
	// contains filtered or unexported fields
}

func NewDockerConfig

func NewDockerConfig(apiReader client.Reader, dynakube dynatracev1beta1.DynaKube) *DockerConfig

func (*DockerConfig) Cleanup added in v0.11.0

func (config *DockerConfig) Cleanup(fs afero.Afero) error

func (*DockerConfig) SetRegistryAuthSecret added in v0.11.0

func (config *DockerConfig) SetRegistryAuthSecret(secret *corev1.Secret)

func (*DockerConfig) SkipCertCheck

func (config *DockerConfig) SkipCertCheck() bool

func (*DockerConfig) StoreRequiredFiles added in v0.11.0

func (config *DockerConfig) StoreRequiredFiles(ctx context.Context, fs afero.Afero) error

Jump to

Keyboard shortcuts

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