pkg

package
v0.103.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 30 Imported by: 4

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 DisplayLogHints = helpers.DisplayLogHints

helper exports

View Source
var GenerateClusterID = internal.GenerateClusterID
View Source
var GetAvailableDiskSize = internal.GetAvailableDiskSize
View Source
var GetClusterStatusFlags = helpers.GetClusterStatusFlags
View Source
var IsAppAvailable = internal.IsAppAvailable

internal exports

View Source
var OpenBrowser = internal.OpenBrowser
View Source
var OpenLogFile = internal.OpenLogFile
View Source
var ResetK1Dir = internal.ResetK1Dir
View Source
var SetClusterStatusFlags = helpers.SetClusterStatusFlags
View Source
var SetupViper = internal.SetupViper
View Source
var TestEndpointTLS = helpers.TestEndpointTLS

Functions

func CreateSshKeyPair

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(kcfg k8s.KubernetesClient, 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