dockerconfig

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 DockerAuth

type DockerAuth struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type DockerConfig

type DockerConfig struct {
	ApiReader        client.Reader
	Dynakube         *dynatracev1beta1.DynaKube
	Auths            map[string]DockerAuth
	TrustedCertsPath string
}

func NewDockerConfig

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

func (*DockerConfig) SaveCustomCAs

func (config *DockerConfig) SaveCustomCAs(
	ctx context.Context,
	fs afero.Afero,
	path string,
) error

func (*DockerConfig) SetupAuths added in v0.7.1

func (config *DockerConfig) SetupAuths(ctx context.Context) error

func (DockerConfig) SkipCertCheck

func (config DockerConfig) SkipCertCheck() bool

Jump to

Keyboard shortcuts

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