operations

package
v0.0.0-...-260b785 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(applyName string, isForceApply bool, delay time.Duration, retry int) error

Apply reads the config file(s) from the provided file / directory and applies it to the server

func ApplySpec

func ApplySpec(token string, account *model.Account, specObj *model.SpecObject) error

ApplySpec takes a spec object and applies it

func Commands

func Commands() []*cobra.Command

Commands is the list of commands the operations module exposes

func Destroy

func Destroy() error

Destroy cleans the environment which has been setup. It removes the containers, secrets & host file

func DockerStart

func DockerStart(clusterName string) error

DockerStart restarts the services which might have been stopped for any reason

func DockerStop

func DockerStop(clusterName string) error

DockerStop stops the services which have been started

func Inspect

func Inspect(clusterID string) error

Inspect prints values file used for setting up cluster

func List

func List() error

List initializes development environment

func Setup

func Setup(setValuesFlag, valuesYamlFile, chartLocation, version string, isGetDefaults bool) error

Setup initializes development environment

func Update

func Update(setValuesFlag, valuesYamlFile, chartLocation, version string) error

Update upgrades existing space cloud cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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