kind

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 10 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 {
	Name string
	// contains filtered or unexported fields
}

func NewCluster

func NewCluster(opts ...ClusterOption) (*Cluster, error)

func (*Cluster) Close

func (c *Cluster) Close() error

func (*Cluster) GetClient

func (c *Cluster) GetClient() (client.Client, error)

func (*Cluster) GetKubeConfig

func (c *Cluster) GetKubeConfig() (string, error)

func (*Cluster) GetKubeConfigAsTempFile

func (c *Cluster) GetKubeConfigAsTempFile() (*fs.TempFile, error)

func (*Cluster) GetRESTConfig

func (c *Cluster) GetRESTConfig() (*rest.Config, error)

type ClusterOption

type ClusterOption interface {
	// contains filtered or unexported methods
}

func ClusterDoNotDelete

func ClusterDoNotDelete() ClusterOption

func ClusterUseExisting

func ClusterUseExisting() ClusterOption

func ClusterWithConfig

func ClusterWithConfig(config *Config) ClusterOption

func ClusterWithDebugLog

func ClusterWithDebugLog(debugLog DebugLog) ClusterOption

func ClusterWithDocker

func ClusterWithDocker() ClusterOption

func ClusterWithName

func ClusterWithName(name string) ClusterOption

func ClusterWithPodman

func ClusterWithPodman() ClusterOption

func ClusterWithWaitForReady

func ClusterWithWaitForReady(waitTime time.Duration) ClusterOption

type Config

type Config = v1alpha4.Cluster

Re-export cluster configuration for easier use

type DebugLog

type DebugLog = func(string, ...interface{})

Jump to

Keyboard shortcuts

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