Skip to content

Commit

Permalink
*: mass rename github.com/lxc/lxd -> github.com/canonical/lxd
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jun 20, 2024
1 parent 81824b5 commit 3abf252
Show file tree
Hide file tree
Showing 573 changed files with 2,604 additions and 2,604 deletions.
6 changes: 3 additions & 3 deletions client/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
log "gopkg.in/inconshreveable/log15.v2"
"gopkg.in/macaroon-bakery.v2/httpbakery"

"github.com/lxc/lxd/shared"
"github.com/lxc/lxd/shared/logger"
"github.com/lxc/lxd/shared/simplestreams"
"github.com/canonical/lxd/shared"
"github.com/canonical/lxd/shared/logger"
"github.com/canonical/lxd/shared/simplestreams"
)

// ConnectionArgs represents a set of common connection properties
Expand Down
2 changes: 1 addition & 1 deletion client/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"sync"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// The EventListener struct is used to interact with a LXD event stream
Expand Down
6 changes: 3 additions & 3 deletions client/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"github.com/gorilla/websocket"
"github.com/pkg/sftp"

"github.com/lxc/lxd/shared/api"
"github.com/lxc/lxd/shared/cancel"
"github.com/lxc/lxd/shared/ioprogress"
"github.com/canonical/lxd/shared/api"
"github.com/canonical/lxd/shared/cancel"
"github.com/canonical/lxd/shared/ioprogress"
)

// The Operation type represents a currently running operation.
Expand Down
6 changes: 3 additions & 3 deletions client/lxd.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"gopkg.in/macaroon-bakery.v2/bakery"
"gopkg.in/macaroon-bakery.v2/httpbakery"

"github.com/lxc/lxd/shared"
"github.com/lxc/lxd/shared/api"
"github.com/lxc/lxd/shared/logger"
"github.com/canonical/lxd/shared"
"github.com/canonical/lxd/shared/api"
"github.com/canonical/lxd/shared/logger"

neturl "net/url"
)
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// Certificate handling functions
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package lxd
import (
"fmt"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// GetCluster returns information about a cluster
Expand Down
10 changes: 5 additions & 5 deletions client/lxd_containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (

"github.com/gorilla/websocket"

"github.com/lxc/lxd/shared"
"github.com/lxc/lxd/shared/api"
"github.com/lxc/lxd/shared/cancel"
"github.com/lxc/lxd/shared/ioprogress"
"github.com/lxc/lxd/shared/units"
"github.com/canonical/lxd/shared"
"github.com/canonical/lxd/shared/api"
"github.com/canonical/lxd/shared/cancel"
"github.com/canonical/lxd/shared/ioprogress"
"github.com/canonical/lxd/shared/units"
)

// Container handling functions
Expand Down
4 changes: 2 additions & 2 deletions client/lxd_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"time"

"github.com/gorilla/websocket"
"github.com/lxc/lxd/shared"
"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared"
"github.com/canonical/lxd/shared/api"
)

// Event handling functions
Expand Down
10 changes: 5 additions & 5 deletions client/lxd_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import (
"os"
"strings"

"github.com/lxc/lxd/shared"
"github.com/lxc/lxd/shared/api"
"github.com/lxc/lxd/shared/cancel"
"github.com/lxc/lxd/shared/ioprogress"
"github.com/lxc/lxd/shared/units"
"github.com/canonical/lxd/shared"
"github.com/canonical/lxd/shared/api"
"github.com/canonical/lxd/shared/cancel"
"github.com/canonical/lxd/shared/ioprogress"
"github.com/canonical/lxd/shared/units"
)

// Image handling functions
Expand Down
12 changes: 6 additions & 6 deletions client/lxd_instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import (
"github.com/gorilla/websocket"
"github.com/pkg/sftp"

"github.com/lxc/lxd/shared"
"github.com/lxc/lxd/shared/api"
"github.com/lxc/lxd/shared/cancel"
"github.com/lxc/lxd/shared/ioprogress"
"github.com/lxc/lxd/shared/tcp"
"github.com/lxc/lxd/shared/units"
"github.com/canonical/lxd/shared"
"github.com/canonical/lxd/shared/api"
"github.com/canonical/lxd/shared/cancel"
"github.com/canonical/lxd/shared/ioprogress"
"github.com/canonical/lxd/shared/tcp"
"github.com/canonical/lxd/shared/units"
)

// Instance handling functions.
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_network_acls.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// GetNetworkACLNames returns a list of network ACL names.
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_network_forwards.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// GetNetworkForwardAddresses returns a list of network forward listen addresses.
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_network_peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// GetNetworkPeerNames returns a list of network peer names.
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_network_zones.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// GetNetworkZoneNames returns a list of network zone names.
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// GetNetworkNames returns a list of network names
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/gorilla/websocket"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// GetOperationUUIDs returns a list of operation uuids
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// Profile handling functions
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// Project handling functions
Expand Down
4 changes: 2 additions & 2 deletions client/lxd_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/gorilla/websocket"

"github.com/lxc/lxd/shared"
"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared"
"github.com/canonical/lxd/shared/api"
)

// Server handling functions
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_storage_pools.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// Storage pool handling functions
Expand Down
10 changes: 5 additions & 5 deletions client/lxd_storage_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"net/http"
"net/url"

"github.com/lxc/lxd/shared"
"github.com/lxc/lxd/shared/api"
"github.com/lxc/lxd/shared/cancel"
"github.com/lxc/lxd/shared/ioprogress"
"github.com/lxc/lxd/shared/units"
"github.com/canonical/lxd/shared"
"github.com/canonical/lxd/shared/api"
"github.com/canonical/lxd/shared/cancel"
"github.com/canonical/lxd/shared/ioprogress"
"github.com/canonical/lxd/shared/units"
)

// Storage volumes handling function
Expand Down
2 changes: 1 addition & 1 deletion client/lxd_warnings.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// Warning handling functions
Expand Down
2 changes: 1 addition & 1 deletion client/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/gorilla/websocket"

"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared/api"
)

// The Operation type represents an ongoing LXD operation (asynchronous processing)
Expand Down
2 changes: 1 addition & 1 deletion client/simplestreams.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"github.com/lxc/lxd/shared/simplestreams"
"github.com/canonical/lxd/shared/simplestreams"
)

// ProtocolSimpleStreams implements a SimpleStreams API client
Expand Down
4 changes: 2 additions & 2 deletions client/simplestreams_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"os/exec"
"strings"

"github.com/lxc/lxd/shared"
"github.com/lxc/lxd/shared/api"
"github.com/canonical/lxd/shared"
"github.com/canonical/lxd/shared/api"
)

// Image handling functions
Expand Down
2 changes: 1 addition & 1 deletion client/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"
"strings"

"github.com/lxc/lxd/shared"
"github.com/canonical/lxd/shared"
)

func tlsHTTPClient(client *http.Client, tlsClientCert string, tlsClientKey string, tlsCA string, tlsServerCert string, insecureSkipVerify bool, proxy func(req *http.Request) (*url.URL, error)) (*http.Client, error) {
Expand Down
2 changes: 1 addition & 1 deletion doc/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ against the local or global database, you can use the ``lxd sql`` command (run

You should only need to do that in order to recover from broken updates or bugs.
Please consult the LXD team first (creating a [GitHub
issue](https://github.com/lxc/lxd/issues/new) or
issue](https://github.com/canonical/lxd/issues/new) or
[forum](https://discuss.linuxcontainers.org/) post).

## Running custom queries at LXD daemon startup
Expand Down
Loading

0 comments on commit 3abf252

Please sign in to comment.