Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MinimumProxmoxVersion = ProxmoxVersion{*version.Must(version.NewVersion("8.0.0"))}
MinimumProxmoxVersion is the minimum supported Proxmox version by the provider.
Functions ¶
This section is empty.
Types ¶
type ProxmoxVersion ¶ added in v0.79.0
type ProxmoxVersion struct {
version.Version
}
func (*ProxmoxVersion) SupportImportContentType ¶ added in v0.79.0
func (v *ProxmoxVersion) SupportImportContentType() bool
SupportImportContentType checks if the Proxmox version supports the `import` content type when uploading disk images. See https://bugzilla.proxmox.com/show_bug.cgi?id=2424
func (*ProxmoxVersion) UnmarshalJSON ¶ added in v0.79.0
func (v *ProxmoxVersion) UnmarshalJSON(data []byte) error
type ResponseBody ¶
type ResponseBody struct {
Data *ResponseData `json:"data,omitempty"`
}
ResponseBody contains the body from a version response.
type ResponseData ¶
type ResponseData struct { Console string `json:"console"` Release string `json:"release"` RepositoryID string `json:"repoid"` Version ProxmoxVersion `json:"version"` }
ResponseData contains the data from a version response.
Click to show internal directories.
Click to hide internal directories.