client/connection.go
func ConnectLXD(url string, args *ConnectionArgs) (ContainerServer, error) {
	logger.Debugf("Connecting to a remote LXD over HTTPs")

	// Cleanup URL
	url = strings.TrimSuffix(url, "/")

	return httpsLXD(url, args)
}
func ConnectLXD(url string, args *ConnectionArgs) (ContainerServer, error) {
	logger.Debugf("Connecting to a remote LXD over HTTPs")

	// Cleanup URL
	url = strings.TrimSuffix(url, "/")

	return httpsLXD(url, args)
}
func ConnectLXD ( url string , args * ConnectionArgs ) ( ContainerServer , error ) { logger . Debugf ( " " ) // Cleanup URL url = strings . TrimSuffix ( url , " " ) return httpsLXD ( url , args ) }
// ConnectLXD lets you connect to a remote LXD daemon over HTTPs.
//
// A client certificate (TLSClientCert) and key (TLSClientKey) must be provided.
//
// If connecting to a LXD daemon running in PKI mode, the PKI CA (TLSCA) must also be provided.
//
// Unless the remote server is trusted by the system CA, the remote certificate must be provided (TLSServerCert).
ConnectLXD lets you connect to a remote LXD daemon over HTTPs . A client certificate ( TLSClientCert ) and key ( TLSClientKey ) must be provided . If connecting to a LXD daemon running in PKI mode the PKI CA ( TLSCA ) must also be provided . Unless the remote server is trusted by the system CA the remote certificate must be provided ( TLSServerCert ) .