kubectl

package
v0.0.0-...-8002be7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	K6Name           = "k6"
	K6Namespace      = "tester"
	K6KubeSecretName = "kube"
)

Variables

This section is empty.

Functions

func Apply

func Apply(kubePath, filePath string) error

func Exec

func Exec(kubepath string, output io.Writer, args ...string) error

func GetRancherFQDNFromLoadBalancer

func GetRancherFQDNFromLoadBalancer(kubePath string) (string, error)

func WaitForReadyCondition

func WaitForReadyCondition(kubePath, resource, name, namespace string, minutes int) error

func WaitRancher

func WaitRancher(kubePath string) error

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) GetStatus

func (cl *Client) GetStatus(group, ver, res, name, namespace string) (map[string]interface{}, error)

func (*Client) Init

func (cl *Client) Init(kubePath string) error

func (*Client) K6run

func (cl *Client) K6run(name, testPath string, envVars, tags map[string]string, printLogs, record bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL