Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeConfig ¶
type KubeConfig struct {
ConfigPath string
}
KubeConfig represents the initialization settings for the kubernetes api client.
type Kubernetes ¶
type Kubernetes struct { ConfigMaps *configmaps.ConfigMaps Ingresses *ingresses.Ingresses Deployments *deployments.Deployments Pods *pods.Pods Namespaces *namespaces.Namespaces Nodes *nodes.Nodes Jobs *jobs.Jobs Services *services.Services Secrets *secrets.Secrets PersistentVolumes *persistentvolumes.PersistentVolumes PersistentVolumeClaims *persistentvolumeclaims.PersistentVolumeClaims // contains filtered or unexported fields }
Kubernetes is the exported object used within JavaScript.
type ModuleInstance ¶
type ModuleInstance struct {
// contains filtered or unexported fields
}
ModuleInstance represents an instance of the JS module.
func (*ModuleInstance) Exports ¶
func (mi *ModuleInstance) Exports() modules.Exports
Exports implements the modules.Instance interface and returns the exports of the JS module.
type RootModule ¶
type RootModule struct{}
RootModule is the global module object type. It is instantiated once per test run and will be used to create `k6/x/kubernetes` module instances for each VU.
func (*RootModule) NewModuleInstance ¶
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface to return a new instance for each VU.
Click to show internal directories.
Click to hide internal directories.