T Cloud Public provider plugin for o7k.
The plugin adds support for browsing and interacting with T Cloud Public resources directly from o7k.
Get the URL of the appropriate binary for your platform from the GitHub Releases page and install it in the o7k plugin directory, e.g.:
VERSION=$(curl -fsSLI -o /dev/null -w '%{url_effective}' \
https://github.com/akyriako/o7k-opentelekomcloud-plugin/releases/latest \
| sed 's#.*/tag/##')
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
case "$(uname -m)" in
x86_64|amd64) ARCH="amd64" ;;
aarch64|arm64) ARCH="arm64" ;;
*)
echo "Unsupported architecture: $(uname -m)" >&2
exit 1
;;
esac
o7k plugin install \
"https://github.com/akyriako/o7k-opentelekomcloud-plugin/releases/download/${VERSION}/o7k-opentelekomcloud-plugin_${VERSION#v}_${OS}_${ARCH}"Restart o7k after installing or updating the plugin.
| Service | Resources | Aliases | Status |
|---|---|---|---|
| Cloud Container Engine | Clusters | cce, cce-clusters | β |
| Cloud Container Engine | Nodes | cce-nodes | β |
| Cloud Container Engine | Node Pools | cce-nodepools | β |
| Object Storage Service | Buckets | buckets, bucket | β |
| Relational Database Service | Instances | rds, rds-instances | β |
| Relational Database Service | Flavors | rds-flavors | β |
| Relational Database Service | Nodes | rds-nodes | β |
| Relational Database Service | Backups | rds-backups | β |
| Relational Database Service | Parameters | rds-parameters | β |
| Distributed Cache Service | Instances | dcs-instances | β |
| Distributed Cache Service | Parameters | dcs-parameters | β |
| Distributed Cache Service | Whitelists | dcs-whitelists | β |
| Elastic Load Balancing | Load Balancers | elb | β |
| Elastic Load Balancing | Listeners | elb-listeners | β |
| Elastic Load Balancing | Pools | elb-pools | β |
| Elastic Load Balancing | Members | elb-members | β |
| Elastic Load Balancing | Health Monitors | elb-healthmonitors | β |
| Elastic Load Balancing | Policies | elb-policies | β |
| Elastic Load Balancing | Rules | elb-rules | β |
| Elastic Load Balancing | Flavors | elb-flavors | β |
| Elastic Load Balancing | IP Groups | elb-ipgroups | β |
Build the plugin locally:
make build
Build and install it into your local o7k plugin directory:
make install
The development build includes version, Git commit and build-date metadata. To test the release build locally:
goreleaser release --snapshot --clean
Releases are built with GoReleaser and published as standalone binaries for Linux and macOS on AMD64 and ARM64. Create a release with:
make release-tag TAG=0.1.0
This creates and pushes the corresponding v0.1.0 Git tag, which triggers the
GitHub release workflow.