util

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 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) (*containerdregistry.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

Types

This section is empty.

Jump to

Keyboard shortcuts

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