pkg

package
v0.118.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 29 Imported by: 11

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

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

Index

Constants

This section is empty.

Variables

View Source
var (
	IsAppAvailable       = internal.IsAppAvailable
	GenerateClusterID    = internal.GenerateClusterID
	GetAvailableDiskSize = internal.GetAvailableDiskSize
	OpenBrowser          = internal.OpenBrowser
	ResetK1Dir           = internal.ResetK1Dir
	SetupViper           = internal.SetupViper
	OpenLogFile          = internal.OpenLogFile
)

internal exports

View Source
var (
	DisplayLogHints       = helpers.DisplayLogHints
	TestEndpointTLS       = helpers.TestEndpointTLS
	SetClusterStatusFlags = helpers.SetClusterStatusFlags
	GetClusterStatusFlags = helpers.GetClusterStatusFlags
)

helper exports

Functions

func CreateSSHKeyPair added in v0.106.0

func CreateSSHKeyPair() (string, string, error)

func CreateTokensFromDatabaseRecord

func CreateTokensFromDatabaseRecord(cl *pkgtypes.Cluster, registryPath string, secretStoreRef string, project string, clusterDestination string, environment string, clusterName string) *providerConfigs.GitopsDirectoryValues

func EvalSSHKey

func EvalSSHKey(req *types.EvalSSHKeyRequest) error

func ExportCluster

func ExportCluster(cl types.Cluster) error

ExportCluster proxy to kubefirst api /cluster/import to restore the database

func PutClusterObject

PutClusterObject exports a cluster definition as json and places it in the target object storage bucket

func Random

func Random(seq int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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