registry

package
v1.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRegistry

func NewCmdRegistry(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command

NewCmdRegistry implements the OpenShift cli registry command

func RunCmdRegistry

func RunCmdRegistry(f *clientcmd.Factory, cmd *cobra.Command, out io.Writer, cfg *RegistryConfig, args []string) error

RunCmdRegistry contains all the necessary functionality for the OpenShift cli registry command

Types

type RegistryConfig

type RegistryConfig struct {
	Name           string
	Type           string
	ImageTemplate  variable.ImageTemplate
	Ports          string
	Replicas       int
	Labels         string
	Volume         string
	HostMount      string
	DryRun         bool
	Credentials    string
	Selector       string
	ServiceAccount string

	ServingCertPath string
	ServingKeyPath  string
}

Jump to

Keyboard shortcuts

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