k8s

package
v0.0.0-...-46221f3 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployK8sObjects

func DeployK8sObjects(
	cs *kubernetes.Clientset,
	namespace string,
	namePrefix string,
	podNum int)

func DeployYaml

func DeployYaml(
	clients Clients,
	namespace string,
	namePrefix string,
	podNum int)

Types

type Clients

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

func New

func New(kubeconfigPath string) Clients

func (*Clients) GetClientSet

func (c *Clients) GetClientSet() *kubernetes.Clientset

func (*Clients) GetControllerClient

func (c *Clients) GetControllerClient() ctrl.Client

type TemplateData

type TemplateData struct {
	Namespace               string
	Name                    string
	BootstraptConfigMapName string
	BootstraptContent       string
	Image                   string
	Port                    int
	AuthorizedKeys          string
	SSHPrivateKey           string
	SSHPublicKey            string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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