MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / parseListVnets

Function parseListVnets

cfapi/virtual_network.go:124–128  ·  view source on GitHub ↗
(body io.ReadCloser)

Source from the content-addressed store, hash-verified

122}
123
124func parseListVnets(body io.ReadCloser) ([]*VirtualNetwork, error) {
125 var vnets []*VirtualNetwork
126 err := parseResponse(body, &vnets)
127 return vnets, err
128}
129
130func parseVnet(body io.ReadCloser) (VirtualNetwork, error) {
131 var vnet VirtualNetwork

Callers 1

ListVirtualNetworksMethod · 0.85

Calls 1

parseResponseFunction · 0.85

Tested by

no test coverage detected