Documentation ¶
Index ¶
- func CreatePullSecret(kubectl *kubernetes.Clientset, ...) error
- func GetImageURL(imageConfig *v1.ImageConfig, includingLatestTag bool) string
- func GetRegistryAuthSecretName(registryURL string) string
- func GetRegistryConfig(imageConfig *v1.ImageConfig) (*v1.RegistryConfig, error)
- func InitInternalRegistry(kubectl *kubernetes.Clientset, helm *helm.HelmClientWrapper, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePullSecret ¶ added in v1.0.0
func CreatePullSecret(kubectl *kubernetes.Clientset, namespace, registryURL, username, passwordOrToken, email string) error
CreatePullSecret creates an image pull secret for a registry
func GetImageURL ¶ added in v1.0.0
func GetImageURL(imageConfig *v1.ImageConfig, includingLatestTag bool) string
GetImageURL returns the image (optional with tag)
func GetRegistryAuthSecretName ¶ added in v1.0.0
GetRegistryAuthSecretName returns the name of the image pull secret for a registry
func GetRegistryConfig ¶ added in v1.0.0
func GetRegistryConfig(imageConfig *v1.ImageConfig) (*v1.RegistryConfig, error)
GetRegistryConfig returns the registry config for an image or an error if the registry is not defined
func InitInternalRegistry ¶ added in v1.0.0
func InitInternalRegistry(kubectl *kubernetes.Clientset, helm *helm.HelmClientWrapper, internalRegistry *v1.InternalRegistry, registryConfig *v1.RegistryConfig) error
InitInternalRegistry deploys and starts a new docker registry if necessary
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.