util

package
v0.0.0-...-d438ab9 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendToHistory

func AppendToHistory(context, namespace string) error

AppendToHistory appends the given context: namespace to the history file

func ParseHistoryEntry

func ParseHistoryEntry(entry string) (*string, *string, error)

ParseHistoryEntry takes a history entry as argument and returns the context as first, and the namespace as seconds return parameter

func ReadHistory

func ReadHistory() ([]string, error)

ReadHistory reads the context history from the state file

Types

This section is empty.

Jump to

Keyboard shortcuts

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