Versions in this module Expand all Collapse all v1 v1.0.2 May 10, 2022 v1.0.1 Jun 22, 2017 Changes in this version + type Common struct + Location string + Nsxc *govnsx.Client + func NewCommon(c *govnsx.Client) Common + type Edge struct + func NewEdge(c *govnsx.Client) *Edge + func (e Edge) Delete(edgeId string) error + func (e Edge) Get(edgeId string) (*nsxtypes.Edge, error) + func (e Edge) Post(edgeSpec *nsxtypes.EdgeInstallSpec) (*nsxtypes.EdgePostResp, error) + func (e Edge) Put(edgeSpec *nsxtypes.EdgeInstallSpec, edgeId string) error + type EdgeDHCP struct + func NewEdgeDHCP(c *govnsx.Client) *EdgeDHCP + func (ed EdgeDHCP) Delete(edgeId string) error + func (ed EdgeDHCP) Get(edgeId string) (*nsxtypes.DHCPConfig, error) + func (ed EdgeDHCP) Put(dhcpSpec *nsxtypes.ConfigDHCPServiceSpec, edgeId string) error + type EdgeDHCPIPPool struct + func NewEdgeDHCPIPPool(c *govnsx.Client) *EdgeDHCPIPPool + func (ed EdgeDHCPIPPool) Delete(edgeId string, ipPoolId string) error + func (ed EdgeDHCPIPPool) Post(ipPool *nsxtypes.IPPool, edgeId string) (*nsxtypes.AddIPPoolToDHCPServiceResp, error) + type EdgeDLRInterfaces struct + func NewEdgeDLRInterfaces(c *govnsx.Client) *EdgeDLRInterfaces + func (edlr EdgeDLRInterfaces) Delete(edgeId string, index ...string) error + func (edlr EdgeDLRInterfaces) Get(edgeId string) (*nsxtypes.EdgeDLRAddInterfacesResp, error) + func (edlr EdgeDLRInterfaces) Post(interfaces *nsxtypes.EdgeDLRAddInterfacesSpec, edgeId string) (*nsxtypes.EdgeDLRAddInterfacesResp, error) + type Network struct + func NewNetwork(c *govnsx.Client) *Network + func (n Network) Delete(location string) error + func (n Network) Get(location string) (*nsxtypes.VirtualWire, error) + func (n Network) Post(vwSpec *nsxtypes.VWCreateSpec, scopeId string) (*nsxtypes.VWPostResp, error) + func (n Network) Put(vWire *nsxtypes.UpdateVirtualWire, location string) error