flags

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 9 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 Platforms added in v1.14.0

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

Platforms Value.

func NewPlatformsValue added in v1.14.0

func NewPlatformsValue(platforms ...string) Platforms

func (*Platforms) Append added in v1.14.0

func (s *Platforms) Append(val string) error

func (*Platforms) GetSlice added in v1.14.0

func (s *Platforms) GetSlice() []string

func (*Platforms) Replace added in v1.14.0

func (s *Platforms) Replace(val []string) error

func (*Platforms) Set added in v1.14.0

func (s *Platforms) Set(val string) error

func (*Platforms) String added in v1.14.0

func (s *Platforms) String() string

func (*Platforms) Type added in v1.14.0

func (s *Platforms) Type() string

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