Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfigPlugins ¶
Types ¶
type ConfigProvider ¶
type ConfigProvider struct { Provider ConfigProviderProviderSpec `json:"provider"` Env string `json:"env"` }
type K6 ¶
type K6 struct { Namespace string `json:"namespace"` PodImage string `json:"image"` ControllerKind string `json:"controllerKind"` JobSpec struct{} `json:"jobSpec"` PodSpec struct{} `json:"podSpec"` ConfigPlugins []K6ConfigPlugin `json:"configPlugins"` }
type K6ConfigPlugin ¶
type RunTaskOption ¶
type RunTaskOption interface {
// contains filtered or unexported methods
}
RunTaskOption configures the behavior of RunTask.
func WithFollowLogs ¶
func WithFollowLogs(followLogs bool) RunTaskOption
WithFollowLogs specifies whether to follow the logs of the task.
func WithInstances ¶
func WithInstances(replicas int32) RunTaskOption
WithInstances specifies the number of instances to run.
type Schema ¶
type Schema struct { Version string `json:"version"` Name string `json:"name"` Files []FileMount `json:"files"` Configs []ConfigProvider `json:"configs"` K6 K6 `json:"k6"` }
func LoadSchemaFromFile ¶
Click to show internal directories.
Click to hide internal directories.