cluster

package
v0.0.0-...-d63592a Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VagrantFileTmpl = `` /* 613-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func DestroyVirtualMachine

func DestroyVirtualMachine()

func StartKubernetesCluster

func StartKubernetesCluster(kc *KubernetesCluster)

Types

type ClusterCommand

type ClusterCommand struct {
	Endpoint         string
	Token            string
	UnSafe           bool
	CAHash           string
	Ignore           []string
	PodCIDR          string
	ServiceCIDR      string
	IPVS             bool
	ServicePortRange string
	User             string
	Repo             string
	Password         string
	Key              string
	Iface            string
	Port             string
	KubeVersion      string
	DockerVersion    string
	Type             string
	CertSANs         []string
	IP               string
	CN               bool
}

ClusterCommand n cluster command struct

type KubernetesCluster

type KubernetesCluster struct {
	Option *utils.RemoteOption

	Type string
	// contains filtered or unexported fields
}

KubernetesCluster kubernetes cluster object

func NewKubernetesCluster

func NewKubernetesCluster(ncmd *ClusterCommand, tp, node, method string) *KubernetesCluster

Jump to

Keyboard shortcuts

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