registry

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: Apache-2.0 Imports: 16 Imported by: 12

Documentation

Index

Constants

View Source
const InternalRegistryDeploymentName = "devspace-registry-docker-registry"

InternalRegistryDeploymentName is the name of the kubernetes deployment

View Source
const InternalRegistryName = "devspace-registry"

InternalRegistryName is the name of the release used to deploy the internal registry

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(generatedConfig *generated.Config, imageConfig *v1.ImageConfig, includingLatestTag bool) string

GetImageURL returns the image (optional with tag)

func GetRegistryAuthSecretName added in v1.0.0

func GetRegistryAuthSecretName(registryURL string) string

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.ClientWrapper, internalRegistry *v1.InternalRegistryConfig, registryConfig *v1.RegistryConfig) error

InitInternalRegistry deploys and starts a new docker registry if necessary

Types

This section is empty.

Jump to

Keyboard shortcuts

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