Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheArtifactsSpec ¶
type CheArtifactsSpec struct {
FromContainerPath string `yaml:"fromContainerPath"`
To string `yaml:"to"`
}
The CheArtifactsSpec define the information where to store tests artifacts.
type CheDeploymentSpec ¶
type CheDeploymentSpec struct {
Cli CliSpec `yaml:"cli,omitempty"`
}
The CheDeploymentSpec defines the type of deployment to deploy a Che instance. Supported deployments: chectl/crwctl
type CheInspector ¶
type CheInspector struct {
Name string `yaml:"name"`
Version string `yaml:"version"`
Ide string `yaml:"ide"`
Spec CheInspectorSpec `yaml:"spec"`
CleanAfterTests bool `yaml:"cleanAfterTests,omitempty"`
}
The CheInspector allows defining and managing Che suites
type CheInspectorSpec ¶
type CheInspectorSpec struct {
Deployment CheDeploymentSpec `yaml:"deployment"`
Tests []CheTestsSpec `yaml:"tests"`
Report []CheReporterSpec `yaml:"reporter"`
}
The CheInspectorSpec defines all specs of Che suites
type CheReporterSpec ¶
type CheReporterSpec struct {
ReportPortal ReportPortal `yaml:"reportPortal"`
}
The CheReporterSpec define a basic reporter to send suites results. Options supported: slack
type CheTestsSpec ¶
type CheTestsSpec struct {
Name string `yaml:"name"`
Namespace string `yaml:"namespace,omitempty"`
Image string `yaml:"image"`
Args []string `yaml:"args,omitempty"`
Env []corev1.EnvVar `yaml:"env"`
Artifacts CheArtifactsSpec `yaml:"artifacts,omitempty"`
ContainerContext string `yaml:"containerContext"`
}
The CheTestsSpec define the information about the suites to execute against Che instance.
type CliContext ¶
type CliContext struct {
CheInspector *CheInspector
Client *client.K8sClient
DockerClient *dockerClient.Client
}
Comment
func GetCliContext ¶
func GetCliContext(configFile string) (cliContext *CliContext, e error)
Comment
Click to show internal directories.
Click to hide internal directories.