mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-03 11:02:11 +08:00
netclient working for ingress controller
This commit is contained in:
17
models/intclient.go
Normal file
17
models/intclient.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
)
|
||||
type IntClient struct {
|
||||
PrivateKey string `json:"privatekey" bson:"privatekey"`
|
||||
PublicKey string `json:"publickey" bson:"publickey"`
|
||||
AccessKey string `json:"accesskey" bson:"accesskey"`
|
||||
Address string `json:"address" bson:"address"`
|
||||
Address6 string `json:"address6" bson:"address6"`
|
||||
Network string `json:"network" bson:"network"`
|
||||
ServerEndpoint string `json:"serverendpoint" bson:"serverendpoint"`
|
||||
ServerAddress string `json:"serveraddress" bson:"serveraddress"`
|
||||
ServerPort string `json:"serverport" bson:"serverport"`
|
||||
ServerKey string `json:"serverkey" bson:"serverkey"`
|
||||
IsServer string `json:"isserver" bson:"isserver"`
|
||||
}
|
||||
Reference in New Issue
Block a user