util

package
v0.6.16 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProgressSuccessMessage = "Flyte is ready! Flyte UI is available at"
	SandBoxConsolePort     = 30081
	DemoConsolePort        = 30080
)

Variables

Functions

func IsVersionGreaterThan added in v0.2.8

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

IsVersionGreaterThan check version if it's greater then other

func PrintSandboxMessage added in v0.2.27

func PrintSandboxMessage(flyteConsolePort int)

PrintSandboxMessage will print sandbox 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