Documentation ¶
Index ¶
- Constants
- func CheCatalogSourceConfig() *marketplacev2.CatalogSourceConfig
- func CheCluster(spec workshopv1alpha1.WorkshopSpec) *chev1.CheCluster
- func CheOperatorGroup() *olmv1.OperatorGroup
- func CheProject() *projectv1.Project
- func CheSubscription(spec workshopv1alpha1.WorkshopSpec) *olmv1alpha1.Subscription
- func Nexus() *appsv1.DeploymentConfig
- func NexusImageStream() *isv1.ImageStream
- func NexusService() *corev1.Service
- func OcpAdminRoleBinding() *rbac.ClusterRoleBinding
- func WorkshopOperatorsCatalog(spec workshopv1alpha1.WorkshopSpec) []*marketplacev2.CatalogSourceConfig
- func WorkshopProjects(spec workshopv1alpha1.WorkshopSpec) []*projectv1.Project
- func WorkshopStudentGroup(spec workshopv1alpha1.WorkshopSpec) *userv1.Group
- func WorkshopStudentRole() *rbac.ClusterRole
- func WorkshopStudentRoleBinding() *rbac.ClusterRoleBinding
- func WorkshopUsers(spec workshopv1alpha1.WorkshopSpec) ([]oauthv1.IdentityProvider, *corev1.Secret, error)
Constants ¶
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" )
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" )
const ( //RoleName is the name of the role RoleName string = "workshop-student" //GroupName is the name of the groups GroupName string = "workshop-students" )
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" )
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 ¶
func CheCluster(spec workshopv1alpha1.WorkshopSpec) *chev1.CheCluster
CheCluster Creates the Eclipse Che Clusters
func CheOperatorGroup ¶
func CheOperatorGroup() *olmv1.OperatorGroup
CheOperatorGroup Creates the Eclipse Che Operator Group
func CheSubscription ¶
func CheSubscription(spec workshopv1alpha1.WorkshopSpec) *olmv1alpha1.Subscription
CheSubscription Creates the Eclipse Che Subscription
func NexusImageStream ¶
func NexusImageStream() *isv1.ImageStream
NexusImageStream creates a nexus image stream to use in nexus app deployment
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 ¶
func WorkshopUsers(spec workshopv1alpha1.WorkshopSpec) ([]oauthv1.IdentityProvider, *corev1.Secret, error)
WorkshopUsers - creates the workshop users in OpenShift
Types ¶
This section is empty.