kubetest2

package
v0.0.0-...-703489d Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package kubetest2 is DEPRECATED. Please use https://github.com/kubernetes-sigs/kubetest2/tree/master/kubetest2-gke/deployer directly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts *Options, cc *GKEClusterConfig) error

Run will run the `kubetest2 gke` command with the provided parameters, it will also handle the logic that is only used for Knative integration testing, like retrying cluster creation.

Types

type GKEClusterConfig

type GKEClusterConfig struct {
	GCPServiceAccount string
	GCPProjectID      string

	BoskosAcquireTimeoutSeconds int

	Environment  string
	CommandGroup string

	Name                              string
	Region                            string
	BackupRegions                     []string
	Machine                           string
	MinNodes                          int
	MaxNodes                          int
	Network                           string
	ReleaseChannel                    string
	Version                           string
	Scopes                            string
	Addons                            string
	ImageType                         string
	EnableWorkloadIdentity            bool
	PrivateClusterAccessLevel         string
	PrivateClusterMasterIPSubnetRange []string

	ExtraGcloudFlags string
}

GKEClusterConfig are the supported configurations for creating a GKE cluster.

type Options

type Options struct {
	TestCommand  string
	SaveMetaData bool
}

Options are the common options for running kubetest2 command.

Jump to

Keyboard shortcuts

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