artifacts

package
v0.0.0-...-7e48bd3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmap = &cobra.Command{
	Use:   "cmap",
	Short: "Delete a config map",
	Long:  `Remove a config map to observe effects`,
	Run: func(cmd *cobra.Command, args []string) {
		cmapName, _ := cmd.Flags().GetString("name")
		namespace, _ := cmd.Flags().GetString("ns")
		cMap(cmapName, namespace)
	},
}
View Source
var Secret = &cobra.Command{
	Use:   "secret",
	Short: "Delete a secret",
	Long:  `Remove a secret to observe effects`,
	Run: func(cmd *cobra.Command, args []string) {
		secretName, _ := cmd.Flags().GetString("name")
		namespace, _ := cmd.Flags().GetString("ns")
		secretFunc(secretName, namespace)
	},
}

Functions

func Config

func Config() (k *kubernetes.Clientset, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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