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_" )
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.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient( clientSet kubernetes.Interface, execution testkube.Execution, slavesConfigs executor.SlavesConfigs, envParams envs.Params, 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 }
Click to show internal directories.
Click to hide internal directories.