Documentation ¶
Overview ¶
Copyright (C) 2021-2023, Kubefirst
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
- 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 types.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 ¶
This section is empty.
Functions ¶
func CreateSshKeyPair ¶ added in v0.1.21
func CreateTokensFromDatabaseRecord ¶ added in v0.1.12
func CreateTokensFromDatabaseRecord(cl *pkgtypes.Cluster, registryPath string, secretStoreRef string, project string, clusterDestination string, environment string, clusterName string) *providerConfigs.GitopsDirectoryValues
func EvalSSHKey ¶ added in v0.1.21
func EvalSSHKey(req *types.EvalSSHKeyRequest) error
func ExportCluster ¶
func ExportCluster(kcfg types.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.