Skip to content

Commit 7de4de7

Browse files
authored
Merge pull request #859 from jbw976/mod-v2
api: bump golang module to github.com/crossplane/crossplane-runtime/v2
2 parents 2071f44 + cd03cdf commit 7de4de7

Some content is hidden

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

77 files changed

+198
-197
lines changed

apis/buf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: v1
22
name: buf.build/crossplane/crossplane-runtime
33
breaking:
44
use:
5-
- FILE
5+
- WIRE_JSON
66
lint:
77
use:
88
- DEFAULT

apis/changelogs/proto/v1alpha1/changelog.pb.go

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/changelogs/proto/v1alpha1/changelog.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import "google/protobuf/timestamp.proto";
1919
// buf:lint:ignore PACKAGE_DIRECTORY_MATCH
2020
package changelogs.proto.v1alpha1;
2121

22-
option go_package = "github.com/crossplane/crossplane-runtime/apis/changelogs/proto/v1alpha1";
22+
option go_package = "github.com/crossplane/crossplane-runtime/v2/apis/changelogs/proto/v1alpha1";
2323

2424
// ChangeLogService is a service that provides the ability to send change log
2525
// entries.
@@ -39,7 +39,7 @@ message SendChangeLogRequest {
3939
message ChangeLogEntry {
4040
// The timestamp at which the change occurred.
4141
google.protobuf.Timestamp timestamp = 1;
42-
42+
4343
// The name and version of the provider that is making the change to the
4444
// resource.
4545
string provider = 2;

apis/common/condition_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
corev1 "k8s.io/api/core/v1"
2424
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2525

26-
"github.com/crossplane/crossplane-runtime/pkg/errors"
26+
"github.com/crossplane/crossplane-runtime/v2/pkg/errors"
2727
)
2828

2929
func TestConditionEqual(t *testing.T) {

apis/common/v1/condition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1
1818

1919
import (
20-
"github.com/crossplane/crossplane-runtime/apis/common"
20+
"github.com/crossplane/crossplane-runtime/v2/apis/common"
2121
)
2222

2323
// A ConditionType represents a condition a resource could be in.

apis/common/v1/merge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1
1818

1919
import (
20-
"github.com/crossplane/crossplane-runtime/apis/common"
20+
"github.com/crossplane/crossplane-runtime/v2/apis/common"
2121
)
2222

2323
// MergeOptions Specifies merge options on a field path.

apis/common/v1/observation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1
1818

1919
import (
20-
"github.com/crossplane/crossplane-runtime/apis/common"
20+
"github.com/crossplane/crossplane-runtime/v2/apis/common"
2121
)
2222

2323
// ObservedStatus contains the recent reconciliation stats.

apis/common/v1/policies.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1
1818

1919
import (
20-
"github.com/crossplane/crossplane-runtime/apis/common"
20+
"github.com/crossplane/crossplane-runtime/v2/apis/common"
2121
)
2222

2323
// ManagementPolicies determine how should Crossplane controllers manage an

apis/common/v1/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package v1
1919
import (
2020
corev1 "k8s.io/api/core/v1"
2121

22-
"github.com/crossplane/crossplane-runtime/apis/common"
22+
"github.com/crossplane/crossplane-runtime/v2/apis/common"
2323
)
2424

2525
const (

apis/common/v2/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v2
1818

1919
import (
20-
"github.com/crossplane/crossplane-runtime/apis/common"
20+
"github.com/crossplane/crossplane-runtime/v2/apis/common"
2121
)
2222

2323
// A ManagedResourceSpec defines the desired state of a managed resource.

0 commit comments

Comments
 (0)