Skip to content

Commit

Permalink
api update by KubeVirt Prow build 1788326085016948736
Browse files Browse the repository at this point in the history
  • Loading branch information
kubevirt-bot committed May 8, 2024
1 parent 105e64b commit 2ddb1f7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
5 changes: 5 additions & 0 deletions core/v1/deepcopy_generated.go

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

9 changes: 9 additions & 0 deletions core/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1477,6 +1477,12 @@ const (
RunStrategyOnce VirtualMachineRunStrategy = "Once"
)

type UpdateVolumesStrategy string

const (
UpdateVolumesStrategyReplacement UpdateVolumesStrategy = "Replacement"
)

// VirtualMachineSpec describes how the proper VirtualMachine
// should look like
type VirtualMachineSpec struct {
Expand All @@ -1500,6 +1506,9 @@ type VirtualMachineSpec struct {
// dataVolumeTemplates is a list of dataVolumes that the VirtualMachineInstance template can reference.
// DataVolumes in this list are dynamically created for the VirtualMachine and are tied to the VirtualMachine's life-cycle.
DataVolumeTemplates []DataVolumeTemplateSpec `json:"dataVolumeTemplates,omitempty"`

// UpdateVolumesStrategy is the strategy to apply on volumes updates
UpdateVolumesStrategy *UpdateVolumesStrategy `json:"updateVolumesStrategy,omitempty"`
}

// StateChangeRequestType represents the existing state change requests that are possible
Expand Down
15 changes: 8 additions & 7 deletions core/v1/types_swagger_generated.go

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

0 comments on commit 2ddb1f7

Please sign in to comment.