environment

package
v0.0.0-...-283a394 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright Jetstack Ltd. See LICENSE for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RootPath

func RootPath() (string, error)

Types

type Environment

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

func New

func New(masterNodesCount, workerNodesCount int) (*Environment, error)

func (*Environment) Create

func (e *Environment) Create() error

func (*Environment) Destory

func (e *Environment) Destory() error

func (*Environment) Kind

func (e *Environment) Kind() *kind.Kind

func (*Environment) KubeClient

func (e *Environment) KubeClient() *kubernetes.Clientset

func (*Environment) KubeConfigPath

func (e *Environment) KubeConfigPath() string

func (*Environment) Node

func (e *Environment) Node(name string) (*nodes.Node, error)

func (*Environment) RootPath

func (e *Environment) RootPath() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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