config

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 Delete

func Delete(canastaID string) error

func Exists

func Exists(canastaId string) bool

func GetCanastaId

func GetCanastaId(path string) (string, error)

func GetConfigDir

func GetConfigDir() string

func ListAll

func ListAll()

func OrchestratorExists added in v1.5.0

func OrchestratorExists(orchestrator string) bool

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

Jump to

Keyboard shortcuts

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