Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRegistryAuthSecretName ¶ added in v1.0.0
GetRegistryAuthSecretName returns the name of the image pull secret for a registry
func GetRegistryFromImageName ¶
GetRegistryFromImageName retrieves the registry name from an imageName
func GetStrippedDockerImageName ¶
GetStrippedDockerImageName returns a tag stripped image name and checks if it's a valid image name
Types ¶
type Client ¶
type Client interface {
CreatePullSecrets() error
CreatePullSecret(options *PullSecretOptions) error
}
Client communicates with a registry
type PullSecretOptions ¶
type PullSecretOptions struct {
Namespace, RegistryURL, Username, PasswordOrToken, Email string
}
PullSecretOptions has all options neccessary to create a pullSecret
Click to show internal directories.
Click to hide internal directories.