Search or ask Docker

ServiceInfo

ServiceInfo schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

represents service parameters with the list of service's tasks
LocalLBIndex

Type: integer

All schema constraints and annotations
{
  "format": "int",
  "type": "integer",
  "x-go-type": {
    "type": "int"
  },
  "x-omitempty": false
}
Ports

Type: array

Array item

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "items": {
    "type": "string"
  },
  "type": "array",
  "x-omitempty": false
}
Tasks

Type: array

Array item

Schema: NetworkTaskInfo

All schema constraints and annotations
{
  "items": {
    "$ref": "#/components/schemas/NetworkTaskInfo"
  },
  "type": "array",
  "x-omitempty": false
}
VIP

Type: string

All schema constraints and annotations
{
  "type": "string",
  "x-go-type": {
    "import": {
      "package": "net/netip"
    },
    "type": "Addr"
  },
  "x-omitempty": false
}
All schema constraints and annotations
{
  "description": "represents service parameters with the list of service's tasks\n",
  "properties": {
    "LocalLBIndex": {
      "format": "int",
      "type": "integer",
      "x-go-type": {
        "type": "int"
      },
      "x-omitempty": false
    },
    "Ports": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-omitempty": false
    },
    "Tasks": {
      "items": {
        "$ref": "#/components/schemas/NetworkTaskInfo"
      },
      "type": "array",
      "x-omitempty": false
    },
    "VIP": {
      "type": "string",
      "x-go-type": {
        "import": {
          "package": "net/netip"
        },
        "type": "Addr"
      },
      "x-omitempty": false
    }
  },
  "type": "object",
  "x-nullable": false,
  "x-omitempty": false
}