mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-27 01:05:18 -04:00
peer: save PublicIP instead of publicEndpoint / add multi-coord gRPCs
This commit is contained in:
parent
55a1aa783f
commit
f0e35a43d4
31 changed files with 1216 additions and 666 deletions
|
@ -12,10 +12,10 @@ import (
|
|||
type Core interface {
|
||||
GetVPNPubKey() ([]byte, error)
|
||||
SetVPNIP(string) error
|
||||
GetCoordinatorVPNIP() string
|
||||
GetVPNIP() (string, error)
|
||||
InitializeStoreIPs() error
|
||||
AddAdmin(pubKey []byte) (string, error)
|
||||
GetNextNodeIP() (string, error)
|
||||
GetNextCoordinatorIP() (string, error)
|
||||
SwitchToPersistentStore() error
|
||||
GetIDs(masterSecret []byte) (ownerID []byte, clusterID []byte, err error)
|
||||
PersistNodeState(role role.Role, ownerID []byte, clusterID []byte) error
|
||||
|
@ -28,6 +28,8 @@ type Core interface {
|
|||
|
||||
GetPeers(resourceVersion int) (int, []peer.Peer, error)
|
||||
AddPeer(peer.Peer) error
|
||||
AddPeerToStore(peer.Peer) error
|
||||
AddPeerToVPN(peer.Peer) error
|
||||
UpdatePeers([]peer.Peer) error
|
||||
|
||||
InitCluster(autoscalingNodeGroups []string, cloudServiceAccountURI string) ([]byte, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue