identity_provider

package
v0.0.0-...-a5cbdf7 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: EPL-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Copyright (c) 2012-2019 Red Hat, Inc. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/

SPDX-License-Identifier: EPL-2.0

Contributors:

Red Hat, Inc. - initial API and implementation

Copyright (c) 2020-2020 Red Hat, Inc. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/

SPDX-License-Identifier: EPL-2.0

Contributors:

Red Hat, Inc. - initial API and implementation

Copyright (c) 2020-2020 Red Hat, Inc. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/

SPDX-License-Identifier: EPL-2.0

Contributors:

Red Hat, Inc. - initial API and implementation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGitHubIdentityProviderCreateCommand

func GetGitHubIdentityProviderCreateCommand(deployContext *deploy.DeployContext) (string, error)

func GetIdentityProviderDeleteCommand

func GetIdentityProviderDeleteCommand(cr *v1.CheCluster, identityProvider string) (string, error)

func GetKeycloakProvisionCommand

func GetKeycloakProvisionCommand(cr *v1.CheCluster) (command string, err error)

func GetOpenShiftIdentityProviderProvisionCommand

func GetOpenShiftIdentityProviderProvisionCommand(cr *v1.CheCluster, oAuthClientName string, oauthSecret string) (string, error)

func GetPostgresProvisionCommand

func GetPostgresProvisionCommand(identityProviderPostgresPassword string) (command string)

func GetSpecKeycloakDeployment

func GetSpecKeycloakDeployment(
	deployContext *deploy.DeployContext,
	clusterDeployment *appsv1.Deployment) (*appsv1.Deployment, error)

func ProvisionKeycloakResources

func ProvisionKeycloakResources(deployContext *deploy.DeployContext) error

func SyncGitHubOAuth

func SyncGitHubOAuth(deployContext *deploy.DeployContext) (bool, error)

SyncGitHubOAuth provisions GitHub OAuth if secret with annotation `che.eclipse.org/github-oauth-credentials=true` or `che.eclipse.org/oauth-scm-configuration=github` is mounted into a container

func SyncIdentityProviderToCluster

func SyncIdentityProviderToCluster(deployContext *deploy.DeployContext) (bool, error)

SyncIdentityProviderToCluster instantiates the identity provider (Keycloak) in the cluster. Returns true if the provisioning is complete, false if requeue of the reconcile request is needed.

func SyncKeycloakDeploymentToCluster

func SyncKeycloakDeploymentToCluster(deployContext *deploy.DeployContext) (bool, error)

func SyncOpenShiftIdentityProviderItems

func SyncOpenShiftIdentityProviderItems(deployContext *deploy.DeployContext) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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