Documentation ¶
Index ¶
Constants ¶
const ( CHECTL_COMMAND_NAME = "chectl" CHE_FLAVOUR_NAME = "che" CODEREADY_FLAVOUR_NAME = "codeready" CHECTL_INSTALL_COMMAND = "bash <(curl -sL https://www.eclipse.org/che/chectl/) --channel=next" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployChe ¶
type DeployChe struct {
// contains filtered or unexported fields
}
func NewCheController ¶
func NewCheController(deploySpec api.CheDeploymentSpec) *DeployChe
Creates a new controller to deal with Che installation
func (*DeployChe) DeployIde ¶
DeployIde: method which deploy Che/CRW depending on which Che flavour is defined in CheInspector configurations. Possible flavour options are: codeready to deploy Red Hat CodeReady Workspaces using crwctl cli: https://github.com/redhat-developer/codeready-workspaces-chectl And other flavour option is che which deploy Eclipse Che using chectl cli: https://github.com/che-incubator/chectl
func (*DeployChe) ExecuteCheDeployCommand ¶
Execute deployment command from a given of the ide cli and a given deployment flags Examples of Che/CRW deploy is: <cli-path> server:deploy --platform=openshift
func (*DeployChe) InstallCheCli ¶
InstallCheCli install the cli which manage Red Hat CodeReady Workspaces or Eclipse Che depending on which flavour was specify in the config samples