util

package
v0.8.18 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProgressSuccessMessage        = "Flyte is ready! Flyte UI is available at"
	ProgressSuccessMessagePending = "Flyte would be ready after this! Flyte UI would be available at"
	SandBoxConsolePort            = 30081
	DemoConsolePort               = 30080
)

Variables

Functions

func CreatePathAndFile added in v0.6.24

func CreatePathAndFile(pathToConfig string) error

func IsVersionGreaterThan added in v0.2.8

func IsVersionGreaterThan(version1, version2 string) (bool, error)

IsVersionGreaterThan check version if it's greater then other

func PrintDemoStartMessage added in v0.6.37

func PrintDemoStartMessage(flyteConsolePort int, kubeconfigLocation string, dryRun bool)

PrintDemoStartMessage will print demo start success message

func PrintSandboxStartMessage added in v0.6.37

func PrintSandboxStartMessage(flyteConsolePort int, kubeconfigLocation string, dryRun bool)

PrintSandboxStartMessage will print sandbox start success message

func PrintSandboxTeardownMessage added in v0.6.37

func PrintSandboxTeardownMessage(flyteConsolePort int, kubeconfigLocation string)

PrintSandboxTeardownMessage will print sandbox teardown success message

func SendRequest added in v0.2.27

func SendRequest(method, url string, option io.Reader) (*http.Response, error)

SendRequest will create request and return the response

func SetupFlyteDir added in v0.2.9

func SetupFlyteDir() error

SetupFlyteDir will create .flyte dir if not exist

func WriteIntoFile

func WriteIntoFile(data []byte, file string) error

WriteIntoFile will write content in a file

Types

This section is empty.

Jump to

Keyboard shortcuts

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