proxmox

package
v0.0.0-...-94fea86 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddIds

func AddIds(configSet *schema.Set) *schema.Set

func DevicesSetToMap

func DevicesSetToMap(devicesSet *schema.Set) pxapi.QemuDevices

Converting from schema.TypeSet to map of id and conf for each device, which will be sent to Proxmox API.

func DevicesSetToMapWithoutId

func DevicesSetToMapWithoutId(devicesSet *schema.Set) pxapi.QemuDevices

func Provider

func Provider() *schema.Provider

Provider - Terrafrom properties for proxmox

func Provisioner

func Provisioner() terraform.ResourceProvisioner

Provisioner - Terrafrom properties for proxmox-provisioner

func RemoveIds

func RemoveIds(configSet *schema.Set) *schema.Set

func UpdateDeviceConfDefaults

func UpdateDeviceConfDefaults(
	activeDeviceConf pxapi.QemuDevice,
	defaultDeviceConf *schema.Set,
) *schema.Set

func UpdateDevicesSet

func UpdateDevicesSet(
	devicesSet *schema.Set,
	devicesMap pxapi.QemuDevices,
) *schema.Set

Update schema.TypeSet with new values comes from Proxmox API. TODO: Maybe it's better to create a new Set instead add to current one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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