mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-08 06:45:00 +00:00
BREAKING CHANGE: introduces sdn support. Signed-off-by: MacherelR <64424331+MacherelR@users.noreply.github.com>
18 lines
343 B
Go
18 lines
343 B
Go
package zones
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/bpg/terraform-provider-proxmox/proxmox/api"
|
|
)
|
|
|
|
// Client is a client for accessing the Proxmox SDN Zones API.
|
|
type Client struct {
|
|
api.Client
|
|
}
|
|
|
|
// ExpandPath returns the API path for SDN zones.
|
|
func (c *Client) ExpandPath(path string) string {
|
|
return fmt.Sprintf("cluster/sdn/zones/%s", path)
|
|
}
|