flags

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SkipTLSVerify

func SkipTLSVerify(registrySkipTLSVerify bool, registryURI *RegistryURI) bool

SkipTLSVerify returns true if registrySkipTLSVerify is true or registryURI URI is http.

func ValidateFlagsThatRequireValues added in v1.13.0

func ValidateFlagsThatRequireValues(cmd *cobra.Command, requiredFlagsWithValues ...string) error

Types

type RegistryURI

type RegistryURI struct {
	// contains filtered or unexported fields
}

func (*RegistryURI) Address

func (v *RegistryURI) Address() string

func (*RegistryURI) Host added in v1.5.0

func (v *RegistryURI) Host() string

func (*RegistryURI) Path added in v1.9.0

func (v *RegistryURI) Path() string

func (*RegistryURI) Scheme

func (v *RegistryURI) Scheme() string

func (*RegistryURI) Set

func (v *RegistryURI) Set(value string) (err error)

func (*RegistryURI) String

func (v *RegistryURI) String() string

func (*RegistryURI) Type

func (*RegistryURI) Type() string

Jump to

Keyboard shortcuts

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