k3s

package module
v0.0.0-...-18f9833 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

Pulumi k3s Cluster in Vsphere

This is an example to test out contriver project which uses the pulumi automation api

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(conf *VMConfig) pulumi.RunFunc

Types

type Disk

type Disk struct {
	Size            int
	Attach          bool
	EagerlyScrub    bool
	ThinProvisioned bool
}

type Network

type Network struct {
	AdapterType string
	NetworkName string
	MacAddress  string
	StaticMac   bool
	// contains filtered or unexported fields
}

type VMConfig

type VMConfig struct {
	Datacenter       *string
	Cluster          string
	ClusterDatastore string
	DataStore        string
	ResourcePool     string
	Folder           string
	EnableDiskUuid   bool
	Count            int
	Name             string
	Template         string
	NumCpus          int
	Cores            int
	Memory           int
	Networks         []*Network
	Disks            []Disk
}

type VMExportData

type VMExportData struct {
	UUid      string
	IPAddress string
	Addresses []string
}

type VMS

type VMS map[string]*VMExportData

Jump to

Keyboard shortcuts

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