os

package
v1.4.14 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWS_LOGIN_PATH   = "/.kube/aws-sso"
	AWS_LOGIN_SUFFIX = "aws-sso"
)

Variables

This section is empty.

Functions

func Decode

func Decode(s string) (string, error)

func Encode

func Encode(s string) string

func GetConfigPath

func GetConfigPath() (string, error)

func GetProfile

func GetProfile(profile string) string

func IsFileOrFolderExisting

func IsFileOrFolderExisting(target string) (bool, error)

Checks either or not a target file is existing. Returns true if the target exists, otherwise false.

func IsManagedProfile added in v1.2.0

func IsManagedProfile(profile string) bool

func WriteStructToFile

func WriteStructToFile(payload interface{}, dest string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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