version

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	api.Client
}

Client is an interface for accessing the Proxmox version API.

func (*Client) Version

func (c *Client) Version(ctx context.Context) (*ResponseData, error)

Version retrieves the version information.

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      string `json:"version"`
}

ResponseData contains the data from a version response.

Jump to

Keyboard shortcuts

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