utils

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJSONParam added in v1.4.0

func GetJSONParam(f *pflag.FlagSet, name string) (map[string]any, error)

func GetPartialUpdateParam added in v1.4.0

func GetPartialUpdateParam(f *pflag.FlagSet) (stream.PartialUpdate, error)

func GetStringSliceParam added in v1.4.0

func GetStringSliceParam(f *pflag.FlagSet, name string) ([]string, error)

func PrintObject

func PrintObject(cmd *cobra.Command, object interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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