Skip to content

Commit

Permalink
chore: use go-copy
Browse files Browse the repository at this point in the history
Use go-copy and drop `pkg/copy`.

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Mar 7, 2024
1 parent 3c8f51d commit 1ec6683
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 133 deletions.
1 change: 1 addition & 0 deletions go.mod
Expand Up @@ -114,6 +114,7 @@ require (
github.com/siderolabs/go-blockdevice v0.4.7
github.com/siderolabs/go-circular v0.1.0
github.com/siderolabs/go-cmd v0.1.1
github.com/siderolabs/go-copy v0.1.0
github.com/siderolabs/go-debug v0.3.0
github.com/siderolabs/go-kmsg v0.1.4
github.com/siderolabs/go-kubeconfig v0.1.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Expand Up @@ -671,6 +671,8 @@ github.com/siderolabs/go-circular v0.1.0 h1:zpBJNUbCZSh0odZxA4Dcj0d3ShLLR2WxKW6h
github.com/siderolabs/go-circular v0.1.0/go.mod h1:14XnLf/I3J0VjzTgmwWNGjp58/bdIi4zXppAEx8plfw=
github.com/siderolabs/go-cmd v0.1.1 h1:nTouZUSxLeiiEe7hFexSVvaTsY/3O8k1s08BxPRrsps=
github.com/siderolabs/go-cmd v0.1.1/go.mod h1:6hY0JG34LxEEwYE8aH2iIHkHX/ir12VRLqfwAf2yJIY=
github.com/siderolabs/go-copy v0.1.0 h1:OIWCtSg+rhOtnIZTpT31Gfpn17rv5kwJqQHG+QUEgC8=
github.com/siderolabs/go-copy v0.1.0/go.mod h1:4bF2rZOZAR/ags/U4AVSpjFE5RPGdEeSkOq6yR9YOkU=
github.com/siderolabs/go-debug v0.3.0 h1:C8t7jbac5Va2eYu9QRXXEGsy3Vz5xOEVo0TDwVJH268=
github.com/siderolabs/go-debug v0.3.0/go.mod h1:DonqzIQOm3+qof020meFwJ2gXI5Jv/x4Dj27FyUW4aE=
github.com/siderolabs/go-kmsg v0.1.4 h1:RLAa90O9bWuhA3pXPAYAdrI+kzcqTshZASRA5yso/mo=
Expand Down
Expand Up @@ -9,11 +9,11 @@ import (
"os"
"path/filepath"

"github.com/siderolabs/go-copy/copy"
"github.com/siderolabs/go-procfs/procfs"
"golang.org/x/sys/unix"

"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
"github.com/siderolabs/talos/pkg/copy"
"github.com/siderolabs/talos/pkg/machinery/constants"
)

Expand Down
Expand Up @@ -9,11 +9,11 @@ import (
"os"
"path/filepath"

"github.com/siderolabs/go-copy/copy"
"github.com/siderolabs/go-procfs/procfs"
"golang.org/x/sys/unix"

"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
"github.com/siderolabs/talos/pkg/copy"
"github.com/siderolabs/talos/pkg/machinery/constants"
)

Expand Down
Expand Up @@ -9,11 +9,11 @@ import (
"os"
"path/filepath"

"github.com/siderolabs/go-copy/copy"
"github.com/siderolabs/go-procfs/procfs"
"golang.org/x/sys/unix"

"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
"github.com/siderolabs/talos/pkg/copy"
"github.com/siderolabs/talos/pkg/machinery/constants"
)

Expand Down
Expand Up @@ -9,11 +9,11 @@ import (
"os"
"path/filepath"

"github.com/siderolabs/go-copy/copy"
"github.com/siderolabs/go-procfs/procfs"
"golang.org/x/sys/unix"

"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
"github.com/siderolabs/talos/pkg/copy"
"github.com/siderolabs/talos/pkg/machinery/constants"
)

Expand Down
Expand Up @@ -9,11 +9,11 @@ import (
"os"
"path/filepath"

"github.com/siderolabs/go-copy/copy"
"github.com/siderolabs/go-procfs/procfs"
"golang.org/x/sys/unix"

"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
"github.com/siderolabs/talos/pkg/copy"
"github.com/siderolabs/talos/pkg/machinery/constants"
)

Expand Down
Expand Up @@ -9,11 +9,11 @@ import (
"os"
"path/filepath"

"github.com/siderolabs/go-copy/copy"
"github.com/siderolabs/go-procfs/procfs"
"golang.org/x/sys/unix"

"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
"github.com/siderolabs/talos/pkg/copy"
"github.com/siderolabs/talos/pkg/machinery/constants"
)

Expand Down
Expand Up @@ -9,11 +9,11 @@ import (
"os"
"path/filepath"

"github.com/siderolabs/go-copy/copy"
"github.com/siderolabs/go-procfs/procfs"
"golang.org/x/sys/unix"

"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
"github.com/siderolabs/talos/pkg/copy"
"github.com/siderolabs/talos/pkg/machinery/constants"
)

Expand Down
Expand Up @@ -9,11 +9,11 @@ import (
"os"
"path/filepath"

"github.com/siderolabs/go-copy/copy"
"github.com/siderolabs/go-procfs/procfs"
"golang.org/x/sys/unix"

"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
"github.com/siderolabs/talos/pkg/copy"
"github.com/siderolabs/talos/pkg/machinery/constants"
)

Expand Down
Expand Up @@ -10,10 +10,10 @@ import (
"os"
"path/filepath"

"github.com/siderolabs/go-copy/copy"
"github.com/siderolabs/go-procfs/procfs"

"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
"github.com/siderolabs/talos/pkg/copy"
"github.com/siderolabs/talos/pkg/machinery/constants"
)

Expand Down
124 changes: 0 additions & 124 deletions pkg/copy/copy.go

This file was deleted.

0 comments on commit 1ec6683

Please sign in to comment.