Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalClient ¶
type ExternalClient interface {
InitInstance(name string, network string, domain string, devices []auth.UserDevice) (net.IP, ed25519.PublicKey, error)
}
ExternalClient talks to the external Protos API
func NewExternalClient ¶
func NewExternalClient(host string, username string, password string) (ExternalClient, error)
NewExternalClient creates and returns a client for the external Protos API
func NewInitClient ¶
func NewInitClient(host string, username string, password string) ExternalClient
NewInitClient creates and returns a client that's used to initialize an instance
Click to show internal directories.
Click to hide internal directories.