Documentation
¶
Index ¶
- type AccessConfig
- type DefaultHttpRequest
- func (req *DefaultHttpRequest) DoGetRequest() ([]byte, error)
- func (r *DefaultHttpRequest) ListInstances(project, zone string) ([]Instance, error)
- func (r *DefaultHttpRequest) ListManagedZones(project string) ([]ManagedZone, error)
- func (r *DefaultHttpRequest) ListRRSets(project, zone string) ([]RRSet, error)
- func (r *DefaultHttpRequest) ListServiceAccounts(project string) (map[string]string, error)
- func (r *DefaultHttpRequest) ListZones(project string) ([]string, error)
- type Instance
- type ManagedZone
- type NetworkInterface
- type RRSet
- type ServiceAccount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessConfig ¶ added in v0.2.0
type AccessConfig struct {
NatIP string `json:"natIP"`
}
type DefaultHttpRequest ¶
func (*DefaultHttpRequest) DoGetRequest ¶
func (req *DefaultHttpRequest) DoGetRequest() ([]byte, error)
func (*DefaultHttpRequest) ListInstances ¶
func (r *DefaultHttpRequest) ListInstances(project, zone string) ([]Instance, error)
https://cloud.google.com/compute/docs/reference/rest/v1/instances/list
func (*DefaultHttpRequest) ListManagedZones ¶
func (r *DefaultHttpRequest) ListManagedZones(project string) ([]ManagedZone, error)
func (*DefaultHttpRequest) ListRRSets ¶
func (r *DefaultHttpRequest) ListRRSets(project, zone string) ([]RRSet, error)
func (*DefaultHttpRequest) ListServiceAccounts ¶
func (r *DefaultHttpRequest) ListServiceAccounts(project string) (map[string]string, error)
type Instance ¶ added in v0.2.0
type Instance struct {
Hostname string `json:"hostname"`
Zone string `json:"zone"`
NetworkInterfaces []NetworkInterface `json:"networkInterfaces"`
}
type ManagedZone ¶ added in v0.2.0
type NetworkInterface ¶ added in v0.2.0
type NetworkInterface struct {
NetworkIP string `json:"networkIP"`
AccessConfigs []AccessConfig `json:"accessConfigs"`
}
type ServiceAccount ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.