kube

package
v0.0.0-...-34fc9f0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {

	// CLIClient is embedded to interact with the kube cluster.
	kube.CLIClient

	// Topology is embedded to include common functionality.
	cluster.Topology
	// contains filtered or unexported fields
}

Cluster for a Kubernetes cluster. Provides access via a kube.Client.

func (*Cluster) CanDeploy

func (c *Cluster) CanDeploy(config echo.Config) (echo.Config, bool)

CanDeploy for a kube cluster returns true if the config is a non-vm, or if the cluster supports fake pod-based VMs.

func (Cluster) Filename

func (c Cluster) Filename() string

Filename of the kubeconfig file for this cluster. TODO(nmittler): Remove the need for this by changing operator to use provided kube clients directly.

func (*Cluster) OverrideTopology

func (c *Cluster) OverrideTopology(fn func(cluster.Topology) cluster.Topology)

OverrideTopology allows customizing the relationship between this and other clusters for a single suite. This practice is discouraged, and separate test jobs should be created on a per-topology bassis. TODO remove this when centralistiod test is isolated as it's own job

func (*Cluster) String

func (c *Cluster) String() string

Jump to

Keyboard shortcuts

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