Documentation ¶
Index ¶
- func CreateService(apiClient *clients.Settings, serviceName string, ...) (*service.Builder, error)
- func CreateWorkload(apiClient *clients.Settings, deploymentName string, nodeName string, ...) (*deployment.Builder, error)
- func DeleteService(apiClient *clients.Settings, serviceName string) error
- func DeleteWorkload(apiClient *clients.Settings, deploymentName string, workloadLabels string) error
- func LaunchIperf3Command(apiClient *clients.Settings, deploymentName string, iperf3Command []string, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateService ¶
func CreateService(apiClient *clients.Settings, serviceName string, selectorLabels map[string]string, nodePort int32) (*service.Builder, error)
CreateService Create a service for a workload. Return nil on success, otherwise return an error.
func CreateWorkload ¶
func CreateWorkload(apiClient *clients.Settings, deploymentName string, nodeName string, workloadLabels map[string]string, iperf3ToolImage string) (*deployment.Builder, error)
CreateWorkload Create a workload with the iperf3 image, the iperf3 command will be launched from either LaunchIperf3Client() or LaunchIperf3Server(). Return nil on success, otherwise return an error.
func DeleteService ¶
DeleteService Deletes a service. Return nil on success, otherwise return an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.