Showing content from https://github.com/moby/moby/issues/27919 below:
Generate API from swagger spec · Issue #27919 · moby/moby · GitHub
Related: docker-archive-public/docker.engine-api#77, #5893, #22931
We now have a swagger spec which we use to generate a few types. This issue is to document and track the rest of the required work.
Project
Milestone 1 - Types
Generate api/types
from the spec:
api/types/types.go
- ContainerChange
- ImageHistory
- ImageDelete
- GraphDriverData
- RootFS
- ImageInspect
- Container
- CopyConfig
- ContainerPathStat
- ContainerStats
- ContainerProcessList
- Version
- Info
- PluginsInfo
- ExecStartCheck
- HealthcheckResult
- Health
- ContainerState
- ContainerNode
- ContainerJSONBase
- ContainerJSON
- NetworkSettings
- SummaryNetworkSettings
- NetworkSettingsBase
- DefaultNetworkSettings
- MountPoint
- NetworkResource
- EndpointResource
- NetworkCreate
- NetworkCreateRequest
- NetworkCreateResponse
- NetworkConnect
- NetworkDisconnect
- Checkpoint
- Runtime
- DiskUsage
- ImagesPruneConfig
- ContainersPruneConfig
- VolumesPruneConfig
- NetworksPruneConfig
- ContainersPruneReport
- VolumesPruneReport
- ImagesPruneReport
- NetworksPruneReport
api/types/swarm/:
- Version
- Meta
- Annotations
- ContainerSpec
- Endpoint
- EndpointSpec
- ResolutionMode
- PortConfig
- PortConfigProtocol
- EndpointVirtualIP
- Network
- NetworkSpec
- NetworkAttachmentConfig
- NetworkAttachment
- IPAMOptions
- IPAMConfig
- Driver
- Node
- NodeSpec
- NodeRole
- NodeAvailability
- NodeDescription
- Platform
- EngineDescription
- PluginDescription
- NodeStatus
- Reachability
- ManagerStatus
- NodeState
- Service
- ServiceSpec
- ServiceMode
- UpdateState
- UpdateStatus
- ReplicatedService
- GlobalService
- UpdateConfig
- ClusterInfo
- Swarm
- JoinTokens
- Spec
- OrchestrationConfig
- TaskDefaults
- RaftConfig
- DispatcherConfig
- CAConfig
- ExternalCAProtocol
- ExternalCAProtocol
- ExternalCA
- InitRequest
- JoinRequest
- LocalNodeState
- Info
- Peer
- UpdateFlags
- TaskState
- Task
- TaskSpec
- Resources
- ResourceRequirements
- Placement
- RestartPolicy
- RestartPolicyCondition
- TaskStatus
- ContainerStatus
Milestone 2 - Client
Generate (most of) client/
from the spec.
This milestone can be done in parallel with Milestone 3, but requires a prototype before work can be enumerated.
Milestone 3 - Server (router)
Generate (most of) api/server/router/
from the spec.
This milestone can be done in parallel with Milestone 2, but requires a prototype before work can be enumerated.
ideahitme, krasi-georgiev, gaborigloi, silanpa, edosssa and 1 morekrasi-georgievbfirsh and krasi-georgiev
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4