first commit
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"description": "Snapshot is the Schema for the snapshots API",
|
||||
"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": "SnapshotSpec defines the desired state of Longhorn Snapshot",
|
||||
"properties": {
|
||||
"createSnapshot": {
|
||||
"description": "require creating a new snapshot",
|
||||
"type": "boolean"
|
||||
},
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "The labels of snapshot",
|
||||
"nullable": true,
|
||||
"type": "object"
|
||||
},
|
||||
"volume": {
|
||||
"description": "the volume that this snapshot belongs to.\nThis field is immutable after creation.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"volume"
|
||||
],
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"status": {
|
||||
"description": "SnapshotStatus defines the observed state of Longhorn Snapshot",
|
||||
"properties": {
|
||||
"checksum": {
|
||||
"type": "string"
|
||||
},
|
||||
"children": {
|
||||
"additionalProperties": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"nullable": true,
|
||||
"type": "object"
|
||||
},
|
||||
"creationTime": {
|
||||
"type": "string"
|
||||
},
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"nullable": true,
|
||||
"type": "object"
|
||||
},
|
||||
"markRemoved": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ownerID": {
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"type": "string"
|
||||
},
|
||||
"readyToUse": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"restoreSize": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"size": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"userCreated": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user