Documentation
¶
Overview ¶
Copyright (C) 2021-2023, Kubefirst
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
- Variables
- func CreateSshKeyPair() (string, string, error)
- func CreateTokensFromDatabaseRecord(cl *pkgtypes.Cluster, registryPath string, secretStoreRef string, ...) *providerConfigs.GitopsDirectoryValues
- func EvalSSHKey(req *types.EvalSSHKeyRequest) error
- func ExportCluster(kcfg k8s.KubernetesClient, cl types.Cluster) error
- func PutClusterObject(cr *types.StateStoreCredentials, d *types.StateStoreDetails, ...) error
- func Random(seq int) string
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 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 ¶
func PutClusterObject(cr *types.StateStoreCredentials, d *types.StateStoreDetails, obj *types.PushBucketObject) error
PutClusterObject exports a cluster definition as json and places it in the target object storage bucket
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.