Documentation ¶
Index ¶
- Constants
- func DefaultDeployment(operatorConfig *operatorv1.Console, consoleConfigMap *corev1.ConfigMap, ...) *appsv1.Deployment
- func DefaultDownloadsDeployment(operatorConfig *operatorv1.Console, ...) *appsv1.Deployment
- func GetLogLevelFlag(logLevel operatorv1.LogLevel) string
- func IsAvailable(deployment *appsv1.Deployment) bool
- func IsAvailableAndUpdated(deployment *appsv1.Deployment) bool
- func LogDeploymentAnnotationChanges(client appsclientv1.DeploymentsGetter, updated *appsv1.Deployment, ...)
- func ShouldDeployHA(infrastructureConfig *configv1.Infrastructure) bool
- func Stub() *appsv1.Deployment
Constants ¶
View Source
const ( ConsoleOauthConfigName = "console-oauth-config" DefaultConsoleReplicas = 2 SingleNodeConsoleReplicas = 1 )
Variables ¶
This section is empty.
Functions ¶
func DefaultDeployment ¶
func DefaultDeployment( operatorConfig *operatorv1.Console, consoleConfigMap *corev1.ConfigMap, serviceCAConfigMap *corev1.ConfigMap, localOAuthServingCertConfigMap *corev1.ConfigMap, authServerCAConfigMap *corev1.ConfigMap, trustedCAConfigMap *corev1.ConfigMap, oAuthClientSecret *corev1.Secret, sessionSecret *corev1.Secret, proxyConfig *configv1.Proxy, infrastructureConfig *configv1.Infrastructure, canMountCustomLogo bool, ) *appsv1.Deployment
func DefaultDownloadsDeployment ¶
func DefaultDownloadsDeployment( operatorConfig *operatorv1.Console, infrastructureConfig *configv1.Infrastructure, ) *appsv1.Deployment
func GetLogLevelFlag ¶
func GetLogLevelFlag(logLevel operatorv1.LogLevel) string
func IsAvailable ¶
func IsAvailable(deployment *appsv1.Deployment) bool
func IsAvailableAndUpdated ¶
func IsAvailableAndUpdated(deployment *appsv1.Deployment) bool
func LogDeploymentAnnotationChanges ¶
func LogDeploymentAnnotationChanges( client appsclientv1.DeploymentsGetter, updated *appsv1.Deployment, ctx context.Context, )
func ShouldDeployHA ¶
func ShouldDeployHA(infrastructureConfig *configv1.Infrastructure) bool
ShouldDeployHA returns true if the console should be deployed in HA mode. If the control plane is externalized, the console should be deployed in HA mode based on the InfrastructureTopology, otherwise it should be deployed in HA mode based on the ControlPlaneTopology.
func Stub ¶
func Stub() *appsv1.Deployment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.