che

package
v0.0.0-...-8d22e20 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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

func (d *DeployChe) DeployIde() error

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

func (d *DeployChe) ExecuteCheDeployCommand(cliPath string, deployFlags string) error

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

func (d *DeployChe) InstallCheCli() error

InstallCheCli install the cli which manage Red Hat CodeReady Workspaces or Eclipse Che depending on which flavour was specify in the config samples

Jump to

Keyboard shortcuts

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