Git Product home page Git Product logo

Cloud 66 Go Library

Getting Started

go get github.com/cloud66-oss/cloud66

Authorization

By default, you can use Cloud66 Toolbet token which stores in ~/.cloud66/cx.json. If the file doesn't exist, you can authorize it yourself

var (
	tokenFile    string = "YOUR_TOKEN_FILENAME"
	tokenDir     string = "YOUR_TOKEN_DIRECTORY"
)
cloud66.Authorize(tokenDir, tokenFile)

Or you can use Personal Access Token. Create one on and store it in a file like format below:

{"AccessToken":"YOUR_TOKEN_GOES_HERE","RefreshToken":"","Expiry":"0001-01-01T00:00:00Z","Extra":null}

Get Client

var (
	tokenFile    string = "YOUR_TOKEN_FILENAME"
	tokenDir     string = "YOUR_TOKEN_DIRECTORY"
)
client := cloud66.GetClient(tokenDir, tokenFile, "")

Get Stacks List

var stacks []cloud66.Stack
stacks, err := client.StackList()

Cloud 66's Projects

api_smith icon api_smith

API Smith makes building structured API clients even simpler.

apps icon apps

Apps Deployable with Cloud 66

apps-build icon apps-build

The build steps required to generate the images required by the Apps project

aws-ses icon aws-ses

Provides an easy ruby DSL & interface to AWS SES

backup icon backup

Backup is a RubyGem, written for UNIX-like operating systems, that allows you to easily perform backup operations on both your remote, as well as your local environment. It provides you with an elegant DSL in Ruby for modeling (configuring) your backups. Backup has built-in support for various databases, storage protocols/services, syncers, compressors, encryptors and notifiers which you can mix and match. It was built with modularity, extensibility and simplicity in mind.

bandaid icon bandaid

A collection of utilities we use in our Golang projects

c66cx icon c66cx

Cloud 66 CX Toolbelt Brew Tap

cadvisor icon cadvisor

Analyzes resource usage and performance characteristics of running containers.

cc-ruby icon cc-ruby

Cloud 66 Linux Agent (and Ruby Gem)

chef icon chef

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

cli icon cli

A small package for building command line apps in Go

cloud-builders icon cloud-builders

Builder images and examples commonly used for Google Cloud Build

coredns icon coredns

CoreDNS is a DNS server that chains plugins

dashing icon dashing

The exceptionally handsome dashboard framework in Ruby and Coffeescript.

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.