info

package
v3.10.18-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string, f *clientcmd.Factory, out, errOut io.Writer) *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

	Out    io.Writer
	ErrOut io.Writer
}

func (*Options) Complete

func (o *Options) Complete(f *clientcmd.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