Skip to content

Commit 85d5d18

Browse files
committed
WIP no IDE errors
1 parent 4fccd02 commit 85d5d18

File tree

119 files changed

+170
-238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+170
-238
lines changed

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ linters:
169169
alias: crclient
170170
- pkg: k8s.io/apimachinery/pkg/types
171171
alias: apimachinerytypes
172-
- pkg: sigs.k8s.io/cluster-api/exp/api/v1beta1
173-
alias: expclusterv1
172+
- pkg: "sigs.k8s.io/cluster-api/api/core/v1beta1"
173+
alias: clusterv1
174174
no-unaliased: false
175175
nolintlint:
176176
require-specific: true

api/v1beta1/awscluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package v1beta1
1919
import (
2020
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2121

22-
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
22+
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1"
2323
)
2424

2525
const (

api/v1beta1/awsclustertemplate_types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ package v1beta1
1919
import (
2020
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2121

22-
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
23-
)
22+
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1")
2423

2524
// AWSClusterTemplateSpec defines the desired state of AWSClusterTemplate.
2625
type AWSClusterTemplateSpec struct {

api/v1beta1/awsmachine_types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ package v1beta1
1919
import (
2020
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2121

22-
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
23-
)
22+
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1")
2423

2524
const (
2625
// MachineFinalizer allows ReconcileAWSMachine to clean up AWS resources associated with AWSMachine before

api/v1beta1/awsmachinetemplate_types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ import (
2020
corev1 "k8s.io/api/core/v1"
2121
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2222

23-
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
24-
)
23+
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1")
2524

2625
// AWSMachineTemplateStatus defines a status for an AWSMachineTemplate.
2726
type AWSMachineTemplateStatus struct {

api/v1beta1/conditions_consts.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ limitations under the License.
1616

1717
package v1beta1
1818

19-
import clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
20-
19+
import clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1"
2120
const (
2221
// PrincipalCredentialRetrievedCondition reports on whether Principal credentials could be retrieved successfully.
2322
// A possible scenario, where retrieval is unsuccessful, is when SourcePrincipal is not authorized for assume role.

api/v1beta1/tags.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ import (
2424
"k8s.io/apimachinery/pkg/types"
2525
"k8s.io/apimachinery/pkg/util/validation/field"
2626

27-
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
28-
)
27+
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1")
2928

3029
// Tags defines a map of tags.
3130
type Tags map[string]string

api/v1beta1/types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ package v1beta1
1919
import (
2020
"k8s.io/apimachinery/pkg/util/sets"
2121

22-
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
23-
)
22+
clusterv1 "sigs.k8s.io/cluster-api/api/core/v1beta1")
2423

2524
// AWSResourceReference is a reference to a specific AWS resource by ID or filters.
2625
// Only one of ID or Filters may be specified. Specifying more than one will result in

api/v1beta1/zz_generated.conversion.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1beta1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)