-
Notifications
You must be signed in to change notification settings - Fork 15
/
vbox.go
37 lines (28 loc) · 836 Bytes
/
vbox.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* rpi3.go: extension adds special fields for Bitscope/Raspberry Pi 3B(+) management
*
* Author: J. Lowell Wofford <lowell@lanl.gov>
*
* This software is open source software available under the BSD-3 license.
* Copyright (c) 2018, Triad National Security, LLC
* See LICENSE file for details.
*/
package vbox
import (
"github.com/hpc/kraken/core"
"github.com/hpc/kraken/lib/types"
)
//go:generate protoc -I ../../core/proto/src -I . --gogo_out=plugins=grpc:. vbox.proto
const Name = "type.googleapis.com/VBox.VirtualMachine"
/////////////////
// VBox Object /
///////////////
var _ types.Extension = (*VirtualMachine)(nil)
func (*VirtualMachine) New() types.Message {
return &VirtualMachine{}
}
func (*VirtualMachine) Name() string {
return Name
}
func init() {
core.Registry.RegisterExtension(&VirtualMachine{})
}