GithubHelp home page GithubHelp logo

go-tutum's People

Contributors

fermayo avatar ichaboddee avatar jskeates avatar maximeheckel avatar nextrevision avatar pilwon avatar tifayuki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-tutum's Issues

User and apikey not being set

Below is some code I'm using to try and send a request. It is not picking up the user and token, get the error message about not having env variables in a file.

// Hard code user and token
tutum.User = "user"
tutum.ApiKey = "token"
stack, err := tutum.CreateStack(stackRequest)

if err != nil {
    log.Println(err)
}
log.Println(stack)

016/04/04 10:08:34 Couldn't find any Tutum credentials in ~/.tutum or environment variables TUTUM_USER and TUTUM_APIKEY

The container Exec function cannot end correctly and there is a mistake in the api doc

When I use the Exec function to execute a command inside a container, it cannot end correctly and print endless something like "2015/11/05 09:07:03 websocket: close 1000 ".
And the example in the doc says "c := make(chan string)", but it cannot work. After I read the code, I think it should be "c := make(chan tutum.Exec)". I try it and it works. I think it should be discussed.

Container missing from ListContainers call

I have noticed a few times when I start up a new stack with a lot of services I will be missing a container when I call ListContainers.
I tried the tutum CLI command tutum container ps and it successfully listed the missing containers. I also noticed that the linked from containers have the appropriate environment variables.

Container type missing Linked_to_container

Container.Linked_to_container is missing in the library.

We need to make these changes:

Container

Add:

  • Working_dir
  • Last_metric
  • Linked_to_container
  • Link_variables

Remove:

  • Application
  • Autoreplace
  • Container_size
  • Current_num_containers
  • Unique_name

Service

Add:

  • Synchronized
  • Running_num_containers
  • Stopped_num_containers
  • Working_dir
  • Sequential_deployment
  • Cpu_shares
  • Memory
  • Linked_from_service
  • Bindings
  • Roles
  • Link_variables
  • Privileged
  • Deployment_strategy
  • Tags

Remove:

  • Container_size
  • Exit_code
  • Exit_code_message
  • Unique_name

Stack

Rename:

  • Service --> Services

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.