Skip to main content
Version: 0.6.x

OpenAPI references

Plugin API spec

Please find the sidecar OpenAPI JSON spec can be found here.

interLink Plugin API (0.6.0)

Download OpenAPI specification:Download

This is the API spec for the interLink API server to plugin (sidecar) communication

/create

Request Body schema: application/json
required
Array of objects or null (InterlinkRetrievedContainer)
object (InterlinkScriptBuildConfig)
jobScript
string
object (V1Pod)

Responses

Request samples

Content type
application/json
{
  • "container": [
    ],
  • "jobConfig": {
    },
  • "jobScript": "string",
  • "pod": {
    }
}

Response samples

Content type
application/json
{
  • "PodJID": "string",
  • "PodUID": "string"
}

/delete

Request Body schema: application/json
required
apiVersion
string
kind
string
object (V1ObjectMeta)
object (V1PodSpec)
object (V1PodStatus)

Responses

Request samples

Content type
application/json
{
  • "apiVersion": "string",
  • "kind": "string",
  • "metadata": {
    },
  • "spec": {
    },
  • "status": {
    }
}

/getLogs

Responses

/status

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Please find the interLink OpenAPI JSON spec can be found here.

interLink server API (0.6.0)

Download OpenAPI specification:Download

This is the API spec for the Virtual Kubelet to interLink API server communication

/create

Request Body schema: application/json
required
Array of objects or null (V1ConfigMap)
jobscriptURL
string
object (V1Pod)
Array of objects or null (V1ConfigMap)
Array of objects or null (V1Secret)

Responses

Request samples

Content type
application/json
{
  • "configmaps": [
    ],
  • "jobscriptURL": "string",
  • "pod": {
    },
  • "projectedvolumesmaps": [
    ],
  • "secrets": [
    ]
}

Response samples

Content type
application/json
{
  • "PodJID": "string",
  • "PodUID": "string"
}

/delete

Responses

/getLogs

Responses

/pinglink

Responses

/status

Responses

Response samples

Content type
application/json
[
  • {
    }
]