Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Daytime of the night Daytime port = 13 // FTP protocol port number FTP port = 21 // SSH protocol port number SSH port = 22 // Telnet protocol port number Telnet port = 23 // SMTP protocol port number SMTP port = 25 // Time protocol port number Time port = 37 // Whois protocol port number Whois port = 43 // DNS protocol port number DNS port = 53 // TFTP protocol port number TFTP port = 69 // Gopher protocol port number Gopher port = 70 // HTTP protocol port number HTTP port = 80 // Kerberos protocol port number Kerberos port = 88 // Nic protocol port number Nic port = 101 // SFTP protocol port number SFTP port = 115 // NTP protocol port number NTP port = 123 // IMAP protocol port number IMAP port = 143 // SNMP protocol port number SNMP port = 161 // IRC protocol port number IRC port = 194 // HTTPS protocol port number HTTPS port = 443 // Docker protocol port number Docker port = 2376 // RDP protocol port number RDP port = 3389 // Minecraft protocol port number Minecraft port = 25565 )
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "exo", Short: "Manage your Exoscale infrastructure easily", SilenceUsage: true, SilenceErrors: true, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type RunStatus ¶
type RunStatus struct { URL string `json:"url"` Incidents []struct { Message string `json:"message"` Status string `json:"status"` Updated time.Time `json:"updated"` Title string `json:"title"` Created time.Time `json:"created"` } `json:"incidents"` UpcomingMaintenances []struct { Description string `json:"description"` Title string `json:"title"` Date time.Time `json:"date"` } `json:"upcoming_maintenances"` Status map[string]ServiceStatus `json:"status"` }
RunStatus represents a runstatus struct
type ServiceStatus ¶
type ServiceStatus struct {
State string `json:"state"`
}
ServiceStatus represents the state of a service
Source Files ¶
- affinitygroup.go
- affinitygroup_create.go
- affinitygroup_delete.go
- affinitygroup_list.go
- affinitygroup_show.go
- api.go
- api_layout.go
- client.go
- config.go
- config_delete.go
- config_list.go
- config_set.go
- config_show.go
- dns.go
- dns_add.go
- dns_create.go
- dns_delete.go
- dns_list.go
- dns_records_add.go
- dns_records_update.go
- dns_remove.go
- dns_show.go
- dns_update.go
- eip.go
- eip_associate.go
- eip_create.go
- eip_delete.go
- eip_dissociate.go
- eip_list.go
- eip_show.go
- eip_update.go
- firewall.go
- firewall_add.go
- firewall_create.go
- firewall_delete.go
- firewall_list.go
- firewall_remove.go
- firewall_show.go
- flags.go
- icmp_code.go
- icmp_type.go
- icmpcode_string.go
- icmptype_string.go
- kube.go
- kube_create.go
- kube_delete.go
- kube_env.go
- kube_ip.go
- kube_list.go
- kube_start.go
- kube_stop.go
- lab.go
- output.go
- port.go
- port_string.go
- privnet.go
- privnet_associate.go
- privnet_create.go
- privnet_delete.go
- privnet_dissociate.go
- privnet_list.go
- privnet_show.go
- privnet_update.go
- request.go
- root.go
- runstatus.go
- runstatus_create.go
- runstatus_delete.go
- runstatus_incident.go
- runstatus_incident_add.go
- runstatus_incident_list.go
- runstatus_incident_remove.go
- runstatus_incident_show.go
- runstatus_incident_update.go
- runstatus_list.go
- runstatus_maintenance.go
- runstatus_maintenance_add.go
- runstatus_maintenance_list.go
- runstatus_maintenance_remove.go
- runstatus_maintenance_show.go
- runstatus_maintenance_update.go
- runstatus_service.go
- runstatus_service_create.go
- runstatus_service_delete.go
- runstatus_service_list.go
- runstatus_service_show.go
- runstatus_show.go
- serviceoffering.go
- snapshot.go
- snapshot_create.go
- snapshot_delete.go
- snapshot_list.go
- snapshot_revert.go
- sos.go
- sos_acl.go
- sos_create.go
- sos_delete.go
- sos_download.go
- sos_headers.go
- sos_list.go
- sos_metadata.go
- sos_remove.go
- sos_upload.go
- ssh.go
- sshkey.go
- sshkey_create.go
- sshkey_delete.go
- sshkey_list.go
- sshkey_upload.go
- status.go
- template.go
- template_delete.go
- template_list.go
- template_register.go
- template_show.go
- vm.go
- vm_create.go
- vm_delete.go
- vm_firewall.go
- vm_list.go
- vm_reboot.go
- vm_reset.go
- vm_resize.go
- vm_scale.go
- vm_show.go
- vm_start.go
- vm_stop.go
- vm_update_ip.go
- zone.go
Click to show internal directories.
Click to hide internal directories.