nutanix

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: MPL-2.0 Imports: 19 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// ImageKind Represents kind of resource
	ImageKind = "image"
	// DELETED ...
	DELETED = "DELETED"
	// ERROR ..
	ERROR = "ERROR"
	// WAITING ...
	WAITING = "WAITING"
)
View Source
const (
	// CDROM ...
	CDROM = "CDROM"
)
View Source
const Version = "3.1"

Version represents api version

Variables

View Source
var (
	IDE = "IDE"
)

Functions

func CountDiskListCdrom added in v1.1.0

func CountDiskListCdrom(dl []*v3.VMDisk) (int, error)

func Provider

func Provider() terraform.ResourceProvider

Provider function returns the object that implements the terraform.ResourceProvider interface, specifically a schema.Provider

Types

type Client

type Client struct {
	API         *v3.Client
	WaitTimeout int64
}

Client represents the nutanix API client

type Config

type Config struct {
	Endpoint    string
	Username    string
	Password    string
	Port        string
	Insecure    bool
	SessionAuth bool
	WaitTimeout int64
	ProxyURL    string
}

Config ...

func (*Config) Client

func (c *Config) Client() (*Client, error)

Client ...

Jump to

Keyboard shortcuts

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