package networking
import "github.com/vmware/govmomi/vapi/appliance/networking"
Index ¶
- type Manager
- func NewManager(client *rest.Client) *Manager
- func (m *Manager) NoProxy(ctx context.Context) ([]string, error)
- func (m *Manager) ProxyList(ctx context.Context) (*ProxyList, error)
- type Proxy
- type ProxyList
Types ¶
type Manager ¶
Manager provides convenience methods to configure appliance proxy.
func NewManager ¶
NewManager creates a new Manager with the given client
func (*Manager) NoProxy ¶
NoProxy returns all excluded servers for proxying.
func (*Manager) ProxyList ¶
ProxyList returns all Proxy configuration.
type Proxy ¶
type Proxy struct { Server string `json:"server,omitempty"` Port int `json:"port,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Enabled bool `json:"enabled,omitempty"` }
Proxy represents configuration for specific proxy - ftp, http, https.
type ProxyList ¶
type ProxyList struct { Ftp Proxy `json:"ftp,omitempty"` Http Proxy `json:"http,omitempty"` Https Proxy `json:"https,omitempty"` }
ProxyList represents configuration for vcenter proxy.
Source Files ¶
- Version
- v0.48.1 (latest)
- Published
- Feb 11, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 3 months ago –
Tools for package owners.