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(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 ( 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 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 ¶
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.