utils

package
v0.0.0-...-0c1ccf9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright © 2022 Domingos Nunes mingosnunes94@gmail.com

Copyright © 2022 Domingos Nunes mingosnunes94@gmail.com

Index

Constants

This section is empty.

Variables

View Source
var ActualConfigPath string = os.Getenv("HOME") + "/.k8config/actual"
View Source
var ConfigsPath string = os.Getenv("HOME") + "/.k8config/configs"
View Source
var RootPath string = os.Getenv("HOME") + "/.k8config"
View Source
var SettingsPath string = os.Getenv("HOME") + "/.k8config/settings.json"

Functions

func CheckInstallation

func CheckInstallation() []int

func PrintDebug

func PrintDebug(text string)

func PrintError

func PrintError(text string)

func PrintInfo

func PrintInfo(text string)

func PrintSuccess

func PrintSuccess(text string)

func PrintWaring

func PrintWaring(text string)

func RemoveFromList

func RemoveFromList[T any](s []T, index int) []T

Types

This section is empty.

Jump to

Keyboard shortcuts

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