types.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  1. package types // import "github.com/docker/docker/api/types"
  2. import (
  3. "errors"
  4. "fmt"
  5. "io"
  6. "os"
  7. "strings"
  8. "time"
  9. "github.com/docker/docker/api/types/container"
  10. "github.com/docker/docker/api/types/filters"
  11. "github.com/docker/docker/api/types/mount"
  12. "github.com/docker/docker/api/types/network"
  13. "github.com/docker/docker/api/types/registry"
  14. "github.com/docker/docker/api/types/swarm"
  15. "github.com/docker/go-connections/nat"
  16. )
  17. // RootFS returns Image's RootFS description including the layer IDs.
  18. type RootFS struct {
  19. Type string
  20. Layers []string `json:",omitempty"`
  21. BaseLayer string `json:",omitempty"`
  22. }
  23. // ImageInspect contains response of Engine API:
  24. // GET "/images/{name:.*}/json"
  25. type ImageInspect struct {
  26. ID string `json:"Id"`
  27. RepoTags []string
  28. RepoDigests []string
  29. Parent string
  30. Comment string
  31. Created string
  32. Container string
  33. ContainerConfig *container.Config
  34. DockerVersion string
  35. Author string
  36. Config *container.Config
  37. Architecture string
  38. Variant string `json:",omitempty"`
  39. Os string
  40. OsVersion string `json:",omitempty"`
  41. Size int64
  42. VirtualSize int64
  43. GraphDriver GraphDriverData
  44. RootFS RootFS
  45. Metadata ImageMetadata
  46. }
  47. // ImageMetadata contains engine-local data about the image
  48. type ImageMetadata struct {
  49. LastTagTime time.Time `json:",omitempty"`
  50. }
  51. // Container contains response of Engine API:
  52. // GET "/containers/json"
  53. type Container struct {
  54. ID string `json:"Id"`
  55. Names []string
  56. Image string
  57. ImageID string
  58. Command string
  59. Created int64
  60. Ports []Port
  61. SizeRw int64 `json:",omitempty"`
  62. SizeRootFs int64 `json:",omitempty"`
  63. Labels map[string]string
  64. State string
  65. Status string
  66. HostConfig struct {
  67. NetworkMode string `json:",omitempty"`
  68. }
  69. NetworkSettings *SummaryNetworkSettings
  70. Mounts []MountPoint
  71. }
  72. // CopyConfig contains request body of Engine API:
  73. // POST "/containers/"+containerID+"/copy"
  74. type CopyConfig struct {
  75. Resource string
  76. }
  77. // ContainerPathStat is used to encode the header from
  78. // GET "/containers/{name:.*}/archive"
  79. // "Name" is the file or directory name.
  80. type ContainerPathStat struct {
  81. Name string `json:"name"`
  82. Size int64 `json:"size"`
  83. Mode os.FileMode `json:"mode"`
  84. Mtime time.Time `json:"mtime"`
  85. LinkTarget string `json:"linkTarget"`
  86. }
  87. // ContainerStats contains response of Engine API:
  88. // GET "/stats"
  89. type ContainerStats struct {
  90. Body io.ReadCloser `json:"body"`
  91. OSType string `json:"ostype"`
  92. }
  93. // Ping contains response of Engine API:
  94. // GET "/_ping"
  95. type Ping struct {
  96. APIVersion string
  97. OSType string
  98. Experimental bool
  99. BuilderVersion BuilderVersion
  100. }
  101. // ComponentVersion describes the version information for a specific component.
  102. type ComponentVersion struct {
  103. Name string
  104. Version string
  105. Details map[string]string `json:",omitempty"`
  106. }
  107. // Version contains response of Engine API:
  108. // GET "/version"
  109. type Version struct {
  110. Platform struct{ Name string } `json:",omitempty"`
  111. Components []ComponentVersion `json:",omitempty"`
  112. // The following fields are deprecated, they relate to the Engine component and are kept for backwards compatibility
  113. Version string
  114. APIVersion string `json:"ApiVersion"`
  115. MinAPIVersion string `json:"MinAPIVersion,omitempty"`
  116. GitCommit string
  117. GoVersion string
  118. Os string
  119. Arch string
  120. KernelVersion string `json:",omitempty"`
  121. Experimental bool `json:",omitempty"`
  122. BuildTime string `json:",omitempty"`
  123. }
  124. // Commit holds the Git-commit (SHA1) that a binary was built from, as reported
  125. // in the version-string of external tools, such as containerd, or runC.
  126. type Commit struct {
  127. ID string // ID is the actual commit ID of external tool.
  128. Expected string // Expected is the commit ID of external tool expected by dockerd as set at build time.
  129. }
  130. // Info contains response of Engine API:
  131. // GET "/info"
  132. type Info struct {
  133. ID string
  134. Containers int
  135. ContainersRunning int
  136. ContainersPaused int
  137. ContainersStopped int
  138. Images int
  139. Driver string
  140. DriverStatus [][2]string
  141. SystemStatus [][2]string `json:",omitempty"` // SystemStatus is only propagated by the Swarm standalone API
  142. Plugins PluginsInfo
  143. MemoryLimit bool
  144. SwapLimit bool
  145. KernelMemory bool // Deprecated: kernel 5.4 deprecated kmem.limit_in_bytes
  146. KernelMemoryTCP bool
  147. CPUCfsPeriod bool `json:"CpuCfsPeriod"`
  148. CPUCfsQuota bool `json:"CpuCfsQuota"`
  149. CPUShares bool
  150. CPUSet bool
  151. PidsLimit bool
  152. IPv4Forwarding bool
  153. BridgeNfIptables bool
  154. BridgeNfIP6tables bool `json:"BridgeNfIp6tables"`
  155. Debug bool
  156. NFd int
  157. OomKillDisable bool
  158. NGoroutines int
  159. SystemTime string
  160. LoggingDriver string
  161. CgroupDriver string
  162. CgroupVersion string `json:",omitempty"`
  163. NEventsListener int
  164. KernelVersion string
  165. OperatingSystem string
  166. OSVersion string
  167. OSType string
  168. Architecture string
  169. IndexServerAddress string
  170. RegistryConfig *registry.ServiceConfig
  171. NCPU int
  172. MemTotal int64
  173. GenericResources []swarm.GenericResource
  174. DockerRootDir string
  175. HTTPProxy string `json:"HttpProxy"`
  176. HTTPSProxy string `json:"HttpsProxy"`
  177. NoProxy string
  178. Name string
  179. Labels []string
  180. ExperimentalBuild bool
  181. ServerVersion string
  182. ClusterStore string `json:",omitempty"` // Deprecated: host-discovery and overlay networks with external k/v stores are deprecated
  183. ClusterAdvertise string `json:",omitempty"` // Deprecated: host-discovery and overlay networks with external k/v stores are deprecated
  184. Runtimes map[string]Runtime
  185. DefaultRuntime string
  186. Swarm swarm.Info
  187. // LiveRestoreEnabled determines whether containers should be kept
  188. // running when the daemon is shutdown or upon daemon start if
  189. // running containers are detected
  190. LiveRestoreEnabled bool
  191. Isolation container.Isolation
  192. InitBinary string
  193. ContainerdCommit Commit
  194. RuncCommit Commit
  195. InitCommit Commit
  196. SecurityOptions []string
  197. ProductLicense string `json:",omitempty"`
  198. DefaultAddressPools []NetworkAddressPool `json:",omitempty"`
  199. // Warnings contains a slice of warnings that occurred while collecting
  200. // system information. These warnings are intended to be informational
  201. // messages for the user, and are not intended to be parsed / used for
  202. // other purposes, as they do not have a fixed format.
  203. Warnings []string
  204. }
  205. // KeyValue holds a key/value pair
  206. type KeyValue struct {
  207. Key, Value string
  208. }
  209. // NetworkAddressPool is a temp struct used by Info struct
  210. type NetworkAddressPool struct {
  211. Base string
  212. Size int
  213. }
  214. // SecurityOpt contains the name and options of a security option
  215. type SecurityOpt struct {
  216. Name string
  217. Options []KeyValue
  218. }
  219. // DecodeSecurityOptions decodes a security options string slice to a type safe
  220. // SecurityOpt
  221. func DecodeSecurityOptions(opts []string) ([]SecurityOpt, error) {
  222. so := []SecurityOpt{}
  223. for _, opt := range opts {
  224. // support output from a < 1.13 docker daemon
  225. if !strings.Contains(opt, "=") {
  226. so = append(so, SecurityOpt{Name: opt})
  227. continue
  228. }
  229. secopt := SecurityOpt{}
  230. split := strings.Split(opt, ",")
  231. for _, s := range split {
  232. kv := strings.SplitN(s, "=", 2)
  233. if len(kv) != 2 {
  234. return nil, fmt.Errorf("invalid security option %q", s)
  235. }
  236. if kv[0] == "" || kv[1] == "" {
  237. return nil, errors.New("invalid empty security option")
  238. }
  239. if kv[0] == "name" {
  240. secopt.Name = kv[1]
  241. continue
  242. }
  243. secopt.Options = append(secopt.Options, KeyValue{Key: kv[0], Value: kv[1]})
  244. }
  245. so = append(so, secopt)
  246. }
  247. return so, nil
  248. }
  249. // PluginsInfo is a temp struct holding Plugins name
  250. // registered with docker daemon. It is used by Info struct
  251. type PluginsInfo struct {
  252. // List of Volume plugins registered
  253. Volume []string
  254. // List of Network plugins registered
  255. Network []string
  256. // List of Authorization plugins registered
  257. Authorization []string
  258. // List of Log plugins registered
  259. Log []string
  260. }
  261. // ExecStartCheck is a temp struct used by execStart
  262. // Config fields is part of ExecConfig in runconfig package
  263. type ExecStartCheck struct {
  264. // ExecStart will first check if it's detached
  265. Detach bool
  266. // Check if there's a tty
  267. Tty bool
  268. }
  269. // HealthcheckResult stores information about a single run of a healthcheck probe
  270. type HealthcheckResult struct {
  271. Start time.Time // Start is the time this check started
  272. End time.Time // End is the time this check ended
  273. ExitCode int // ExitCode meanings: 0=healthy, 1=unhealthy, 2=reserved (considered unhealthy), else=error running probe
  274. Output string // Output from last check
  275. }
  276. // Health states
  277. const (
  278. NoHealthcheck = "none" // Indicates there is no healthcheck
  279. Starting = "starting" // Starting indicates that the container is not yet ready
  280. Healthy = "healthy" // Healthy indicates that the container is running correctly
  281. Unhealthy = "unhealthy" // Unhealthy indicates that the container has a problem
  282. )
  283. // Health stores information about the container's healthcheck results
  284. type Health struct {
  285. Status string // Status is one of Starting, Healthy or Unhealthy
  286. FailingStreak int // FailingStreak is the number of consecutive failures
  287. Log []*HealthcheckResult // Log contains the last few results (oldest first)
  288. }
  289. // ContainerState stores container's running state
  290. // it's part of ContainerJSONBase and will return by "inspect" command
  291. type ContainerState struct {
  292. Status string // String representation of the container state. Can be one of "created", "running", "paused", "restarting", "removing", "exited", or "dead"
  293. Running bool
  294. Paused bool
  295. Restarting bool
  296. OOMKilled bool
  297. Dead bool
  298. Pid int
  299. ExitCode int
  300. Error string
  301. StartedAt string
  302. FinishedAt string
  303. Health *Health `json:",omitempty"`
  304. }
  305. // ContainerNode stores information about the node that a container
  306. // is running on. It's only used by the Docker Swarm standalone API
  307. type ContainerNode struct {
  308. ID string
  309. IPAddress string `json:"IP"`
  310. Addr string
  311. Name string
  312. Cpus int
  313. Memory int64
  314. Labels map[string]string
  315. }
  316. // ContainerJSONBase contains response of Engine API:
  317. // GET "/containers/{name:.*}/json"
  318. type ContainerJSONBase struct {
  319. ID string `json:"Id"`
  320. Created string
  321. Path string
  322. Args []string
  323. State *ContainerState
  324. Image string
  325. ResolvConfPath string
  326. HostnamePath string
  327. HostsPath string
  328. LogPath string
  329. Node *ContainerNode `json:",omitempty"` // Node is only propagated by Docker Swarm standalone API
  330. Name string
  331. RestartCount int
  332. Driver string
  333. Platform string
  334. MountLabel string
  335. ProcessLabel string
  336. AppArmorProfile string
  337. ExecIDs []string
  338. HostConfig *container.HostConfig
  339. GraphDriver GraphDriverData
  340. SizeRw *int64 `json:",omitempty"`
  341. SizeRootFs *int64 `json:",omitempty"`
  342. }
  343. // ContainerJSON is newly used struct along with MountPoint
  344. type ContainerJSON struct {
  345. *ContainerJSONBase
  346. Mounts []MountPoint
  347. Config *container.Config
  348. NetworkSettings *NetworkSettings
  349. }
  350. // NetworkSettings exposes the network settings in the api
  351. type NetworkSettings struct {
  352. NetworkSettingsBase
  353. DefaultNetworkSettings
  354. Networks map[string]*network.EndpointSettings
  355. }
  356. // SummaryNetworkSettings provides a summary of container's networks
  357. // in /containers/json
  358. type SummaryNetworkSettings struct {
  359. Networks map[string]*network.EndpointSettings
  360. }
  361. // NetworkSettingsBase holds basic information about networks
  362. type NetworkSettingsBase struct {
  363. Bridge string // Bridge is the Bridge name the network uses(e.g. `docker0`)
  364. SandboxID string // SandboxID uniquely represents a container's network stack
  365. HairpinMode bool // HairpinMode specifies if hairpin NAT should be enabled on the virtual interface
  366. LinkLocalIPv6Address string // LinkLocalIPv6Address is an IPv6 unicast address using the link-local prefix
  367. LinkLocalIPv6PrefixLen int // LinkLocalIPv6PrefixLen is the prefix length of an IPv6 unicast address
  368. Ports nat.PortMap // Ports is a collection of PortBinding indexed by Port
  369. SandboxKey string // SandboxKey identifies the sandbox
  370. SecondaryIPAddresses []network.Address
  371. SecondaryIPv6Addresses []network.Address
  372. }
  373. // DefaultNetworkSettings holds network information
  374. // during the 2 release deprecation period.
  375. // It will be removed in Docker 1.11.
  376. type DefaultNetworkSettings struct {
  377. EndpointID string // EndpointID uniquely represents a service endpoint in a Sandbox
  378. Gateway string // Gateway holds the gateway address for the network
  379. GlobalIPv6Address string // GlobalIPv6Address holds network's global IPv6 address
  380. GlobalIPv6PrefixLen int // GlobalIPv6PrefixLen represents mask length of network's global IPv6 address
  381. IPAddress string // IPAddress holds the IPv4 address for the network
  382. IPPrefixLen int // IPPrefixLen represents mask length of network's IPv4 address
  383. IPv6Gateway string // IPv6Gateway holds gateway address specific for IPv6
  384. MacAddress string // MacAddress holds the MAC address for the network
  385. }
  386. // MountPoint represents a mount point configuration inside the container.
  387. // This is used for reporting the mountpoints in use by a container.
  388. type MountPoint struct {
  389. Type mount.Type `json:",omitempty"`
  390. Name string `json:",omitempty"`
  391. Source string
  392. Destination string
  393. Driver string `json:",omitempty"`
  394. Mode string
  395. RW bool
  396. Propagation mount.Propagation
  397. }
  398. // NetworkResource is the body of the "get network" http response message
  399. type NetworkResource struct {
  400. Name string // Name is the requested name of the network
  401. ID string `json:"Id"` // ID uniquely identifies a network on a single machine
  402. Created time.Time // Created is the time the network created
  403. Scope string // Scope describes the level at which the network exists (e.g. `swarm` for cluster-wide or `local` for machine level)
  404. Driver string // Driver is the Driver name used to create the network (e.g. `bridge`, `overlay`)
  405. EnableIPv6 bool // EnableIPv6 represents whether to enable IPv6
  406. IPAM network.IPAM // IPAM is the network's IP Address Management
  407. Internal bool // Internal represents if the network is used internal only
  408. Attachable bool // Attachable represents if the global scope is manually attachable by regular containers from workers in swarm mode.
  409. Ingress bool // Ingress indicates the network is providing the routing-mesh for the swarm cluster.
  410. ConfigFrom network.ConfigReference // ConfigFrom specifies the source which will provide the configuration for this network.
  411. ConfigOnly bool // ConfigOnly networks are place-holder networks for network configurations to be used by other networks. ConfigOnly networks cannot be used directly to run containers or services.
  412. Containers map[string]EndpointResource // Containers contains endpoints belonging to the network
  413. Options map[string]string // Options holds the network specific options to use for when creating the network
  414. Labels map[string]string // Labels holds metadata specific to the network being created
  415. Peers []network.PeerInfo `json:",omitempty"` // List of peer nodes for an overlay network
  416. Services map[string]network.ServiceInfo `json:",omitempty"`
  417. }
  418. // EndpointResource contains network resources allocated and used for a container in a network
  419. type EndpointResource struct {
  420. Name string
  421. EndpointID string
  422. MacAddress string
  423. IPv4Address string
  424. IPv6Address string
  425. }
  426. // NetworkCreate is the expected body of the "create network" http request message
  427. type NetworkCreate struct {
  428. // Check for networks with duplicate names.
  429. // Network is primarily keyed based on a random ID and not on the name.
  430. // Network name is strictly a user-friendly alias to the network
  431. // which is uniquely identified using ID.
  432. // And there is no guaranteed way to check for duplicates.
  433. // Option CheckDuplicate is there to provide a best effort checking of any networks
  434. // which has the same name but it is not guaranteed to catch all name collisions.
  435. CheckDuplicate bool
  436. Driver string
  437. Scope string
  438. EnableIPv6 bool
  439. IPAM *network.IPAM
  440. Internal bool
  441. Attachable bool
  442. Ingress bool
  443. ConfigOnly bool
  444. ConfigFrom *network.ConfigReference
  445. Options map[string]string
  446. Labels map[string]string
  447. }
  448. // NetworkCreateRequest is the request message sent to the server for network create call.
  449. type NetworkCreateRequest struct {
  450. NetworkCreate
  451. Name string
  452. }
  453. // NetworkCreateResponse is the response message sent by the server for network create call
  454. type NetworkCreateResponse struct {
  455. ID string `json:"Id"`
  456. Warning string
  457. }
  458. // NetworkConnect represents the data to be used to connect a container to the network
  459. type NetworkConnect struct {
  460. Container string
  461. EndpointConfig *network.EndpointSettings `json:",omitempty"`
  462. }
  463. // NetworkDisconnect represents the data to be used to disconnect a container from the network
  464. type NetworkDisconnect struct {
  465. Container string
  466. Force bool
  467. }
  468. // NetworkInspectOptions holds parameters to inspect network
  469. type NetworkInspectOptions struct {
  470. Scope string
  471. Verbose bool
  472. }
  473. // Checkpoint represents the details of a checkpoint
  474. type Checkpoint struct {
  475. Name string // Name is the name of the checkpoint
  476. }
  477. // Runtime describes an OCI runtime
  478. type Runtime struct {
  479. Path string `json:"path"`
  480. Args []string `json:"runtimeArgs,omitempty"`
  481. // This is exposed here only for internal use
  482. // It is not currently supported to specify custom shim configs
  483. Shim *ShimConfig `json:"-"`
  484. }
  485. // ShimConfig is used by runtime to configure containerd shims
  486. type ShimConfig struct {
  487. Binary string
  488. Opts interface{}
  489. }
  490. // DiskUsageObject represents an object type used for disk usage query filtering.
  491. type DiskUsageObject string
  492. const (
  493. // ContainerObject represents a container DiskUsageObject.
  494. ContainerObject DiskUsageObject = "container"
  495. // ImageObject represents an image DiskUsageObject.
  496. ImageObject DiskUsageObject = "image"
  497. // VolumeObject represents a volume DiskUsageObject.
  498. VolumeObject DiskUsageObject = "volume"
  499. // BuildCacheObject represents a build-cache DiskUsageObject.
  500. BuildCacheObject DiskUsageObject = "build-cache"
  501. )
  502. // DiskUsageOptions holds parameters for system disk usage query.
  503. type DiskUsageOptions struct {
  504. // Types specifies what object types to include in the response. If empty,
  505. // all object types are returned.
  506. Types []DiskUsageObject
  507. }
  508. // DiskUsage contains response of Engine API:
  509. // GET "/system/df"
  510. type DiskUsage struct {
  511. LayersSize int64
  512. Images []*ImageSummary
  513. Containers []*Container
  514. Volumes []*Volume
  515. BuildCache []*BuildCache
  516. BuilderSize int64 `json:",omitempty"` // Deprecated: deprecated in API 1.38, and no longer used since API 1.40.
  517. }
  518. // ContainersPruneReport contains the response for Engine API:
  519. // POST "/containers/prune"
  520. type ContainersPruneReport struct {
  521. ContainersDeleted []string
  522. SpaceReclaimed uint64
  523. }
  524. // VolumesPruneReport contains the response for Engine API:
  525. // POST "/volumes/prune"
  526. type VolumesPruneReport struct {
  527. VolumesDeleted []string
  528. SpaceReclaimed uint64
  529. }
  530. // ImagesPruneReport contains the response for Engine API:
  531. // POST "/images/prune"
  532. type ImagesPruneReport struct {
  533. ImagesDeleted []ImageDeleteResponseItem
  534. SpaceReclaimed uint64
  535. }
  536. // BuildCachePruneReport contains the response for Engine API:
  537. // POST "/build/prune"
  538. type BuildCachePruneReport struct {
  539. CachesDeleted []string
  540. SpaceReclaimed uint64
  541. }
  542. // NetworksPruneReport contains the response for Engine API:
  543. // POST "/networks/prune"
  544. type NetworksPruneReport struct {
  545. NetworksDeleted []string
  546. }
  547. // SecretCreateResponse contains the information returned to a client
  548. // on the creation of a new secret.
  549. type SecretCreateResponse struct {
  550. // ID is the id of the created secret.
  551. ID string
  552. }
  553. // SecretListOptions holds parameters to list secrets
  554. type SecretListOptions struct {
  555. Filters filters.Args
  556. }
  557. // ConfigCreateResponse contains the information returned to a client
  558. // on the creation of a new config.
  559. type ConfigCreateResponse struct {
  560. // ID is the id of the created config.
  561. ID string
  562. }
  563. // ConfigListOptions holds parameters to list configs
  564. type ConfigListOptions struct {
  565. Filters filters.Args
  566. }
  567. // PushResult contains the tag, manifest digest, and manifest size from the
  568. // push. It's used to signal this information to the trust code in the client
  569. // so it can sign the manifest if necessary.
  570. type PushResult struct {
  571. Tag string
  572. Digest string
  573. Size int
  574. }
  575. // BuildResult contains the image id of a successful build
  576. type BuildResult struct {
  577. ID string
  578. }
  579. // BuildCache contains information about a build cache record
  580. type BuildCache struct {
  581. ID string
  582. Parent string
  583. Type string
  584. Description string
  585. InUse bool
  586. Shared bool
  587. Size int64
  588. CreatedAt time.Time
  589. LastUsedAt *time.Time
  590. UsageCount int
  591. }
  592. // BuildCachePruneOptions hold parameters to prune the build cache
  593. type BuildCachePruneOptions struct {
  594. All bool
  595. KeepStorage int64
  596. Filters filters.Args
  597. }