MCPcopy Index your code
hub / github.com/devspace-sh/devspace / GetRegistryAuthSecretName

Function GetRegistryAuthSecretName

pkg/devspace/pullsecrets/registry.go:139–141  ·  view source on GitHub ↗

GetRegistryAuthSecretName returns the name of the image pull secret for a registry

(registryURL string)

Source from the content-addressed store, hash-verified

137
138// GetRegistryAuthSecretName returns the name of the image pull secret for a registry
139func GetRegistryAuthSecretName(registryURL string) string {
140 return "devspace-pull-secrets"
141}
142
143func SafeName(name string) string {
144 if len(name) > 63 {

Callers 2

ensurePullSecretMethod · 0.85
CreatePullSecretMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected