Documentation ¶
Index ¶
Constants ¶
View Source
const ( MasterOverrideJvmArgs = "MASTER_OVERRIDE_JVM_ARGS" MasterAdditionalJvmArgs = "MASTER_ADDITIONAL_JVM_ARGS" SlavesOverrideJvmArgs = "SLAVES_OVERRIDE_JVM_ARGS" SlavesAdditionalJvmArgs = "SLAVES_ADDITIONAL_JVM_ARGS" SlavesAdditionalJmeterArgs = "SLAVES_ADDITIONAL_JMETER_ARGS" SlavesCount = "SLAVES_COUNT" MasterPrefix = "MASTER_" SlavesPrefix = "SLAVES_" RunnerPrefix = "RUNNER_" HttpProxyPrefix = "HTTP_PROXY=" HttpsProxyPrefix = "HTTPS_PROXY=" DebugPrefix = "DEBUG=" )
Variables ¶
This section is empty.
Functions ¶
func ExtractSlaveEnvVariables ¶ added in v1.16.11
ExtractSlaveEnvVariables removes slave environment variables from the given map and returns them separately.
func GetRunnerEnvVariables ¶ added in v1.16.21
GetRunnerEnvVariables returns runner env variables
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient( clientSet kubernetes.Interface, execution testkube.Execution, slavesConfigs executor.SlavesConfigs, envs map[string]string, slavesEnvVariables map[string]testkube.Variable, ) *Client
NewClient is a method to create new slave client
func (*Client) CreateSlaves ¶
CreateSlaves creates slaves as per provided count
type PodOptions ¶ added in v1.16.11
type PodOptions struct { Name string Namespace string JobName string JobUID string ActiveDeadlineSeconds int Registry string InitImage string Image string Jsn string CertificateSecret string ServiceAccountName string EnvConfigMaps []testkube.EnvReference EnvSecrets []testkube.EnvReference Ports []v1.ContainerPort Resources *testkube.PodResourcesRequest ImagePullSecrets []string ArtifactRequest *testkube.ArtifactRequest }
Click to show internal directories.
Click to hide internal directories.