Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_TMP_DIR = "tmp" DEFAULT_INFRA_DEPLOYMENTS_BRANCH = "main" DEFAULT_INFRA_DEPLOYMENTS_GH_ORG = "redhat-appstudio" DEFAULT_LOCAL_FORK_NAME = "qe" DEFAULT_LOCAL_FORK_ORGANIZATION = "redhat-appstudio-qe" DEFAULT_E2E_QUAY_ORG = "redhat-appstudio-qe" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallAppStudio ¶
type InstallAppStudio struct { // Kubernetes Client to interact with Openshift Cluster KubernetesClient *kubeCl.CustomClient // TmpDirectory to store temporary files like git repos or some metadata TmpDirectory string // Directory where to clone https://github.com/redhat-appstudio/infra-deployments repo InfraDeploymentsCloneDir string // Branch to clone from https://github.com/redhat-appstudio/infra-deployments. By default will be main InfraDeploymentsBranch string // Github organization from where will be cloned InfraDeploymentsOrganizationName string // Desired fork name for testing LocalForkName string // Github organization to use for testing purposes in preview mode LocalGithubForkOrganization string // Namespace where build applications will be placed E2EApplicationsNamespace string // base64-encoded content of a docker/config.json file which contains a valid login credentials for quay.io QuayToken string // Default quay organization for repositories generated by Image-controller DefaultImageQuayOrg string // Oauth2 token for default quay organization DefaultImageQuayOrgOAuth2Token string // Default expiration for image tags DefaultImageTagExpiration string // If set to "true", e2e-tests installer will mark master/control plane nodes as schedulable EnableSchedulingOnMasterNodes string }
func NewAppStudioInstallController ¶
func NewAppStudioInstallController() (*InstallAppStudio, error)
func (*InstallAppStudio) CheckOperatorsReady ¶
func (i *InstallAppStudio) CheckOperatorsReady() (err error)
func (*InstallAppStudio) InstallAppStudioPreviewMode ¶
func (i *InstallAppStudio) InstallAppStudioPreviewMode() error
Start the appstudio installation in preview mode.
func (*InstallAppStudio) MarkMasterNodesAsSchedulable ¶
func (i *InstallAppStudio) MarkMasterNodesAsSchedulable() error
MarkMasterNodesAsSchedulable uses configv1client for updating scheduler/cluster with "spec.mastersSchedulable:true"
Click to show internal directories.
Click to hide internal directories.