This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 142
/
zz_generated_process.go
40 lines (38 loc) · 2.4 KB
/
zz_generated_process.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
package client
const (
ProcessType = "process"
ProcessFieldArgs = "args"
ProcessFieldBinds = "binds"
ProcessFieldCommand = "command"
ProcessFieldEnv = "env"
ProcessFieldHealthCheck = "healthCheck"
ProcessFieldImage = "image"
ProcessFieldImageRegistryAuthConfig = "imageRegistryAuthConfig"
ProcessFieldLabels = "labels"
ProcessFieldName = "name"
ProcessFieldNetworkMode = "networkMode"
ProcessFieldPidMode = "pidMode"
ProcessFieldPrivileged = "privileged"
ProcessFieldPublish = "publish"
ProcessFieldRestartPolicy = "restartPolicy"
ProcessFieldUser = "user"
ProcessFieldVolumesFrom = "volumesFrom"
)
type Process struct {
Args []string `json:"args,omitempty" yaml:"args,omitempty"`
Binds []string `json:"binds,omitempty" yaml:"binds,omitempty"`
Command []string `json:"command,omitempty" yaml:"command,omitempty"`
Env []string `json:"env,omitempty" yaml:"env,omitempty"`
HealthCheck *HealthCheck `json:"healthCheck,omitempty" yaml:"healthCheck,omitempty"`
Image string `json:"image,omitempty" yaml:"image,omitempty"`
ImageRegistryAuthConfig string `json:"imageRegistryAuthConfig,omitempty" yaml:"imageRegistryAuthConfig,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NetworkMode string `json:"networkMode,omitempty" yaml:"networkMode,omitempty"`
PidMode string `json:"pidMode,omitempty" yaml:"pidMode,omitempty"`
Privileged bool `json:"privileged,omitempty" yaml:"privileged,omitempty"`
Publish []string `json:"publish,omitempty" yaml:"publish,omitempty"`
RestartPolicy string `json:"restartPolicy,omitempty" yaml:"restartPolicy,omitempty"`
User string `json:"user,omitempty" yaml:"user,omitempty"`
VolumesFrom []string `json:"volumesFrom,omitempty" yaml:"volumesFrom,omitempty"`
}