verify

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerImage

type ContainerImage struct {
	coreImage.ContainerImage
}

func NewVerifyContainerImage

func NewVerifyContainerImage(url, auth, filePath string, dCli *dockerclient.Client) *ContainerImage

func (*ContainerImage) Verify

func (ci *ContainerImage) Verify() error

type PullSecret

type PullSecret struct {
	corePullSecret.PullSecret
}

func NewVerifyPullSecret

func NewVerifyPullSecret(filePath string, inspect, debug bool) *PullSecret

func (*PullSecret) Verify

func (ps *PullSecret) Verify() []error

type Registry

type Registry struct {
	coreReg.Registry
}

func NewVerifyRegistry

func NewVerifyRegistry(url, filePath string, debug bool) (*Registry, error)

func (*Registry) Verify

func (reg *Registry) Verify() error

func (*Registry) VerifyRegistryCredentials

func (reg *Registry) VerifyRegistryCredentials() error

VerifyRegistryCredentials verifies the registry credentials for the given RegistryEntry. It creates a new Docker client and logs in to the registry using the provided credentials. Returns an error if the client cannot be created or if the login fails.

func (*Registry) VerifyRegistryPushAndPull

func (reg *Registry) VerifyRegistryPushAndPull() error

VerifyRegistryPushAndPull verifies if the registry - can be pushed and pulled by encoding the private registry auth, - preparing a temporary image - pushing the image to the registry - pulling the image from the registry.

Jump to

Keyboard shortcuts

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