suites

package
v0.54.6 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(cmd string) (string, error)

func ExecPretty

func ExecPretty(cmd string) error

func ExecPrettyWithoutCmd

func ExecPrettyWithoutCmd(cmd string) error

func NewGKETestSuite

func NewGKETestSuite(t *testing.T, cfg *Config) (*gkeTestSuite, error)

Types

type CastAIConfig

type CastAIConfig struct {
	APIURL   string `envconfig:"CASTAI_API_URL" default:"https://api.dev-master.cast.ai"`
	APIToken string `envconfig:"CASTAI_API_TOKEN"`
}

type Config

type Config struct {
	LogLevel  string `envconfig:"LOG_LEVEL" default:"debug"`
	LogFormat string `envconfig:"LOG_FORMAT" default:"text"`

	ClusterName   string `envconfig:"CLUSTER_NAME"`
	ClusterRegion string `envconfig:"CLUSTER_REGION"`

	ClusterControllerImageRepo string `envconfig:"CLUSTER_CONTROLLER_IMAGE_REPOSITORY" default:"us-docker.pkg.dev/castai-hub/library/cluster-controller"`
	ClusterControllerImageTag  string `envconfig:"CLUSTER_CONTROLLER_IMAGE_TAG"`

	KubeContext string `envconfig:"KUBECONTEXT"`

	CastAI CastAIConfig
	GCP    GCPConfig
}

type GCPConfig

type GCPConfig struct {
	Credentials string `envconfig:"GCP_CREDENTIALS"`
}

Jump to

Keyboard shortcuts

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