first commit

This commit is contained in:
2026-05-05 10:50:30 +01:00
commit e94efb745e
206 changed files with 231128 additions and 0 deletions
+113
View File
@@ -0,0 +1,113 @@
{
"description": "BackingImageManager is where Longhorn stores backing image manager 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": "BackingImageManagerSpec defines the desired state of the Longhorn backing image manager",
"properties": {
"backingImages": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"diskPath": {
"type": "string"
},
"diskUUID": {
"type": "string"
},
"image": {
"type": "string"
},
"nodeID": {
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"status": {
"description": "BackingImageManagerStatus defines the observed state of the Longhorn backing image manager",
"properties": {
"apiMinVersion": {
"type": "integer"
},
"apiVersion": {
"type": "integer"
},
"backingImageFileMap": {
"additionalProperties": {
"properties": {
"currentChecksum": {
"type": "string"
},
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"progress": {
"type": "integer"
},
"realSize": {
"format": "int64",
"type": "integer"
},
"senderManagerAddress": {
"type": "string"
},
"sendingReference": {
"type": "integer"
},
"size": {
"format": "int64",
"type": "integer"
},
"state": {
"type": "string"
},
"uuid": {
"type": "string"
},
"virtualSize": {
"format": "int64",
"type": "integer"
}
},
"type": "object",
"additionalProperties": false
},
"nullable": true,
"type": "object"
},
"currentState": {
"type": "string"
},
"ip": {
"type": "string"
},
"ownerID": {
"type": "string"
},
"storageIP": {
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object"
}