Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Name string `json:"name"` MaxInstances int `json:"max_instances"` LastDeploy time.Time `json:"last_deploy"` }
App is a Model implementation for an application in the PaaS
func (*App) MarshalBinary ¶
MarshalBinary is the encoding.BinaryMarshaler interface implementation
func (*App) UnmarshalBinary ¶
UnmarshalBinary is the encoding.BinaryUnmarshaler interface implementation
type AppKey ¶
type AppKey struct {
// contains filtered or unexported fields
}
AppKey is a models.Key implementation specifically for App models
type Model ¶
type Model interface { encoding.BinaryMarshaler encoding.BinaryUnmarshaler // Set replaces the contents of the model with the given model Set(Model) error }
Model is the generic interface to represent data that's stored in db.DB implementations
Click to show internal directories.
Click to hide internal directories.