cluster

package
v0.0.0-...-95dc4d9 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterTester

type ClusterTester struct {
	Name     string
	EnsureUp bool
	// contains filtered or unexported fields
}

func (*ClusterTester) DetermineKubeConfig

func (c *ClusterTester) DetermineKubeConfig() KubeConfig

func (*ClusterTester) EnsureReachable

func (c *ClusterTester) EnsureReachable(kubeClient *kubernetes.Clientset) bool

func (*ClusterTester) KubeClientSetup

func (c *ClusterTester) KubeClientSetup(t *testing.T, kubeStartUpConfig KubeConfig) (*kubernetes.Clientset, *rest.Config, error)

k8s-client set up

func (*ClusterTester) StartCluster

func (c *ClusterTester) StartCluster(t *testing.T, kubeStartUpConfig KubeConfig) func()

start kind cluster

func (*ClusterTester) WithLogger

func (c *ClusterTester) WithLogger(logger log.Loggeriface) *ClusterTester

type KubeConfig

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

==== BEGIN CUSTOM K8s setup

Jump to

Keyboard shortcuts

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