Code Monkey home page Code Monkey logo

gcorelabscloud-go's Introduction

Gcore cloud API client

Command line client to Gcore cloud API.

Installation

  • Clone repo
  • Add $GOPATH/bin into $PATH
  • Run make install.

Getting started

You will need to set the following env:

export GCLOUD_USERNAME=username
export GCLOUD_PASSWORD=secret
export GCLOUD_PROJECT=1
export GCLOUD_REGION=1
export GCLOUD_AUTH_URL=https://api.gcore.com/iam
export GCLOUD_API_URL=https://api.gcore.com/cloud
export GCLOUD_CLIENT_TYPE=platform
  • GCLOUD_USERNAME - username
  • GCLOUD_PASSWORD - user's password
  • GCLOUD_PROJECT - project id
  • GCLOUD_REGION - region id
  • GCLOUD_AUTH_URL - authentication url, you could use the same as in example above
  • GCLOUD_API_URL - api url, you could use the same as in example above
  • GCLOUD_CLIENT_TYPE - client type, you could use the same as in example above

After setting the env, use -h key to retrieve all available commands:

./gcoreclient -h

   NAME:
   gcoreclient - GCloud API client

   Environment variables example:

   GCLOUD_AUTH_URL=
   GCLOUD_API_URL=
   GCLOUD_API_VERSION=v1
   GCLOUD_USERNAME=
   GCLOUD_PASSWORD=
   GCLOUD_REGION=
   GCLOUD_PROJECT=

USAGE:
   gcoreclient [global options] command [command options] [arguments...]

VERSION:
   v0.3.45-3-gde7ea60

COMMANDS:
   network        GCloud networks API
   task           GCloud tasks API
   keypair        GCloud keypairs V2 API
   volume         GCloud volumes API
   subnet         GCloud subnets API
   flavor         GCloud flavors API
   loadbalancer   GCloud loadbalancers API
   instance       GCloud instances API
   heat           Gcloud Heat API
   securitygroup  GCloud security groups API
   floatingip     GCloud floating ips API
   port           GCloud ports API
   snapshot       GCloud snapshots API
   image          GCloud images API
   region         GCloud regions API
   project        GCloud projects API
   keystone       GCloud keystones API
   quota          GCloud quotas API
   limit          GCloud limits API
   cluster        Gcloud k8s cluster commands
   pool           Gcloud K8s pool commands
   l7policy       GCloud l7policy API
   router         GCloud router API
   fixed_ip       GCloud reserved fixed ip API
   help, h        Shows a list of commands or help for one command

gcorelabscloud-go's People

Contributors

0ndi avatar alexk53 avatar artsiomantropau avatar charlier-o-o-t avatar daragok avatar dz0gchen avatar gbernady avatar impby avatar intiluha avatar isabellamerkulova avatar lapson97 avatar maxfedotov avatar pashukhin avatar pikwick avatar sergsolovyev avatar shelomentsevd avatar uliantsev-a avatar volvofixthis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.