util

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 10 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

func CreatePathAndFile(pathToConfig string) error

func IsVersionGreaterThan

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

IsVersionGreaterThan check version if it's greater then other

func PrintDemoStartMessage

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

PrintDemoStartMessage will print demo start success message

func PrintSandboxStartMessage

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

PrintSandboxStartMessage will print sandbox start success message

func PrintSandboxTeardownMessage

func PrintSandboxTeardownMessage(flyteConsolePort int, kubeconfigLocation string)

PrintSandboxTeardownMessage will print sandbox teardown success message

func SendRequest

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

SendRequest will create request and return the response

func SetupFlyteDir

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