Skip to content

Commit

Permalink
Add generate files
Browse files Browse the repository at this point in the history
  • Loading branch information
guangbochen authored and gitlawr committed Sep 3, 2021
1 parent c5072b2 commit 97aba8b
Show file tree
Hide file tree
Showing 13 changed files with 130 additions and 1,115 deletions.
93 changes: 55 additions & 38 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6675,34 +6675,12 @@
}
}
},
"harvesterhci.io.v1beta1.PersistentVolumeClaimSpec": {
"harvesterhci.io.v1beta1.PersistentVolumeClaimSourceSpec": {
"type": "object",
"required": [
"name",
"namespace"
],
"properties": {
"annotations": {
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
},
"labels": {
"type": "object",
"additionalProperties": {
"type": "string",
"default": ""
}
},
"name": {
"type": "string",
"default": ""
},
"namespace": {
"type": "string",
"default": ""
"metadata": {
"default": {},
"$ref": "#/definitions/k8s.io.v1.ObjectMeta"
},
"spec": {
"default": {},
Expand Down Expand Up @@ -6991,17 +6969,28 @@
"$ref": "#/definitions/harvesterhci.io.v1beta1.Condition"
}
},
"creationTime": {
"$ref": "#/definitions/k8s.io.v1.Time"
},
"error": {
"$ref": "#/definitions/harvesterhci.io.v1beta1.Error"
},
"readyToUse": {
"type": "boolean"
},
"source": {
"description": "SourceSpec contains the vm spec source of the backup target",
"$ref": "#/definitions/harvesterhci.io.v1beta1.VirtualMachineSourceSpec"
},
"sourceUID": {
"type": "string"
},
"virtualMachineBackupContentName": {
"type": "string"
"volumeBackups": {
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/harvesterhci.io.v1beta1.VolumeBackup"
}
}
}
},
Expand Down Expand Up @@ -7176,7 +7165,8 @@
"type": "object",
"required": [
"target",
"virtualMachineBackupName"
"virtualMachineBackupName",
"virtualMachineBackupNamespace"
],
"properties": {
"deletionPolicy": {
Expand All @@ -7193,6 +7183,10 @@
"virtualMachineBackupName": {
"type": "string",
"default": ""
},
"virtualMachineBackupNamespace": {
"type": "string",
"default": ""
}
}
},
Expand Down Expand Up @@ -7436,29 +7430,52 @@
}
}
},
"harvesterhci.io.v1beta1.VolumeRestore": {
"description": "VolumeRestore contains the volume data need to restore a PVC",
"harvesterhci.io.v1beta1.VolumeBackup": {
"description": "VolumeBackup contains the volume data need to restore a PVC",
"type": "object",
"required": [
"volumeName",
"persistentVolumeClaimSpec",
"volumeBackupName"
"persistentVolumeClaim"
],
"properties": {
"persistentVolumeClaimSpec": {
"creationTime": {
"$ref": "#/definitions/k8s.io.v1.Time"
},
"error": {
"$ref": "#/definitions/harvesterhci.io.v1beta1.Error"
},
"name": {
"type": "string"
},
"persistentVolumeClaim": {
"default": {},
"$ref": "#/definitions/harvesterhci.io.v1beta1.PersistentVolumeClaimSpec"
"$ref": "#/definitions/harvesterhci.io.v1beta1.PersistentVolumeClaimSourceSpec"
},
"volumeBackupName": {
"type": "string",
"default": ""
"readyToUse": {
"type": "boolean"
},
"volumeName": {
"type": "string",
"default": ""
}
}
},
"harvesterhci.io.v1beta1.VolumeRestore": {
"description": "VolumeRestore contains the volume data need to restore a PVC",
"type": "object",
"properties": {
"persistentVolumeClaimSpec": {
"default": {},
"$ref": "#/definitions/harvesterhci.io.v1beta1.PersistentVolumeClaimSourceSpec"
},
"volumeBackupName": {
"type": "string"
},
"volumeName": {
"type": "string"
}
}
},
"k8s.cni.cncf.io.v1.NetworkAttachmentDefinition": {
"type": "object",
"required": [
Expand Down
Loading

0 comments on commit 97aba8b

Please sign in to comment.