Skip to content

Commit

Permalink
generated files
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Schuett <[email protected]>
  • Loading branch information
ashleyschuett committed Jun 16, 2021
1 parent 7182cd1 commit 968d54e
Show file tree
Hide file tree
Showing 6 changed files with 146 additions and 0 deletions.
37 changes: 37 additions & 0 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6934,6 +6934,15 @@
"put": {
"description": "Stop a VirtualMachine object.",
"operationId": "v1Stop",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/v1.StopOptions"
}
}
],
"responses": {
"200": {
"description": "OK",
Expand Down Expand Up @@ -7671,6 +7680,15 @@
"put": {
"description": "Stop a VirtualMachine object.",
"operationId": "v1alpha3Stop",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/v1.StopOptions"
}
}
],
"responses": {
"200": {
"description": "OK",
Expand Down Expand Up @@ -11075,6 +11093,25 @@
}
}
},
"v1.StopOptions": {
"description": "StopOptions may be provided when deleting an API object.",
"type": "object",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"gracePeriod": {
"description": "this updates the VMIs terminationGracePeriodSeconds during shutdown",
"type": "integer",
"format": "int64"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
}
}
},
"v1.SyNICTimer": {
"type": "object",
"properties": {
Expand Down
22 changes: 22 additions & 0 deletions staging/src/kubevirt.io/client-go/api/v1/deepcopy_generated.go

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

35 changes: 35 additions & 0 deletions staging/src/kubevirt.io/client-go/api/v1/openapi_generated.go

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

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,16 @@ func (_mr *_MockVirtualMachineInterfaceRecorder) Stop(arg0 interface{}) *gomock.
return _mr.mock.ctrl.RecordCall(_mr.mock, "Stop", arg0)
}

func (_m *MockVirtualMachineInterface) ForceStop(name string, graceperiod int) error {
ret := _m.ctrl.Call(_m, "ForceStop", name, graceperiod)
ret0, _ := ret[0].(error)
return ret0
}

func (_mr *_MockVirtualMachineInterfaceRecorder) ForceStop(arg0, arg1 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "ForceStop", arg0, arg1)
}

func (_m *MockVirtualMachineInterface) Migrate(name string) error {
ret := _m.ctrl.Call(_m, "Migrate", name)
ret0, _ := ret[0].(error)
Expand Down

0 comments on commit 968d54e

Please sign in to comment.