nutanix

package
v1.41.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a nutanix provider.

Types

type ClientSet

type ClientSet struct {
	Prism *nutanixv3.Client
}

func GetClientSet

func GetClientSet(config *Config) (*ClientSet, error)

type Config

type Config struct {
	Endpoint      string
	Port          *int
	Username      string
	Password      string
	AllowInsecure bool
	ProxyURL      string

	ClusterName string
	ProjectName string
	SubnetName  string
	ImageName   string

	Categories map[string]string

	CPUs           int64
	CPUCores       *int64
	CPUPassthrough *bool
	MemoryMB       int64
	DiskSizeGB     *int64
}

type Server

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

Server holds Nutanix server information.

func (Server) Addresses

func (nutanixServer Server) Addresses() map[string]corev1.NodeAddressType

func (Server) ID

func (nutanixServer Server) ID() string

func (Server) Name

func (nutanixServer Server) Name() string

func (Server) Status

func (nutanixServer Server) Status() instance.Status

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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