-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 Move filter conversions out of /api #1924
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mdbooth The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested, with this PR in combination with #1920 what happens to a go.mod if you write a simple program that imports one of your v1beta1 types and just prints it out or something simple?
Would be good to see what go.mod that creates
ef92315
to
c8b9ea2
Compare
main.go: package main
import (
"fmt"
"sigs.k8s.io/cluster-api-provider-openstack/api/v1beta1"
)
func main() {
cluster := v1beta1.OpenStackCluster{}
fmt.Printf("%+v\n", cluster)
} go.mod:
|
/test pull-cluster-api-provider-openstack-e2e-full-test |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@@ -1,5 +1,5 @@ | |||
/* | |||
Copyright 2021 The Kubernetes Authors. | |||
Copyright 2023 The Kubernetes Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe 2024 :)
Removes a gophercloud dependency for consumers of the API.
/lgtm |
/hold cancel |
Removes a gophercloud dependency for consumers of the API.
This is the complement to #1920. Together they remove most external dependencies when importing v1beta1, although due to the conversion dependency importing prior versions still also pull in controller-runtime.
/hold