Skip to content

Commit

Permalink
go generate
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlawr authored and guangbochen committed Nov 3, 2021
1 parent 0ca2eb5 commit 98bc26d
Show file tree
Hide file tree
Showing 5 changed files with 124 additions and 1 deletion.
23 changes: 23 additions & 0 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6688,6 +6688,22 @@
}
}
},
"harvesterhci.io.v1beta1.SecretBackup": {
"description": "SecretBackup contains the secret data need to restore a secret referenced by the VM",
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "byte"
}
},
"name": {
"type": "string"
}
}
},
"harvesterhci.io.v1beta1.SupportBundle": {
"type": "object",
"required": [
Expand Down Expand Up @@ -6978,6 +6994,13 @@
"readyToUse": {
"type": "boolean"
},
"secretBackups": {
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/harvesterhci.io.v1beta1.SecretBackup"
}
},
"source": {
"description": "SourceSpec contains the vm spec source of the backup target",
"$ref": "#/definitions/harvesterhci.io.v1beta1.VirtualMachineSourceSpec"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,20 @@ spec:
type: object
readyToUse:
type: boolean
secretBackups:
items:
description: SecretBackup contains the secret data need to restore
a secret referenced by the VM
properties:
data:
additionalProperties:
format: byte
type: string
type: object
name:
type: string
type: object
type: array
source:
description: SourceSpec contains the vm spec source of the backup
target
Expand Down
49 changes: 48 additions & 1 deletion pkg/apis/harvesterhci.io/v1beta1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions pkg/apis/harvesterhci.io/v1beta1/zz_generated_deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/known-api-rule-violations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ API rule violation: list_type_missing,github.com/harvester/harvester/pkg/apis/ha
API rule violation: list_type_missing,github.com/harvester/harvester/pkg/apis/harvesterhci.io/v1beta1,SupportBundleStatus,Conditions
API rule violation: list_type_missing,github.com/harvester/harvester/pkg/apis/harvesterhci.io/v1beta1,UpgradeStatus,Conditions
API rule violation: list_type_missing,github.com/harvester/harvester/pkg/apis/harvesterhci.io/v1beta1,VirtualMachineBackupStatus,Conditions
API rule violation: list_type_missing,github.com/harvester/harvester/pkg/apis/harvesterhci.io/v1beta1,VirtualMachineBackupStatus,SecretBackups
API rule violation: list_type_missing,github.com/harvester/harvester/pkg/apis/harvesterhci.io/v1beta1,VirtualMachineBackupStatus,VolumeBackups
API rule violation: list_type_missing,github.com/harvester/harvester/pkg/apis/harvesterhci.io/v1beta1,VirtualMachineImageStatus,Conditions
API rule violation: list_type_missing,github.com/harvester/harvester/pkg/apis/harvesterhci.io/v1beta1,VirtualMachineRestoreStatus,Conditions
Expand Down

0 comments on commit 98bc26d

Please sign in to comment.