schema

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	ID        uuid.UUID `json:"id"`
	Name      string    `json:"name"`
	WebURL    string    `json:"web_url"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}

type AppCreateOpts

type AppCreateOpts struct {
	Name string `json:"name"`
}

type AppUpdateOpts

type AppUpdateOpts struct {
	Name string `json:"name"`
}

type ConfigVars added in v0.2.0

type ConfigVars map[string]string

type Container

type Container struct {
	ID            uuid.UUID `json:"id"`
	AppID         uuid.UUID `json:"app_id"`
	Name          string    `json:"name"`
	Image         string    `json:"image"`
	Size          string    `json:"size"`
	Command       string    `json:"command"`
	Type          string    `json:"type"`
	Port          int64     `json:"port"`
	DesireState   string    `json:"desire_state"`
	State         string    `json:"state"`
	Machine       string    `json:"machine"`
	PublishedPort int64     `json:"published_port"`
	CreatedAt     time.Time `json:"created_at"`
	UpdatedAt     time.Time `json:"updated_at"`
}

type ContainerCreateOpts

type ContainerCreateOpts struct {
	Image   string `json:"image"`
	Size    string `json:"size"`
	Command string `json:"command"`
	Type    string `json:"type"`
	Port    int64  `json:"port"`
}

type ContainerStateUpdateOpts added in v0.2.0

type ContainerStateUpdateOpts struct {
	State         string `json:"state"`
	Machine       string `json:"machine"`
	PublishedPort int64  `json:"published_port"`
}

type ContainerUpdateOpts

type ContainerUpdateOpts struct {
	Image   string `json:"image"`
	Size    string `json:"size"`
	Command string `json:"command"`
	Type    string `json:"type"`
	Port    int64  `json:"port"`
}

Jump to

Keyboard shortcuts

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