Skip to content

Commit

Permalink
pkg: make internal/cloud public
Browse files Browse the repository at this point in the history
So we can share the code with osbuild/bootc-image-builder.
  • Loading branch information
ondrejbudai committed Dec 15, 2023
1 parent c0e5591 commit 31ab42c
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/boot-aws/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/pflag"

"github.com/osbuild/images/internal/cloud/awscloud"
"github.com/osbuild/images/pkg/cloud/awscloud"
)

// exitCheck can be deferred from the top of command functions to exit with an
Expand Down
3 changes: 2 additions & 1 deletion cmd/osbuild-upload-gcp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import (
"os"

"cloud.google.com/go/compute/apiv1/computepb"
"github.com/osbuild/images/internal/cloud/gcp"
"github.com/sirupsen/logrus"

"github.com/osbuild/images/pkg/cloud/gcp"
)

type strArrayFlag []string
Expand Down
2 changes: 1 addition & 1 deletion cmd/osbuild-upload-generic-s3/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/aws/aws-sdk-go/aws"

"github.com/osbuild/images/internal/cloud/awscloud"
"github.com/osbuild/images/pkg/cloud/awscloud"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion internal/boot/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/ec2"

"github.com/osbuild/images/internal/cloud/awscloud"
"github.com/osbuild/images/pkg/arch"
"github.com/osbuild/images/pkg/cloud/awscloud"
)

type awsCredentials struct {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 31ab42c

Please sign in to comment.