models

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2016 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainModel

type DomainModel struct {
	Metadata MetadataModel `json:"metadata"`
	Entity   EntityModel   `json:"entity"`
}

type DomainsModel

type DomainsModel struct {
	NextUrl   string        `json:"next_url,omitempty"`
	Resources []DomainModel `json:"resources"`
}

type EntityModel

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

type LinkModel

type LinkModel struct {
	Href string
}

type LinksModel

type LinksModel struct {
	App   LinkModel
	Space LinkModel
}

type MetadataModel

type MetadataModel struct {
	Guid string `json:"guid"`
}

type RouteEntityModel

type RouteEntityModel struct {
	Host string `json:"host"`
}

type RouteModel

type RouteModel struct {
	Metadata MetadataModel    `json:"metadata"`
	Entity   RouteEntityModel `json:"entity"`
}

type RoutesModel

type RoutesModel struct {
	Routes []RouteModel `json:"resources"`
}

type V3AppModel

type V3AppModel struct {
	Name       string
	Guid       string
	Error_Code string
	Processes  string
	Instances  int `json:"total_desired_instances"`
}

type V3AppsModel

type V3AppsModel struct {
	Apps []V3AppModel `json:"resources"`
}

type V3DropletModel

type V3DropletModel struct {
	Guid string
}

type V3PackageModel

type V3PackageModel struct {
	Guid       string
	Error_Code string
}

type V3ProcessModel

type V3ProcessModel struct {
	Type      string
	Instances int
	Memory    int        `json:"memory_in_mb"`
	Disk      int        `json:"disk_in_mb"`
	Links     LinksModel `json:"links"`
}

type V3ProcessesModel

type V3ProcessesModel struct {
	Processes []V3ProcessModel `json:"resources"`
}

type V3TaskModel

type V3TaskModel struct {
	Id        int       `json:"sequence_id"`
	Name      string    `json:"name"`
	Guid      string    `json:"guid"`
	Command   string    `json:"command"`
	State     string    `json:"state"`
	UpdatedAt time.Time `json:"updated_at"`
}

type V3TasksModel

type V3TasksModel struct {
	Tasks []V3TaskModel `json:"resources"`
}

Jump to

Keyboard shortcuts

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