Skip to content
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

Enforce import aliases #1947

Merged
merged 11 commits into from
Jun 11, 2024
Merged

Enforce import aliases #1947

merged 11 commits into from
Jun 11, 2024

Conversation

joshuatcasey
Copy link
Member

Enforce import aliases

Copy link

codecov bot commented May 12, 2024

Codecov Report

Attention: Patch coverage is 83.25243% with 69 lines in your changes missing coverage. Please review.

Project coverage is 30.59%. Comparing base (8ac2dc2) to head (678be99).

Files Patch % Lines
internal/testutil/oidcclient.go 0.00% 11 Missing ⚠️
internal/plog/plog.go 74.28% 9 Missing ⚠️
...vedprovider/resolvedoidc/resolved_oidc_provider.go 22.22% 7 Missing ⚠️
internal/controllerlib/option.go 0.00% 4 Missing ⚠️
...ternal/testutil/oidctestutil/testgithubprovider.go 0.00% 4 Missing ⚠️
internal/testutil/transcript_logger.go 0.00% 4 Missing ⚠️
internal/supervisor/server/server.go 0.00% 3 Missing ⚠️
internal/testutil/assertions.go 0.00% 3 Missing ⚠️
internal/controller/kubecertagent/kubecertagent.go 90.90% 2 Missing ⚠️
internal/controllerinit/controllerinit.go 0.00% 2 Missing ⚠️
... and 18 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1947      +/-   ##
==========================================
- Coverage   30.60%   30.59%   -0.01%     
==========================================
  Files         363      363              
  Lines       60492    60492              
==========================================
- Hits        18515    18510       -5     
- Misses      41443    41447       +4     
- Partials      534      535       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joshuatcasey joshuatcasey force-pushed the jtc/add-importas-linter branch 2 times, most recently from 569fcd8 to 166fab0 Compare May 13, 2024 21:03
- k8s.io/apimachinery/pkg/apis/meta/v1
- k8s.io/api/core/v1
- github.com/coreos/go-oidc/v3/oidc
- github.com/ory/fosite/handler/oauth2
- go.pinniped.dev/generated/latest/apis/concierge/authentication/v1alpha1
- go.pinniped.dev/generated/latest/apis/supervisor/clientsecret/v1alpha1
- go.pinniped.dev/internal/concierge/scheme
…f 'interface{}'

Enforce importas:

- go.pinniped.dev/generated/latest/apis/supervisor/config/v1alpha1
- go.pinniped.dev/generated/latest/apis/supervisor/idp/v1alpha1
- go.pinniped.dev/generated/latest/apis/concierge/config/v1alpha1
- go.pinniped.dev/generated/latest/client/concierge/clientset/versioned
- go.pinniped.dev/generated/latest/client/concierge/clientset/versioned/scheme
- go.pinniped.dev/generated/latest/client/supervisor/clientset/versioned
- go.pinniped.dev/generated/latest/client/supervisor/clientset/versioned/scheme
- go.pinniped.dev/generated/latest/client/concierge/clientset/versioned/fake
- go.pinniped.dev/generated/latest/client/supervisor/clientset/versioned/fake
- go.pinniped.dev/generated/latest/client/concierge/informers/externalversions
- go.pinniped.dev/generated/latest/client/supervisor/informers/externalversions
@joshuatcasey joshuatcasey marked this pull request as ready for review June 11, 2024 15:17
@joshuatcasey joshuatcasey merged commit 247ac10 into main Jun 11, 2024
46 checks passed
@joshuatcasey joshuatcasey deleted the jtc/add-importas-linter branch June 11, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants