cluster

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Storage = "storage"
)

Variables

This section is empty.

Functions

func GetCertExpirationTime added in v1.3.1

func GetCertExpirationTime(f *framework.Framework, clusterName string) (*metav1.Time, error)

func InitClusterWithSetter added in v1.3.1

func InitClusterWithSetter(c *corev1.Cluster, setter []Setter)

func SIGDescribe

func SIGDescribe(text string, body func()) bool

SIGDescribe annotates the test with the SIG label.

func UpdateCert added in v1.3.1

func UpdateCert(f *framework.Framework, clusterName string) error

Types

type Config added in v1.3.1

type Config struct {
	KubeConfig  string `json:"kubeConfig"`
	ClusterName string `json:"clusterName"`
}

type DeployConfig added in v1.3.1

type DeployConfig struct {
	// TODO: Static File Server TLS is not supported at this time
	ServerIPs        []string      `json:"serverIPs" yaml:"serverIPs,omitempty"`
	StaticServerPort int           `json:"staticServerPort" yaml:"staticServerPort,omitempty"`
	SSHConfig        *sshutils.SSH `json:"ssh" yaml:"ssh,omitempty"`
}

type Setter added in v1.3.1

type Setter func(cluster *corev1.Cluster)

func SetClusterBackupPoint added in v1.3.1

func SetClusterBackupPoint(bp string) Setter

func SetClusterName added in v1.3.1

func SetClusterName(name string) Setter

func SetClusterNodes added in v1.3.1

func SetClusterNodes(masters []string, workers []string) Setter

func SetClusterVersion added in v1.3.1

func SetClusterVersion(version string) Setter

func SetContainerdRuntime added in v1.3.1

func SetContainerdRuntime() Setter

func SetDockerRuntime added in v1.3.1

func SetDockerRuntime() Setter

func SetOnlineInstall added in v1.3.1

func SetOnlineInstall() Setter

Jump to

Keyboard shortcuts

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