Skip to content

add private link connection command #1324

add private link connection command

add private link connection command #1324

Triggered via pull request November 15, 2025 07:26
Status Failure
Total duration 1m 9s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
fmt
Cannot open: File exists
fmt
Cannot open: File exists
fmt
Cannot open: File exists
fmt
Cannot open: File exists
fmt
Cannot open: File exists
fmt
Cannot open: File exists
fmt
Cannot open: File exists
fmt
Cannot open: File exists
fmt
Cannot open: File exists
fmt
Cannot open: File exists
lint: internal/cli/serverless/authorizednetwork/list_test.go#L96
cannot use suite.mockClient (variable of type *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient) as cloud.TiDBCloudClient value in return statement: *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient does not implement cloud.TiDBCloudClient (missing method CreatePrivateLinkConnection)
lint: internal/cli/serverless/authorizednetwork/delete_test.go#L51
cannot use suite.mockClient (variable of type *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient) as cloud.TiDBCloudClient value in return statement: *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient does not implement cloud.TiDBCloudClient (missing method CreatePrivateLinkConnection)
lint: internal/cli/serverless/authorizednetwork/create_test.go#L78
cannot use suite.mockClient (variable of type *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient) as cloud.TiDBCloudClient value in return statement: *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient does not implement cloud.TiDBCloudClient (missing method CreatePrivateLinkConnection)
lint: internal/cli/serverless/delete_test.go#L50
cannot use suite.mockClient (variable of type *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient) as cloud.TiDBCloudClient value in return statement: *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient does not implement cloud.TiDBCloudClient (missing method CreatePrivateLinkConnection) (typecheck)
lint: internal/cli/serverless/create_test.go#L49
cannot use suite.mockClient (variable of type *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient) as cloud.TiDBCloudClient value in return statement: *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient does not implement cloud.TiDBCloudClient (missing method CreatePrivateLinkConnection) (typecheck)
lint: internal/cli/serverless/capacity_test.go#L49
cannot use suite.mockClient (variable of type *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient) as cloud.TiDBCloudClient value in return statement: *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient does not implement cloud.TiDBCloudClient (missing method CreatePrivateLinkConnection) (typecheck)
lint: internal/cli/serverless/privatelink/create.go#L214
undefined: color) (typecheck)
lint: internal/cli/serverless/cluster.go#L25
could not import github.com/tidbcloud/tidbcloud-cli/internal/cli/serverless/privatelink (-: # github.com/tidbcloud/tidbcloud-cli/internal/cli/serverless/privatelink
lint: internal/cli/project/list_test.go#L101
cannot use suite.mockClient (variable of type *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient) as cloud.TiDBCloudClient value in return statement: *"github.com/tidbcloud/tidbcloud-cli/internal/mock".TiDBCloudClient does not implement cloud.TiDBCloudClient (missing method CreatePrivateLinkConnection) (typecheck)
lint: internal/cli/serverless/privatelink/create.go#L214
undefined: color (typecheck)
fmt
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2