registry

package
v1.0.2-0...-2e0d4d3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerlessRegistryDefaultSecretName      = "serverless-registry-config-default"
	ServerlessExternalRegistryLabelConfigKey = "serverless.kyma-project.io/config"
	ServerlessExternalRegistryLabelConfigVal = "credentials"
	ServerlessRegistryIsInternalKey          = "isInternal"
	ServerlessDockerRegistryDeploymentName   = "serverless-docker-registry"
	RegistryHTTPEnvKey                       = "REGISTRY_HTTP_SECRET"
)

Variables

This section is empty.

Functions

func GetRegistryHTTPSecretEnvValue

func GetRegistryHTTPSecretEnvValue(ctx context.Context, c client.Client, namespace string) (string, error)

func GetServerlessInternalRegistrySecret

func GetServerlessInternalRegistrySecret(ctx context.Context, c client.Client, namespace string) (*corev1.Secret, error)

func RandomNodePort

func RandomNodePort() int32

Types

type NodePortResolver

type NodePortResolver struct {
	// contains filtered or unexported fields
}

func NewNodePortResolver

func NewNodePortResolver(finder nodePortFinder) *NodePortResolver

func (*NodePortResolver) ResolveDockerRegistryNodePortFn

func (npr *NodePortResolver) ResolveDockerRegistryNodePortFn(ctx context.Context, k8sClient client.Client, namespace string) (int32, error)

Jump to

Keyboard shortcuts

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