Documentation ¶
Index ¶
- type NsxtClient
- func (c *NsxtClient) ClusterInfo()
- func (c *NsxtClient) CreateComputeManager(name string, address string, thumbprint string, user string, password string, ...)
- func (c *NsxtClient) CreateEdge(name string, template_name string, address string, root_password string, ...)
- func (c *NsxtClient) CreateIpBlock(name string, cidr string)
- func (c *NsxtClient) CreateIpPool(name string)
- func (c *NsxtClient) CreateSegment(segment_name string, transportzone string, vlan_id string, gateway_name string, ...) error
- func (c *NsxtClient) CreateTransportZone(name string, transportType string)
- func (c *NsxtClient) DeleteComputeManager(cmId string)
- func (c *NsxtClient) DeleteIpBlock(name string)
- func (c *NsxtClient) DeleteIpPool(name string)
- func (c *NsxtClient) DeleteTransportZone(tzId string)
- func (c *NsxtClient) GetBgpConfig(tier0Id string, locale string) structs.BgpConfig
- func (c *NsxtClient) GetBgpNeighbors(tier0Id string, locale string) []structs.BgpNeighbor
- func (c *NsxtClient) GetBgpNeighborsAdvRoutes(path string) []structs.EdgeBgpAdvRoute
- func (c *NsxtClient) GetComputeManager() *[]structs.ComputeManager
- func (c *NsxtClient) GetComputeManagerStatus(cmId string) *structs.ComputeManagerStatus
- func (c *NsxtClient) GetDfwPolicies(domain string, name string) ([]structs.DfwPolicy, error)
- func (c *NsxtClient) GetDfwRules(policy structs.DfwPolicy) []structs.DfwRule
- func (c *NsxtClient) GetEdge() []structs.TransportNode
- func (c *NsxtClient) GetEdgeCluster() *[]structs.EdgeCluster
- func (c *NsxtClient) GetEdgeClusterUnderEnforcementPoint(site_id string, ep_id string) []string
- func (c *NsxtClient) GetEnforcementPoint(site_id string) *[]structs.EnforcementPoint
- func (c *NsxtClient) GetGatewayAggregateInfo(gw_realization_id string) []map[string]string
- func (c *NsxtClient) GetGatewayInterfaceStats(gw structs.Tier0Gateway) map[int]structs.RouterStats
- func (c *NsxtClient) GetInterface(tier0_id string, locale_service_id string) []map[string]string
- func (c *NsxtClient) GetInterfaceStatistics(tier0_id string, locale_service_id string, if_data map[string]string) structs.RouterStats
- func (c *NsxtClient) GetIpBlock() structs.IpBlocks
- func (c *NsxtClient) GetIpPool() structs.IpPools
- func (c *NsxtClient) GetLocaleService(tier0_id string) []string
- func (c *NsxtClient) GetPolicyTransportZone(site string, ep string) *structs.TransportZones
- func (c *NsxtClient) GetRoutingTable(tier0Id string) []structs.EdgeRoute
- func (c *NsxtClient) GetSegment() structs.Segments
- func (c *NsxtClient) GetSite() []string
- func (c *NsxtClient) GetTier0Gateway(gwId string) structs.Tier0Gateways
- func (c *NsxtClient) GetTier0GatewayFromName(name string) (structs.Tier0Gateway, error)
- func (c *NsxtClient) GetTier1Gateway(gwId string) structs.Tier1Gateways
- func (c *NsxtClient) GetTier1GatewayFromName(name string) (structs.Tier1Gateway, error)
- func (c *NsxtClient) GetTlsFingerprint(server string, port uint) string
- func (c *NsxtClient) GetTransportNode(site string, ep string) structs.TransportNodes
- func (c *NsxtClient) GetTransportNodeById(uuid string) *structs.TransportNode
- func (c *NsxtClient) GetTransportNodeProfile() *structs.TransportNodeProfiles
- func (c *NsxtClient) GetTransportNodeStatus(id string) string
- func (c *NsxtClient) GetTransportNodeTunnels(node_id string) structs.TransportNodeTunnels
- func (c *NsxtClient) GetTransportZone()
- func (c *NsxtClient) GetVersion() string
- func (c *NsxtClient) Login(cred url.Values) error
- func (c *NsxtClient) Logout()
- func (c *NsxtClient) PublishFQDN()
- func (c *NsxtClient) Request(method string, path string, query_param map[string]string, req_data []byte) *Response
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NsxtClient ¶
type NsxtClient struct { BaseUrl string BasicAuth bool Token string Debug bool // contains filtered or unexported fields }
func NewNsxtClient ¶
func NewNsxtClient(basicAuth bool, debug bool) *NsxtClient
func (*NsxtClient) ClusterInfo ¶
func (c *NsxtClient) ClusterInfo()
func (*NsxtClient) CreateComputeManager ¶
func (*NsxtClient) CreateEdge ¶
func (*NsxtClient) CreateIpBlock ¶
func (c *NsxtClient) CreateIpBlock(name string, cidr string)
func (*NsxtClient) CreateIpPool ¶
func (c *NsxtClient) CreateIpPool(name string)
func (*NsxtClient) CreateSegment ¶
func (*NsxtClient) CreateTransportZone ¶
func (c *NsxtClient) CreateTransportZone(name string, transportType string)
func (*NsxtClient) DeleteComputeManager ¶
func (c *NsxtClient) DeleteComputeManager(cmId string)
func (*NsxtClient) DeleteIpBlock ¶
func (c *NsxtClient) DeleteIpBlock(name string)
func (*NsxtClient) DeleteIpPool ¶
func (c *NsxtClient) DeleteIpPool(name string)
func (*NsxtClient) DeleteTransportZone ¶
func (c *NsxtClient) DeleteTransportZone(tzId string)
func (*NsxtClient) GetBgpConfig ¶
func (c *NsxtClient) GetBgpConfig(tier0Id string, locale string) structs.BgpConfig
func (*NsxtClient) GetBgpNeighbors ¶
func (c *NsxtClient) GetBgpNeighbors(tier0Id string, locale string) []structs.BgpNeighbor
func (*NsxtClient) GetBgpNeighborsAdvRoutes ¶
func (c *NsxtClient) GetBgpNeighborsAdvRoutes(path string) []structs.EdgeBgpAdvRoute
func (*NsxtClient) GetComputeManager ¶
func (c *NsxtClient) GetComputeManager() *[]structs.ComputeManager
func (*NsxtClient) GetComputeManagerStatus ¶
func (c *NsxtClient) GetComputeManagerStatus(cmId string) *structs.ComputeManagerStatus
func (*NsxtClient) GetDfwPolicies ¶
func (*NsxtClient) GetDfwRules ¶
func (c *NsxtClient) GetDfwRules(policy structs.DfwPolicy) []structs.DfwRule
func (*NsxtClient) GetEdge ¶
func (c *NsxtClient) GetEdge() []structs.TransportNode
func (*NsxtClient) GetEdgeCluster ¶
func (c *NsxtClient) GetEdgeCluster() *[]structs.EdgeCluster
func (*NsxtClient) GetEdgeClusterUnderEnforcementPoint ¶
func (c *NsxtClient) GetEdgeClusterUnderEnforcementPoint(site_id string, ep_id string) []string
func (*NsxtClient) GetEnforcementPoint ¶
func (c *NsxtClient) GetEnforcementPoint(site_id string) *[]structs.EnforcementPoint
func (*NsxtClient) GetGatewayAggregateInfo ¶
func (c *NsxtClient) GetGatewayAggregateInfo(gw_realization_id string) []map[string]string
func (*NsxtClient) GetGatewayInterfaceStats ¶
func (c *NsxtClient) GetGatewayInterfaceStats(gw structs.Tier0Gateway) map[int]structs.RouterStats
func (*NsxtClient) GetInterface ¶
func (c *NsxtClient) GetInterface(tier0_id string, locale_service_id string) []map[string]string
func (*NsxtClient) GetInterfaceStatistics ¶
func (c *NsxtClient) GetInterfaceStatistics(tier0_id string, locale_service_id string, if_data map[string]string) structs.RouterStats
func (*NsxtClient) GetIpBlock ¶
func (c *NsxtClient) GetIpBlock() structs.IpBlocks
func (*NsxtClient) GetIpPool ¶
func (c *NsxtClient) GetIpPool() structs.IpPools
func (*NsxtClient) GetLocaleService ¶
func (c *NsxtClient) GetLocaleService(tier0_id string) []string
func (*NsxtClient) GetPolicyTransportZone ¶
func (c *NsxtClient) GetPolicyTransportZone(site string, ep string) *structs.TransportZones
func (*NsxtClient) GetRoutingTable ¶
func (c *NsxtClient) GetRoutingTable(tier0Id string) []structs.EdgeRoute
func (*NsxtClient) GetSegment ¶
func (c *NsxtClient) GetSegment() structs.Segments
func (*NsxtClient) GetSite ¶
func (c *NsxtClient) GetSite() []string
func (*NsxtClient) GetTier0Gateway ¶
func (c *NsxtClient) GetTier0Gateway(gwId string) structs.Tier0Gateways
func (*NsxtClient) GetTier0GatewayFromName ¶
func (c *NsxtClient) GetTier0GatewayFromName(name string) (structs.Tier0Gateway, error)
func (*NsxtClient) GetTier1Gateway ¶
func (c *NsxtClient) GetTier1Gateway(gwId string) structs.Tier1Gateways
func (*NsxtClient) GetTier1GatewayFromName ¶
func (c *NsxtClient) GetTier1GatewayFromName(name string) (structs.Tier1Gateway, error)
func (*NsxtClient) GetTlsFingerprint ¶
func (c *NsxtClient) GetTlsFingerprint(server string, port uint) string
func (*NsxtClient) GetTransportNode ¶
func (c *NsxtClient) GetTransportNode(site string, ep string) structs.TransportNodes
func (*NsxtClient) GetTransportNodeById ¶
func (c *NsxtClient) GetTransportNodeById(uuid string) *structs.TransportNode
func (*NsxtClient) GetTransportNodeProfile ¶
func (c *NsxtClient) GetTransportNodeProfile() *structs.TransportNodeProfiles
func (*NsxtClient) GetTransportNodeStatus ¶
func (c *NsxtClient) GetTransportNodeStatus(id string) string
func (*NsxtClient) GetTransportNodeTunnels ¶
func (c *NsxtClient) GetTransportNodeTunnels(node_id string) structs.TransportNodeTunnels
func (*NsxtClient) GetVersion ¶
func (c *NsxtClient) GetVersion() string
func (*NsxtClient) Logout ¶
func (c *NsxtClient) Logout()
func (*NsxtClient) PublishFQDN ¶
func (c *NsxtClient) PublishFQDN()
type Response ¶
func (*Response) UnmarshalBody ¶
func (r *Response) UnmarshalBody(strct interface{})
Click to show internal directories.
Click to hide internal directories.