utilities

package
v0.0.0-...-0134c18 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClusterDefinitionRecordFromRaw

func CreateClusterDefinitionRecordFromRaw(gitAuth apiTypes.GitAuth, cliFlags types.CliFlags, catalogApps []apiTypes.GitopsCatalogApp) apiTypes.ClusterDefinition

func CreateClusterRecordFromRaw

func CreateClusterRecordFromRaw(
	useTelemetry bool,
	gitOwner string,
	gitUser string,
	gitToken string,
	gitlabOwnerGroupID int,
	gitopsTemplateURL string,
	gitopsTemplateBranch string,
	catalogApps []apiTypes.GitopsCatalogApp,
) apiTypes.Cluster

func CreateK1ClusterDirectory

func CreateK1ClusterDirectory(clusterName string)

CreateK1ClusterDirectory

func ExportCluster

func ExportCluster(cluster apiTypes.Cluster, kcfg *k8s.KubernetesClient) error

func GetFlags

func GetFlags(cmd *cobra.Command, cloudProvider string) (types.CliFlags, error)

func ParseJSONToMap

func ParseJSONToMap(jsonStr string) (map[string][]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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