A command line tool for DigitalOcean services

args.go 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /*
  2. Copyright 2016 The Doctl Authors All rights reserved.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. package doit
  14. const (
  15. // ArgActionID is an action id argument.
  16. ArgActionID = "action-id"
  17. // ArgActionAfter is an action after argument.
  18. ArgActionAfter = "after"
  19. // ArgActionBefore is an action before argument.
  20. ArgActionBefore = "before"
  21. // ArgActionResourceType is an action resource type argument.
  22. ArgActionResourceType = "resource-type"
  23. // ArgActionRegion is an action region argument.
  24. ArgActionRegion = "region"
  25. // ArgActionStatus is an action status argument.
  26. ArgActionStatus = "status"
  27. // ArgActionType is an action type argument.
  28. ArgActionType = "action-type"
  29. // ArgCommandWait is a wait for a droplet to be created argument.
  30. ArgCommandWait = "wait"
  31. // ArgDomainName is a domain name argument.
  32. ArgDomainName = "domain-name"
  33. // ArgDropletID is a droplet id argument.
  34. ArgDropletID = "droplet-id"
  35. // ArgKernelID is a ekrnel id argument.
  36. ArgKernelID = "kernel-id"
  37. // ArgImage is an image argument.
  38. ArgImage = "image"
  39. // ArgImageID is an image id argument.
  40. ArgImageID = "image-id"
  41. // ArgImagePublic is a public image argument.
  42. ArgImagePublic = "public"
  43. // ArgImageSlug is an image slug argment.
  44. ArgImageSlug = "image-slug"
  45. // ArgIPAddress is an IP address argument.
  46. ArgIPAddress = "ip-address"
  47. // ArgDropletName is a droplet name argument.
  48. ArgDropletName = "droplet-name"
  49. // ArgResizeDisk is a resize disk argument.
  50. ArgResizeDisk = "resize-disk"
  51. // ArgSnapshotName is a snapshot name arugment.
  52. ArgSnapshotName = "snapshot-name"
  53. // ArgBackups is an enable backups argument.
  54. ArgBackups = "enable-backups"
  55. // ArgIPv6 is an enable IPv6 argument.
  56. ArgIPv6 = "enable-ipv6"
  57. // ArgPrivateNetworking is an enable private networking argument.
  58. ArgPrivateNetworking = "enable-private-networking"
  59. // ArgRecordData is a record data argument.
  60. ArgRecordData = "record-data"
  61. // ArgRecordID is a record id argument.
  62. ArgRecordID = "record-id"
  63. // ArgRecordName is a record name argument.
  64. ArgRecordName = "record-name"
  65. // ArgRecordPort is a record port argument.
  66. ArgRecordPort = "record-port"
  67. // ArgRecordPriority is a record priority argument.
  68. ArgRecordPriority = "record-priority"
  69. // ArgRecordType is a record type argument.
  70. ArgRecordType = "record-type"
  71. // ArgRecordWeight is a record weight argument.
  72. ArgRecordWeight = "record-weight"
  73. // ArgRegionSlug is a region slug argument.
  74. ArgRegionSlug = "region"
  75. // ArgSizeSlug is a size slug argument.
  76. ArgSizeSlug = "size"
  77. // ArgsSSHKeyPath is a ssh argument.
  78. ArgsSSHKeyPath = "ssh-key-path"
  79. // ArgSSHKeys is a ssh key argument.
  80. ArgSSHKeys = "ssh-keys"
  81. // ArgsSSHPort is a ssh argument.
  82. ArgsSSHPort = "ssh-port"
  83. // ArgUserData is a user data argument.
  84. ArgUserData = "user-data"
  85. // ArgUserDataFile is a user data file location argument.
  86. ArgUserDataFile = "user-data-file"
  87. // ArgImageName name is an image name argument.
  88. ArgImageName = "image-name"
  89. // ArgKey is a key argument.
  90. ArgKey = "key"
  91. // ArgKeyName is a key name argument.
  92. ArgKeyName = "key-name"
  93. // ArgKeyPublicKey is a public key argument.
  94. ArgKeyPublicKey = "public-key"
  95. // ArgKeyPublicKeyFile is a public key file argument.
  96. ArgKeyPublicKeyFile = "public-key-file"
  97. // ArgSSHUser is a SSH user argument.
  98. ArgSSHUser = "ssh-user"
  99. // ArgFormat is columns to include in output argment.
  100. ArgFormat = "format"
  101. // ArgNoHeader hides the output header.
  102. ArgNoHeader = "no-header"
  103. // ArgPollTime is how long before the next poll argument.
  104. ArgPollTime = "poll-timeout"
  105. // ArgOutput is an output type argument.
  106. ArgOutput = "output"
  107. )