Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidServiceType ¶
Types ¶
type Service ¶
type Service struct { Name string Label string Plan string Tags []string Timeout time.Duration Schedule string Retention Retention }
swagger:response service
func (*Service) Type ¶
func (s *Service) Type() ServiceType
type ServiceType ¶
type ServiceType int
const ( Postgres ServiceType = iota MySQL MongoDB Redis Elasticsearch )
func ParseServiceType ¶
func ParseServiceType(serviceType string) ServiceType
func (ServiceType) String ¶
func (s ServiceType) String() string
Click to show internal directories.
Click to hide internal directories.