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