Documentation ¶
Index ¶
- func Add(details Installation) error
- func AddOrchestrator(details Orchestrator) error
- func Delete(canastaID string) error
- func Exists(canastaId string) bool
- func GetCanastaId(path string) (string, error)
- func GetConfigDir() string
- func ListAll()
- func OrchestratorExists(orchestrator string) bool
- type Canasta
- type Installation
- type Orchestrator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(details Installation) error
func AddOrchestrator ¶ added in v1.5.0
func AddOrchestrator(details Orchestrator) error
func GetCanastaId ¶
func GetConfigDir ¶
func GetConfigDir() string
func OrchestratorExists ¶ added in v1.5.0
Types ¶
type Canasta ¶
type Canasta struct { Orchestrators map[string]Orchestrator Installations map[string]Installation }
type Installation ¶
type Installation struct {
Id, Path, Orchestrator string
}
func GetDetails ¶
func GetDetails(canastaId string) (Installation, error)
type Orchestrator ¶ added in v1.5.0
type Orchestrator struct {
Id, Path string
}
func GetOrchestrator ¶ added in v1.5.0
func GetOrchestrator(orchestrator string) Orchestrator
Click to show internal directories.
Click to hide internal directories.