create

package
v0.0.0-...-dc98513 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//CheInstallNamespace is the namespace where Eclipse Che will be installed
	CheInstallNamespace string = "che"
	//CheOperatorGroupName the operator group for Eclipse Che Operator
	CheOperatorGroupName string = "che-workspaces"
	//CheCSCName is the CatalogSourceConfig  used in creating Eclipse Che Subscription
	CheCSCName string = "rhd-workshop-che"
	//CheSubscriptionName is the Eclipse Che Operator Subscription Name
	CheSubscriptionName string = "eclipse-che"
)
View Source
const (
	//NexusDeploymentName is the name of Nexus Deployment
	NexusDeploymentName string = "nexus"
	//RHDWorkshopNamespace is the namespace where nexus will be deployed
	RHDWorkshopNamespace string = "rhd-workshop-infra"
	//NexusImageName is the name of the container image that will be used for nexus container
	NexusImageName string = "sonatype/nexus"
)
View Source
const (
	//RoleName is the name of the role
	RoleName string = "workshop-student"
	//GroupName is the name of the groups
	GroupName string = "workshop-students"
)
View Source
const (
	//CSCNS the namespace where Catalog Source Config will be created
	CSCNS string = "openshift-marketplace"
	//RHPackagesCSC the Red Hat Operators CSC
	RHPackagesCSC string = "rhd-workshop-packages"
	//CommunityPackagesCSC the Community Operators CSC
	CommunityPackagesCSC string = "rhd-workshop-packages-community"
)
View Source
const (
	//HtpassSecretName  the secret used for htpasswd idp
	HtpassSecretName string = "htpass-rhd-workshop"
	//HtpassSecretNamespace - the namesapce where HtpassSecretName will be created
	HtpassSecretNamespace string = "openshift-config"
	//OAuthIdentityProviderName  the OAuth Provider name
	OAuthIdentityProviderName string = "htpasswd"
	//OcpAdminRoleName is the role name that will be used for cluster-admin ocpadmin
	OcpAdminRoleName string = "ocpadmin-cluster-admin"
)

Variables

This section is empty.

Functions

func CheCatalogSourceConfig

func CheCatalogSourceConfig() *marketplacev2.CatalogSourceConfig

CheCatalogSourceConfig Creates the Eclipse Che Catalog Source

func CheCluster

CheCluster Creates the Eclipse Che Clusters

func CheOperatorGroup

func CheOperatorGroup() *olmv1.OperatorGroup

CheOperatorGroup Creates the Eclipse Che Operator Group

func CheProject

func CheProject() *projectv1.Project

CheProject Creates the Eclipse Che Project

func CheSubscription

CheSubscription Creates the Eclipse Che Subscription

func Nexus

func Nexus() *appsv1.DeploymentConfig

Nexus creates Nexus Deployment

func NexusImageStream

func NexusImageStream() *isv1.ImageStream

NexusImageStream creates a nexus image stream to use in nexus app deployment

func NexusService

func NexusService() *corev1.Service

NexusService creates Nexus service

func OcpAdminRoleBinding

func OcpAdminRoleBinding() *rbac.ClusterRoleBinding

OcpAdminRoleBinding is cluster-admin who wil be created

func WorkshopOperatorsCatalog

func WorkshopOperatorsCatalog(spec workshopv1alpha1.WorkshopSpec) []*marketplacev2.CatalogSourceConfig

WorkshopOperatorsCatalog creates the OperatorsCatalog for community-operators in workshop stack

func WorkshopProjects

func WorkshopProjects(spec workshopv1alpha1.WorkshopSpec) []*projectv1.Project

WorkshopProjects - creates the workshop projects in OpenShift

func WorkshopStudentGroup

func WorkshopStudentGroup(spec workshopv1alpha1.WorkshopSpec) *userv1.Group

WorkshopStudentGroup - the group that represents the Workshop students

func WorkshopStudentRole

func WorkshopStudentRole() *rbac.ClusterRole

WorkshopStudentRole - the group that represents the Workshop Student Role

func WorkshopStudentRoleBinding

func WorkshopStudentRoleBinding() *rbac.ClusterRoleBinding

WorkshopStudentRoleBinding binds wht WorkshopStudentRole with WorkshopStudent group

func WorkshopUsers

WorkshopUsers - creates the workshop users in OpenShift

Types

This section is empty.

Jump to

Keyboard shortcuts

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