Documentation ¶
Index ¶
- Constants
- func GetDockerRegistryInternalRegistrySecret(ctx context.Context, c client.Client, namespace string) (*corev1.Secret, error)
- func GetRegistryHTTPSecretEnvValue(ctx context.Context, c client.Client, namespace string) (string, error)
- func GetSecret(ctx context.Context, c client.Client, name, namespace string) (*corev1.Secret, error)
- func RandomNodePort() int32
- type ExternalAccessResolver
- type NodePortResolver
- type ResolvedAccess
Constants ¶
View Source
const ( InternalAccessSecretName = "dockerregistry-config" ExternalAccessSecretName = "dockerregistry-config-external" LabelConfigKey = "dockerregistry.kyma-project.io/config" LabelConfigVal = "credentials" DeploymentName = "dockerregistry" HttpEnvKey = "REGISTRY_HTTP_SECRET" )
View Source
const (
ServicePort = 5000
)
Variables ¶
This section is empty.
Functions ¶
func RandomNodePort ¶
func RandomNodePort() int32
Types ¶
type ExternalAccessResolver ¶
type ExternalAccessResolver interface {
Do(context.Context, client.Client, v1alpha1.ExternalAccess) (*ResolvedAccess, error)
}
func NewExternalAccessResolver ¶
func NewExternalAccessResolver(defaultKymaGatewayHostPrefix string) ExternalAccessResolver
type NodePortResolver ¶
type NodePortResolver struct {
// contains filtered or unexported fields
}
func NewNodePortResolver ¶
func NewNodePortResolver(finder nodePortFinder) *NodePortResolver
func (*NodePortResolver) GetNodePort ¶
type ResolvedAccess ¶
Click to show internal directories.
Click to hide internal directories.