utils

package
v0.6.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanKubeconfigFiles

func CleanKubeconfigFiles(config config.Config) (*int, error)

func CleanLogFiles

func CleanLogFiles(config config.Config) (*int, error)

func DetectContainerRuntime

func DetectContainerRuntime(config config.Config) (*orchestatormodels.ContainerRuntime, error)

func ExpandFolder

func ExpandFolder(folder string, basePath *string) (*string, error)

func GenerateContainerName

func GenerateContainerName(config config.Config, scenarioName string, graphNodeName *string) string

func GetSocketByContainerEnvironment

func GetSocketByContainerEnvironment(environment orchestatormodels.ContainerRuntime, config config.Config, userId *int) (*string, error)

func PrepareKubeconfig

func PrepareKubeconfig(kubeconfigPath *string, config config.Config) (*string, error)

Types

type ExitError

type ExitError struct {
	ExitStatus int
}

func (*ExitError) Error

func (e *ExitError) Error() string

type SigTermChannel

type SigTermChannel struct {
	Message string
	Error   error
}

Jump to

Keyboard shortcuts

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