Skip to content

add private link connection command#304

Merged
zhangyangyu merged 12 commits into
mainfrom
plc_cli
Nov 28, 2025
Merged

add private link connection command#304
zhangyangyu merged 12 commits into
mainfrom
plc_cli

Conversation

@shiyuhang0

Copy link
Copy Markdown
Collaborator

No description provided.

@ti-chi-bot ti-chi-bot Bot added the size/XXL label Nov 15, 2025

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has checked 773 files.

Valid Invalid Ignored Fixed
203 1 569 0
Click to see the invalid file list
  • internal/cli/serverless/privatelink/ui.go
Use this command to fix any missing license headers
```bash

docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix

</details>

Comment thread internal/cli/serverless/privatelink/ui.go
Comment thread internal/cli/serverless/privatelink/privatelink.go Outdated
Comment thread internal/flag/flag.go Outdated
Comment thread internal/flag/flag.go Outdated
Comment thread internal/cli/serverless/privatelink/create.go
Comment thread internal/cli/serverless/privatelink/delete.go Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for managing private link connections in TiDB Cloud Serverless clusters. It introduces a new set of CLI commands and integrates with the TiDB Cloud API to create, list, describe, and delete private link connections for both AWS and Alicloud endpoint services.

  • Generated OpenAPI client code for the private link connection API
  • Added CLI commands (create, delete, describe, list, zones) under serverless private-link-connection
  • Integrated private link connection API client with the existing cloud service infrastructure
  • Added interactive and non-interactive modes for all commands with proper validation

Reviewed changes

Copilot reviewed 44 out of 44 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pkg/tidbcloud/v1beta1/serverless/privatelink/* Auto-generated OpenAPI client code for private link connection API
internal/service/cloud/api_client.go Added API client delegate methods for private link connection operations
internal/service/cloud/logic.go Added business logic for selecting and retrieving private link connections
internal/cli/serverless/privatelink/*.go CLI command implementations for create, delete, describe, list, and zones operations
internal/flag/flag.go Added new flag constants for private link connection parameters
internal/cli/serverless/cluster.go Integrated private link connection command into serverless CLI
internal/mock/api_client.go Updated mock client with private link connection methods
docs/generate_doc/*.md Auto-generated documentation for new CLI commands
Makefile Added generation target for private link client

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zhangyangyu zhangyangyu merged commit 18fe724 into main Nov 28, 2025
7 checks passed
@zhangyangyu zhangyangyu deleted the plc_cli branch November 28, 2025 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants