Skip to content

About

🦎 T Cloud Public plugin for o7k. Inspect and navigate your T Cloud Public resources from the terminal.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

o7k T Cloud Public Plugin

T Cloud Public provider plugin for o7k.

The plugin adds support for browsing and interacting with T Cloud Public resources directly from o7k.

Installation

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.

Supported Services

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 βœ…

Development

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

Release

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.

About

🦎 T Cloud Public plugin for o7k. Inspect and navigate your T Cloud Public resources from the terminal.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages