Skip to content

Commit 5755770

Browse files
committed
chore(targets): group common target management under target pkg
Signed-off-by: Adrian Riobo <ariobolo@redhat.com>
1 parent b5d31c3 commit 5755770

21 files changed

Lines changed: 8 additions & 8 deletions

File tree

pkg/provider/aws/action/fedora/fedora.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ import (
2424
amiSVC "github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/ami"
2525
"github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/keypair"
2626
securityGroup "github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/security-group"
27-
fedoraCloudConfig "github.com/redhat-developer/mapt/pkg/provider/util/cloud-config/fedora"
2827
"github.com/redhat-developer/mapt/pkg/provider/util/command"
2928
"github.com/redhat-developer/mapt/pkg/provider/util/output"
29+
fedoraCloudConfig "github.com/redhat-developer/mapt/pkg/target/host/fedora"
3030
"github.com/redhat-developer/mapt/pkg/util"
3131
"github.com/redhat-developer/mapt/pkg/util/logging"
3232
resourcesUtil "github.com/redhat-developer/mapt/pkg/util/resources"

pkg/provider/aws/action/kind/kind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/keypair"
2222
securityGroup "github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/security-group"
2323
"github.com/redhat-developer/mapt/pkg/provider/util/command"
24-
utilKind "github.com/redhat-developer/mapt/pkg/targets/service/kind"
24+
utilKind "github.com/redhat-developer/mapt/pkg/target/service/kind"
2525
"github.com/redhat-developer/mapt/pkg/util"
2626
"github.com/redhat-developer/mapt/pkg/util/logging"
2727
resourcesUtil "github.com/redhat-developer/mapt/pkg/util/resources"

pkg/provider/aws/action/rhel-ai/rhelai.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
securityGroup "github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/security-group"
2525
"github.com/redhat-developer/mapt/pkg/provider/util/command"
2626
"github.com/redhat-developer/mapt/pkg/provider/util/output"
27-
apiRHELAI "github.com/redhat-developer/mapt/pkg/targets/host/rhelai"
27+
apiRHELAI "github.com/redhat-developer/mapt/pkg/target/host/rhelai"
2828
"github.com/redhat-developer/mapt/pkg/util"
2929
"github.com/redhat-developer/mapt/pkg/util/logging"
3030
resourcesUtil "github.com/redhat-developer/mapt/pkg/util/resources"

pkg/provider/aws/action/rhel/rhel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
securityGroup "github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/security-group"
2626
"github.com/redhat-developer/mapt/pkg/provider/util/command"
2727
"github.com/redhat-developer/mapt/pkg/provider/util/output"
28-
rhelApi "github.com/redhat-developer/mapt/pkg/targets/host/rhel"
28+
rhelApi "github.com/redhat-developer/mapt/pkg/target/host/rhel"
2929
"github.com/redhat-developer/mapt/pkg/util"
3030
"github.com/redhat-developer/mapt/pkg/util/logging"
3131
resourcesUtil "github.com/redhat-developer/mapt/pkg/util/resources"

pkg/provider/aws/action/windows/windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ import (
2626
amiSVC "github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/ami"
2727
"github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/keypair"
2828
securityGroup "github.com/redhat-developer/mapt/pkg/provider/aws/services/ec2/security-group"
29-
cloudConfigWindowsServer "github.com/redhat-developer/mapt/pkg/provider/util/cloud-config/windows-server"
3029
"github.com/redhat-developer/mapt/pkg/provider/util/command"
3130
"github.com/redhat-developer/mapt/pkg/provider/util/output"
3231
"github.com/redhat-developer/mapt/pkg/provider/util/security"
32+
cloudConfigWindowsServer "github.com/redhat-developer/mapt/pkg/target/host/windows-server"
3333
"github.com/redhat-developer/mapt/pkg/util"
3434
"github.com/redhat-developer/mapt/pkg/util/logging"
3535
resourcesUtil "github.com/redhat-developer/mapt/pkg/util/resources"

pkg/provider/azure/action/kind/kind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
virtualmachine "github.com/redhat-developer/mapt/pkg/provider/azure/modules/virtual-machine"
2020
securityGroup "github.com/redhat-developer/mapt/pkg/provider/azure/services/network/security-group"
2121
"github.com/redhat-developer/mapt/pkg/provider/util/command"
22-
utilKind "github.com/redhat-developer/mapt/pkg/targets/service/kind"
22+
utilKind "github.com/redhat-developer/mapt/pkg/target/service/kind"
2323
"github.com/redhat-developer/mapt/pkg/util"
2424
resourcesUtil "github.com/redhat-developer/mapt/pkg/util/resources"
2525
)

pkg/provider/azure/action/rhel-ai/rhelai.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
azureLinux "github.com/redhat-developer/mapt/pkg/provider/azure/action/linux"
99
"github.com/redhat-developer/mapt/pkg/provider/azure/data"
1010
"github.com/redhat-developer/mapt/pkg/provider/util/command"
11-
apiRHELAI "github.com/redhat-developer/mapt/pkg/targets/host/rhelai"
11+
apiRHELAI "github.com/redhat-developer/mapt/pkg/target/host/rhelai"
1212
"github.com/redhat-developer/mapt/pkg/util/logging"
1313
)
1414

pkg/provider/azure/action/rhel/rhel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
azureLinux "github.com/redhat-developer/mapt/pkg/provider/azure/action/linux"
88
"github.com/redhat-developer/mapt/pkg/provider/azure/data"
99
"github.com/redhat-developer/mapt/pkg/provider/util/command"
10-
rhelApi "github.com/redhat-developer/mapt/pkg/targets/host/rhel"
10+
rhelApi "github.com/redhat-developer/mapt/pkg/target/host/rhel"
1111
"github.com/redhat-developer/mapt/pkg/util/logging"
1212
)
1313

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)