@@ -23,17 +23,17 @@ import (
23
23
"net"
24
24
"time"
25
25
26
- "github.com/deckhouse/virtualization/api/subresources/v1alpha2 "
26
+ "github.com/deckhouse/virtualization/api/subresources/v1alpha3 "
27
27
)
28
28
29
29
type VirtualMachineExpansion interface {
30
30
SerialConsole (name string , options * SerialConsoleOptions ) (StreamInterface , error )
31
31
VNC (name string ) (StreamInterface , error )
32
- PortForward (name string , opts v1alpha2 .VirtualMachinePortForward ) (StreamInterface , error )
33
- Freeze (ctx context.Context , name string , opts v1alpha2 .VirtualMachineFreeze ) error
32
+ PortForward (name string , opts v1alpha3 .VirtualMachinePortForward ) (StreamInterface , error )
33
+ Freeze (ctx context.Context , name string , opts v1alpha3 .VirtualMachineFreeze ) error
34
34
Unfreeze (ctx context.Context , name string ) error
35
- AddVolume (ctx context.Context , name string , opts v1alpha2 .VirtualMachineAddVolume ) error
36
- RemoveVolume (ctx context.Context , name string , opts v1alpha2 .VirtualMachineRemoveVolume ) error
35
+ AddVolume (ctx context.Context , name string , opts v1alpha3 .VirtualMachineAddVolume ) error
36
+ RemoveVolume (ctx context.Context , name string , opts v1alpha3 .VirtualMachineRemoveVolume ) error
37
37
CancelEvacuation (ctx context.Context , name string , dryRun []string ) error
38
38
}
39
39
@@ -58,23 +58,23 @@ func (c *virtualMachines) VNC(name string) (StreamInterface, error) {
58
58
return nil , fmt .Errorf ("not implemented" )
59
59
}
60
60
61
- func (c * virtualMachines ) PortForward (name string , opts v1alpha2 .VirtualMachinePortForward ) (StreamInterface , error ) {
61
+ func (c * virtualMachines ) PortForward (name string , opts v1alpha3 .VirtualMachinePortForward ) (StreamInterface , error ) {
62
62
return nil , fmt .Errorf ("not implemented" )
63
63
}
64
64
65
- func (c * virtualMachines ) Freeze (ctx context.Context , name string , opts v1alpha2 .VirtualMachineFreeze ) error {
65
+ func (c * virtualMachines ) Freeze (ctx context.Context , name string , opts v1alpha3 .VirtualMachineFreeze ) error {
66
66
return fmt .Errorf ("not implemented" )
67
67
}
68
68
69
69
func (c * virtualMachines ) Unfreeze (ctx context.Context , name string ) error {
70
70
return fmt .Errorf ("not implemented" )
71
71
}
72
72
73
- func (c * virtualMachines ) AddVolume (ctx context.Context , name string , opts v1alpha2 .VirtualMachineAddVolume ) error {
73
+ func (c * virtualMachines ) AddVolume (ctx context.Context , name string , opts v1alpha3 .VirtualMachineAddVolume ) error {
74
74
return fmt .Errorf ("not implemented" )
75
75
}
76
76
77
- func (c * virtualMachines ) RemoveVolume (ctx context.Context , name string , opts v1alpha2 .VirtualMachineRemoveVolume ) error {
77
+ func (c * virtualMachines ) RemoveVolume (ctx context.Context , name string , opts v1alpha3 .VirtualMachineRemoveVolume ) error {
78
78
return fmt .Errorf ("not implemented" )
79
79
}
80
80
0 commit comments