Open source, extensible and Docker-based Platform as a Service (PaaS)
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: 1.6.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.GoClientCodegen
Put the package under your project folder and add the following in import:
"./tsuru"
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
AppApi | Create | Post /apps | |
AppApi | List | Get /apps |
- Type: API key
Example
auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)