98 lines
2.7 KiB
JSON
98 lines
2.7 KiB
JSON
{
|
|
"description": "BackingImageDataSource is where Longhorn stores backing image data source object.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"type": "object"
|
|
},
|
|
"spec": {
|
|
"description": "BackingImageDataSourceSpec defines the desired state of the Longhorn backing image data source",
|
|
"properties": {
|
|
"checksum": {
|
|
"type": "string"
|
|
},
|
|
"diskPath": {
|
|
"type": "string"
|
|
},
|
|
"diskUUID": {
|
|
"type": "string"
|
|
},
|
|
"fileTransferred": {
|
|
"type": "boolean"
|
|
},
|
|
"nodeID": {
|
|
"type": "string"
|
|
},
|
|
"parameters": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"sourceType": {
|
|
"enum": [
|
|
"download",
|
|
"upload",
|
|
"export-from-volume",
|
|
"restore",
|
|
"clone"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"uuid": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
},
|
|
"status": {
|
|
"description": "BackingImageDataSourceStatus defines the observed state of the Longhorn backing image data source",
|
|
"properties": {
|
|
"checksum": {
|
|
"type": "string"
|
|
},
|
|
"currentState": {
|
|
"type": "string"
|
|
},
|
|
"ip": {
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
},
|
|
"ownerID": {
|
|
"type": "string"
|
|
},
|
|
"progress": {
|
|
"type": "integer"
|
|
},
|
|
"runningParameters": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"type": "object"
|
|
},
|
|
"size": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"storageIP": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|