info

package
v4.0.0-0.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegistryInfoCmd

func NewRegistryInfoCmd(name string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

New creates a command that displays info about the registry.

Types

type Options

type Options struct {
	Check        bool
	Quiet        bool
	ShowInternal bool
	ShowPublic   bool

	Namespaces []string
	Client     imageclient.Interface

	genericclioptions.IOStreams
}

func NewRegistryInfoOptions

func NewRegistryInfoOptions(streams genericclioptions.IOStreams) *Options

func (*Options) Complete

func (o *Options) Complete(f kcmdutil.Factory, args []string) error

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

func (o *Options) Validate() error

type RegistryInfo

type RegistryInfo struct {
	Public   string
	Internal string
}

func (*RegistryInfo) HostPort

func (i *RegistryInfo) HostPort() (string, bool)

func (*RegistryInfo) Installed

func (i *RegistryInfo) Installed() bool

Jump to

Keyboard shortcuts

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