models

package
v6.22.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2016 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	Href string `json:"href"`
}
type Links struct {
	Processes Link `json:"processes"`
	Routes    Link `json:"routes"`
}

type V3Application

type V3Application struct {
	Name                  string `json:"name"`
	DesiredState          string `json:"desired_state"`
	TotalDesiredInstances int    `json:"total_desired_instances"`
	Links                 Links  `json:"links"`
}

type V3Process

type V3Process struct {
	Type       string `json:"type"`
	Instances  int    `json:"instances"`
	MemoryInMB int64  `json:"memory_in_mb"`
	DiskInMB   int64  `json:"disk_in_mb"`
}

type V3Route

type V3Route struct {
	Host string `json:"host"`
	Path string `json:"path"`
}

Jump to

Keyboard shortcuts

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