Versions in this module Expand all Collapse all v0 v0.14.0 Jul 7, 2020 Changes in this version + func GetKubeConfig() (*rest.Config, error) v0.11.0 Apr 9, 2020 Changes in this version + const CodewindRoleBindingNamePrefix + const CodewindRolesName + const CodewindTektonClusterRoleBindingName + const CodewindTektonClusterRolesName + const GatekeeperContainerPort + const GatekeeperImage + const GatekeeperImageTag + const GatekeeperPrefix + const ImagePullPolicy + const KeycloakContainerPort + const KeycloakImage + const KeycloakImageTag + const KeycloakPrefix + const PFEContainerPort + const PFEImage + const PFEImageTag + const PFEPrefix + const PerformanceContainerPort + const PerformanceImage + const PerformancePrefix + const PerformanceTag + const ROKSStorageClass + const ResourceFound + const ResourceNotFound + const ResourceNotProcessed + const ResourceRemoveFailed + const ResourceRemoved + const ResourceSkipped + var MockCodewind = Codewind + func CreateCodewindRoleBindings(codewindInstance Codewind, deployOptions *DeployOptions, ...) rbacv1.RoleBinding + func CreateCodewindRoles(deployOptions *DeployOptions) rbacv1.ClusterRole + func CreateCodewindServiceAcct(codewind Codewind, deployOptions *DeployOptions) coreV1.ServiceAccount + func CreateCodewindTektonClusterRoleBindings(codewindInstance Codewind, deployOptions *DeployOptions, ...) rbacv1.ClusterRoleBinding + func CreateCodewindTektonClusterRoles(deployOptions *DeployOptions) rbacv1.ClusterRole + func CreateKeycloakServiceAcct(codewind Codewind, deployOptions *DeployOptions) coreV1.ServiceAccount + func DeployGatekeeper(config *restclient.Config, clientset *kubernetes.Clientset, ...) error + func DeployKeycloak(config *restclient.Config, clientset *kubernetes.Clientset, ...) error + func DeployPFE(config *restclient.Config, clientset *kubernetes.Clientset, ...) error + func DeployPerformance(clientset *kubernetes.Clientset, codewind Codewind, ...) error + func DeployRemote(remoteDeployOptions *DeployOptions) (*DeploymentResult, *RemInstError) + func GetExistingDeployments(namespace string) ([]ExistingDeployment, *RemInstError) + func GetImages() (string, string, string, string) + func RemoveRemote(remoteRemovalOptions *RemoveDeploymentOptions) (*RemovalResult, *RemInstError) + func RemoveRemoteKeycloak(remoteRemovalOptions *RemoveDeploymentOptions) (*RemovalResult, *RemInstError) + func SetupKeycloak(codewindInstance Codewind, deployOptions *DeployOptions) error + func WaitForPodReady(clientset *kubernetes.Clientset, codewindInstance Codewind, ...) bool + type Codewind struct + GatekeeperImage string + GatekeeperName string + Ingress string + KeycloakImage string + KeycloakName string + Namespace string + OnOpenShift bool + OwnerReferenceName string + OwnerReferenceUID types.UID + PFEImage string + PFEName string + PVCName string + PerformanceImage string + PerformanceName string + Privileged bool + RequestedIngress string + ServiceAccountKC string + ServiceAccountName string + WorkspaceID string + type DeployOptions struct + ClientSecret string + CodewindPVCSize string + CodewindSessionSecret string + GateKeeperTLSSecure bool + IngressDomain string + KeycloakClient string + KeycloakDevPassword string + KeycloakDevUser string + KeycloakHost string + KeycloakOnly bool + KeycloakPassword string + KeycloakRealm string + KeycloakSecure bool + KeycloakTLSSecure bool + KeycloakURL string + KeycloakUser string + LogLevel string + Namespace string + type DeploymentResult struct + GatekeeperURL string + KeycloakURL string + type ExistingDeployment struct + CodewindAuthRealm string + CodewindURL string + InstallDate string + Namespace string + Version string + WorkspaceID string + type ImagePullSecret struct + Name string + type K8sAPI struct + type RemInstError struct + Desc string + Err error + Op string + func (se *RemInstError) Error() string + type RemovalResult struct + StatusDeploymentGatekeeper int + StatusDeploymentKeycloak int + StatusDeploymentPFE int + StatusDeploymentPerformance int + StatusIngressGatekeeper int + StatusIngressKeycloak int + StatusPODGatekeeper int + StatusPODKeycloak int + StatusPODPFE int + StatusPODPerformance int + StatusPVCCodewind int + StatusPVCKeycloak int + StatusRoleBindings int + StatusSecretsCodewind int + StatusSecretsKeycloak int + StatusServiceAccount int + StatusServiceGatekeeper int + StatusServiceKeycloak int + StatusServicePFE int + StatusServicePerformance int + StatusTektonRoleBindings int + type RemoveDeploymentOptions struct + Namespace string + WorkspaceID string + type Result struct + Status string + StatusMessage string + type ServiceAccountPatch struct + ImagePullSecrets *[]ImagePullSecret