helpers

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 6 Imported by: 0

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

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

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

func GetClusterStatusFlags

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