util

package
v0.6.27 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 12 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 PrintDemoMessage added in v0.5.20

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

PrintDemoMessage will print sandbox success message

func PrintSandboxMessage added in v0.2.27

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

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