helpers

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 6 Imported by: 3

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayLogHints

func DisplayLogHints()

DisplayLogHints prints info to the terminal regarding log streaming

func EvalDestroy

func EvalDestroy(expectedCloudProvider string, expectedGitProvider string) (bool, error)

EvalDestroy determines whether or not there are active kubefirst platforms If there are not, an error is returned

func FileExists

func FileExists(fs afero.Fs, filename string) bool

FileExists returns whether or not the given file exists in the OS

func SetCompletionFlags

func SetCompletionFlags(cloudProvider string, gitProvider string)

SetCompletionFlags sets specific config flags to mark status of an install

func TestEndpointTLS

func TestEndpointTLS(endpoint string) error

TestEndpointTLS determines whether or not an endpoint accepts connections over https

Types

type CompletionFlags

type CompletionFlags struct {
	CloudProvider string
	GitProvider   string
	SetupComplete bool
}

func GetCompletionFlags

func GetCompletionFlags() CompletionFlags

GetCompletionFlags gets specific config flags to mark status of an install

Jump to

Keyboard shortcuts

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