Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
ID string `storm:"id" json:"id"`
// pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
StackID string `storm:"index" json:"stack_id"`
// Service name.
//
// required: true
// min length: 3
// pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
Name string `json:"name" storm:"index"`
CreatedAt std.DateTime `json:"created_at"`
UpdatedAt std.DateTime `json:"updated_at,omitempty"`
Hosts []string `json:"hosts"`
}
Service represents a Service.
swagger:model Service
type Stack ¶
type Stack struct {
// Stack name.
//
// required: true
// min length: 3
// pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
Name string `json:"Name" storm:"id"`
Services int `json:"Services"`
}
Stack represents a Stack.
swagger:model Stack
type StackCompose ¶
type StackCompose struct {
// pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
ID string `storm:"id" json:"id"`
// pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
StackID string `storm:"index" json:"stack_id"`
ComposeFile string `json:"-"`
Version int `storm:"index" json:"version"`
CreatedAt std.DateTime `json:"created_at"`
UpdatedAt std.DateTime `json:"updated_at,omitempty"`
}
StackCompose represents a Stack Compose.
swagger:model StackCompose
Click to show internal directories.
Click to hide internal directories.