commands

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSecret

func CreateSecret(name string, data map[string][]byte) (*v1.Secret, error)

CreateSecret creates a secret to put into cluster

func Execute

func Execute()

Execute command to execute secretkube command line

func MakeMapFromJSON

func MakeMapFromJSON(file string) (map[string]string, error)

MakeMapFromJSON opens a JSON file and creates a map[string]string

func TurnMapToBytes

func TurnMapToBytes(m map[string]string) map[string][]byte

TurnMapToBytes takes map[string]string and transforms the value to a slice of bytes

func Version

func Version(str string) string

Version command takes the string and shows the version

Types

This section is empty.

Jump to

Keyboard shortcuts

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