forked from digitalocean/doctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
args.go
138 lines (133 loc) · 4.95 KB
/
args.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/*
Copyright 2016 The Doctl Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package doctl
const (
// ArgActionID is an action id argument.
ArgActionID = "action-id"
// ArgActionAfter is an action after argument.
ArgActionAfter = "after"
// ArgActionBefore is an action before argument.
ArgActionBefore = "before"
// ArgActionResourceType is an action resource type argument.
ArgActionResourceType = "resource-type"
// ArgActionRegion is an action region argument.
ArgActionRegion = "region"
// ArgActionStatus is an action status argument.
ArgActionStatus = "status"
// ArgActionType is an action type argument.
ArgActionType = "action-type"
// ArgCommandWait is a wait for a droplet to be created argument.
ArgCommandWait = "wait"
// ArgDomainName is a domain name argument.
ArgDomainName = "domain-name"
// ArgDropletID is a droplet id argument.
ArgDropletID = "droplet-id"
// ArgKernelID is a ekrnel id argument.
ArgKernelID = "kernel-id"
// ArgImage is an image argument.
ArgImage = "image"
// ArgImageID is an image id argument.
ArgImageID = "image-id"
// ArgImagePublic is a public image argument.
ArgImagePublic = "public"
// ArgImageSlug is an image slug argment.
ArgImageSlug = "image-slug"
// ArgIPAddress is an IP address argument.
ArgIPAddress = "ip-address"
// ArgDropletName is a droplet name argument.
ArgDropletName = "droplet-name"
// ArgResizeDisk is a resize disk argument.
ArgResizeDisk = "resize-disk"
// ArgSnapshotName is a snapshot name arugment.
ArgSnapshotName = "snapshot-name"
// ArgSnapshotDesc is the description for volume snapshot.
ArgSnapshotDesc = "snapshot-desc"
// ArgResourceType is the resource type for snapshot.
ArgResourceType = "resource"
// ArgBackups is an enable backups argument.
ArgBackups = "enable-backups"
// ArgIPv6 is an enable IPv6 argument.
ArgIPv6 = "enable-ipv6"
// ArgPrivateNetworking is an enable private networking argument.
ArgPrivateNetworking = "enable-private-networking"
// ArgMonitoring is an enable monitoring argument.
ArgMonitoring = "enable-monitoring"
// ArgRecordData is a record data argument.
ArgRecordData = "record-data"
// ArgRecordID is a record id argument.
ArgRecordID = "record-id"
// ArgRecordName is a record name argument.
ArgRecordName = "record-name"
// ArgRecordPort is a record port argument.
ArgRecordPort = "record-port"
// ArgRecordPriority is a record priority argument.
ArgRecordPriority = "record-priority"
// ArgRecordType is a record type argument.
ArgRecordType = "record-type"
// ArgRecordWeight is a record weight argument.
ArgRecordWeight = "record-weight"
// ArgRegionSlug is a region slug argument.
ArgRegionSlug = "region"
// ArgSizeSlug is a size slug argument.
ArgSizeSlug = "size"
// ArgsSSHKeyPath is a ssh argument.
ArgsSSHKeyPath = "ssh-key-path"
// ArgSSHKeys is a ssh key argument.
ArgSSHKeys = "ssh-keys"
// ArgsSSHPort is a ssh argument.
ArgsSSHPort = "ssh-port"
// ArgsSSHAgentForwarding is a ssh argument.
ArgsSSHAgentForwarding = "ssh-agent-forwarding"
// ArgsSSHPrivateIP is a ssh argument.
ArgsSSHPrivateIP = "ssh-private-ip"
// ArgUserData is a user data argument.
ArgUserData = "user-data"
// ArgUserDataFile is a user data file location argument.
ArgUserDataFile = "user-data-file"
// ArgImageName name is an image name argument.
ArgImageName = "image-name"
// ArgKey is a key argument.
ArgKey = "key"
// ArgKeyName is a key name argument.
ArgKeyName = "key-name"
// ArgKeyPublicKey is a public key argument.
ArgKeyPublicKey = "public-key"
// ArgKeyPublicKeyFile is a public key file argument.
ArgKeyPublicKeyFile = "public-key-file"
// ArgSSHUser is a SSH user argument.
ArgSSHUser = "ssh-user"
// ArgFormat is columns to include in output argment.
ArgFormat = "format"
// ArgNoHeader hides the output header.
ArgNoHeader = "no-header"
// ArgPollTime is how long before the next poll argument.
ArgPollTime = "poll-timeout"
// ArgTagName is a tag name
ArgTagName = "tag-name"
// ArgTagNames is a slice of possible tag names
ArgTagNames = "tag-names"
//ArgTemplate is template format
ArgTemplate = "template"
// ArgOutput is an output type argument.
ArgOutput = "output"
// ArgVolumeSize is the size of a volume.
ArgVolumeSize = "size"
// ArgVolumeDesc is the description of a volume.
ArgVolumeDesc = "desc"
// ArgVolumeRegion is the region of a volume.
ArgVolumeRegion = "region"
// ArgVolumeList is the IDs of many volumes.
ArgVolumeList = "volumes"
// ArgDeleteForce forces deletion actions
ArgDeleteForce = "force"
)