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 ¶
func NewVerifyRegistry ¶
func (*Registry) VerifyRegistryCredentials ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.