Documentation ¶
Index ¶
- Variables
- func AppCancel(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func AppCreate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func AppDelete(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func AppGet(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func AppList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func AppLogs(ws *websocket.Conn) *httperr.Error
- func Auth(w http.ResponseWriter, r *http.Request) *httperr.Error
- func BuildCreate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func BuildDelete(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func BuildExport(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func BuildGet(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func BuildList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func BuildLogs(ws *websocket.Conn) *httperr.Error
- func CertificateCreate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func CertificateDelete(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func CertificateGenerate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func CertificateList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func EnvironmentDelete(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func EnvironmentList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func EnvironmentSet(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ForkRelease(app *structs.App) (*structs.Release, error)
- func FormationList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func FormationSet(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func GetForm(r *http.Request, name string) string
- func HandlerFunc(w http.ResponseWriter, req *http.Request)
- func IndexDiff(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func IndexUpdate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func InstanceSSH(ws *websocket.Conn) *httperr.Error
- func InstanceTerminate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func InstancesKeyroll(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func InstancesList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func LinkCreate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func LinkDelete(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func NewRouter() (router *mux.Router)
- func ParametersList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ParametersSet(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ProcessExecAttached(ws *websocket.Conn) *httperr.Error
- func ProcessGet(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ProcessList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ProcessRunAttached(ws *websocket.Conn) *httperr.Error
- func ProcessRunDetached(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ProcessStop(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func Proxy(ws *websocket.Conn) *httperr.Error
- func RackList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func Redirect(rw http.ResponseWriter, r *http.Request, path string) *httperr.Error
- func RegistryCreate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func RegistryDelete(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func RegistryList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ReleaseGet(rw http.ResponseWriter, req *http.Request) *httperr.Error
- func ReleaseList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ReleasePromote(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func RenderError(rw http.ResponseWriter, err error) *httperr.Error
- func RenderJson(rw http.ResponseWriter, object interface{}) *httperr.Error
- func RenderSuccess(rw http.ResponseWriter) *httperr.Error
- func RenderText(rw http.ResponseWriter, text string) *httperr.Error
- func ResourceCreate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ResourceDelete(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ResourceList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ResourceShow(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func ResourceUpdate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func SNSConfirm(w http.ResponseWriter, r *http.Request)
- func SNSProxy(w http.ResponseWriter, r *http.Request)
- func SSLList(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func SSLUpdate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func Switch(w http.ResponseWriter, r *http.Request) *httperr.Error
- func SystemCapacity(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func SystemLogs(ws *websocket.Conn) *httperr.Error
- func SystemProcesses(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func SystemReleases(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func SystemShow(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func SystemUpdate(rw http.ResponseWriter, r *http.Request) *httperr.Error
- func UtilityBoom(rw http.ResponseWriter, r *http.Request)
- func UtilityCheck(rw http.ResponseWriter, r *http.Request)
- type ApiHandlerFunc
- type ApiWebsocketFunc
Constants ¶
This section is empty.
Variables ¶
var RequestTimeout time.Duration = 3600 * time.Second
Functions ¶
func BuildCreate ¶
func BuildDelete ¶
BuildDelete deletes a build. Makes sure not to delete a build that is contained in the active release
func BuildExport ¶
BuildExport creates an artifact, representing a build, to be used with another Rack
func CertificateCreate ¶
func CertificateDelete ¶
func CertificateGenerate ¶
func CertificateList ¶
func EnvironmentDelete ¶
func EnvironmentList ¶
func EnvironmentSet ¶
func ForkRelease ¶
ForkRelease creates a new release based on the app's release
func FormationList ¶
func FormationSet ¶
func HandlerFunc ¶
func HandlerFunc(w http.ResponseWriter, req *http.Request)
func IndexUpdate ¶
IndexUpdate accepts a tarball of changes to the index
func InstanceTerminate ¶
func InstancesKeyroll ¶
func InstancesList ¶
func LinkCreate ¶
func LinkDelete ¶
func ParametersList ¶
func ParametersSet ¶
func ProcessExecAttached ¶
ProcessExecAttached runs an attached command in an existing process
func ProcessGet ¶
ProcessGet returns a process for an app
func ProcessList ¶
ProcessList returns a list of processes for an app
func ProcessRunAttached ¶
ProcessRunAttached runs an attached command in an new process
func ProcessRunDetached ¶
ProcessRunDetached runs a process in the background
func ProcessStop ¶
ProcessStop stops a Process
func RegistryCreate ¶
func RegistryDelete ¶
func RegistryList ¶
func ReleaseGet ¶
func ReleaseList ¶
func ReleasePromote ¶
func RenderError ¶
func RenderError(rw http.ResponseWriter, err error) *httperr.Error
func RenderJson ¶
func RenderJson(rw http.ResponseWriter, object interface{}) *httperr.Error
func RenderSuccess ¶
func RenderSuccess(rw http.ResponseWriter) *httperr.Error
func RenderText ¶
func RenderText(rw http.ResponseWriter, text string) *httperr.Error
func ResourceCreate ¶
ResourceCreate creates a resource.
func ResourceDelete ¶
ResourceDelete deletes a resource.
func ResourceList ¶
ResourceList lists resources.
func ResourceShow ¶
ResourceShow shows a resource.
func ResourceUpdate ¶
ResourceUpdate updates a resource.
func SNSConfirm ¶
func SNSConfirm(w http.ResponseWriter, r *http.Request)
func SystemCapacity ¶
func SystemLogs ¶
SystemLogs returns the logs for the Rack
func SystemProcesses ¶
func SystemReleases ¶
SystemReleases lists the latest releases of the rack
func SystemShow ¶
func SystemUpdate ¶
func UtilityBoom ¶
func UtilityBoom(rw http.ResponseWriter, r *http.Request)
func UtilityCheck ¶
func UtilityCheck(rw http.ResponseWriter, r *http.Request)