20 lines
386 B
Go
20 lines
386 B
Go
|
package virtbuf
|
||
|
|
||
|
import (
|
||
|
sync "sync"
|
||
|
|
||
|
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
||
|
"google.golang.org/protobuf/types/known/timestamppb"
|
||
|
)
|
||
|
|
||
|
type Cluster struct {
|
||
|
sync.RWMutex
|
||
|
|
||
|
Dirs []string
|
||
|
d *Droplets
|
||
|
H *Hypervisors
|
||
|
e *Events
|
||
|
Unstable *timestamppb.Timestamp
|
||
|
UnstableTimeout *durationpb.Duration
|
||
|
}
|