odin

package
v0.18.3-0...-c90ca1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package odin ...

Index

Constants

View Source
const (
	NANOBOX  = "https://api.nanobox.io/v1/"
	BONESALT = "https://api.bonesalt.com/v1/"
	DEV      = "http://api.nanobox.local:8080/v1/"
	SIM      = "http://api.nanobox.test/v1/"
)

Variables

This section is empty.

Functions

func AddEvar

func AddEvar(appID, key, val string) error

func App

func App(slug string) (models.App, error)

App ...

func Auth

func Auth(username, password string) (string, error)

Auth authenticates the user with odin.

func Deploy

func Deploy(appID, id, boxfile, message string) error

Deploy ...

func EstablishConsole

func EstablishConsole(appID, id string) (string, string, string, error)

EstablishConsole ... protocol ssh/docker

func EstablishTunnel

func EstablishTunnel(tunCfg models.TunnelConfig) (models.TunnelInfo, error)

EstablishTunnel requests a tunnel from odin.

func GetComponent

func GetComponent(appID, component string) (string, string, error)

GetComponent gets the token and url for a given component

func GetPreviousBuild

func GetPreviousBuild(appID string) (string, error)

func GetWarehouse

func GetWarehouse(appID string) (string, string, error)

GetWarehouse ...

func ListEvars

func ListEvars(appID string) ([]evar, error)

func RemoveEvar

func RemoveEvar(appID, id string) error

func SetEndpoint

func SetEndpoint(stage string)

sets the odin endpoint

func SubmitEvent

func SubmitEvent(action, message, app string, meta map[string]interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL