mirror of
https://github.com/lxc/incus
synced 2026-08-02 05:26:46 +00:00
17 lines
415 B
Go
17 lines
415 B
Go
package api
|
|
|
|
// InstancePortForwardPost represents an instance port forwarding request.
|
|
//
|
|
// swagger:model
|
|
//
|
|
// API extension: instance_port_forward.
|
|
type InstancePortForwardPost struct {
|
|
// Address to connect to inside of the instance
|
|
// Example: 127.0.0.1
|
|
Address string `json:"address" yaml:"address"`
|
|
|
|
// TCP port to connect to inside of the instance
|
|
// Example: 80
|
|
Port int `json:"port" yaml:"port"`
|
|
}
|