helpers

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 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 SetClusterStatusFlags added in v0.1.59

func SetClusterStatusFlags(cloudProvider string, gitProvider string)

SetClusterStatusFlags 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 ClusterStatusFlags added in v0.1.59

type ClusterStatusFlags struct {
	CloudProvider string
	GitProvider   string
	SetupComplete bool
	GitProtocol   string
}

func GetClusterStatusFlags added in v0.1.59

func GetClusterStatusFlags() ClusterStatusFlags

GetClusterStatusFlags 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