package
module
Version:
v0.0.0-...-6d938a6
Opens a new window with list of versions in this module.
Published: May 30, 2021
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Instance struct {
Name string `json:"name"`
Zone string `json:"zone"`
MachineType string `json:"machine_type"`
Preemptible string `json:"preemptible"`
InternalIP string `json:"internal_ip"`
ExternalIP string `json:"external_ip"`
Status string `json:"status"`
}
type RequestBody struct {
ProjectId string `json:"projectId"`
Region string `json:"region"`
JsonKeyPath string `json:"jsonKeyPath,omitempty"`
SlackToken string `json:"slackToken,omitempty"`
SlackChannel string `json:"slackChannel,omitempty"`
SlackEmoji string `json:"slackEmoji,omitempty"`
}
type Response struct {
Payload []Instance `json:"payload"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.