Documentation ¶
Index ¶
- Constants
- func FixServerlessClusterWideExternalRegistrySecret() *v1.Secret
- func GetExternalClusterWideRegistrySecret(ctx context.Context, c client.Client, namespace string) (*corev1.Secret, error)
- func GetRegistryHTTPSecretEnvValue(ctx context.Context, c client.Client, namespace string) (string, error)
- func GetServerlessInternalRegistrySecret(ctx context.Context, c client.Client, namespace string) (*corev1.Secret, error)
- func ListExternalNamespacedScopeSecrets(ctx context.Context, c client.Client) ([]corev1.Secret, error)
- func RandomNodePort() int32
- type NodePortResolver
Constants ¶
View Source
const ( ServerlessRegistryDefaultSecretName = "serverless-registry-config-default" ServerlessExternalRegistrySecretName = "serverless-registry-config" ServerlessExternalRegistryLabelRemoteRegistryKey = "serverless.kyma-project.io/remote-registry" ServerlessExternalRegistryLabelRemoteRegistryVal = "config" 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 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 ¶
Click to show internal directories.
Click to hide internal directories.