Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v1.74.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCLIRegistry

func CreateCLIRegistry(cmd *cobra.Command) (image.Registry, error)

This works in tandem with opm/index/cmd, which adds the relevant flags as persistent as part of the root command (cmd/root/cmd) initialization

func GetTLSOptions

func GetTLSOptions(cmd *cobra.Command) (bool, bool, error)

GetTLSOptions validates and returns TLS options set by opm flags

func OpenFileOrStdin added in v1.44.0

func OpenFileOrStdin(cmd *cobra.Command, args []string) (io.ReadCloser, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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