registry

package
v1.5.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2016 License: Apache-2.0 Imports: 28 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, errout io.Writer) *cobra.Command

NewCmdRegistry implements the OpenShift cli registry command

Types

type RegistryConfig

type RegistryConfig struct {
	Action configcmd.BulkAction

	Name           string
	Type           string
	ImageTemplate  variable.ImageTemplate
	Ports          string
	Replicas       int32
	Labels         string
	Volume         string
	HostMount      string
	DryRun         bool
	Credentials    string
	Selector       string
	ServiceAccount string
	DaemonSet      bool
	EnforceQuota   bool

	ServingCertPath string
	ServingKeyPath  string
}

RegistryConfig contains configuration for the registry that will be created.

type RegistryOptions added in v1.3.0

type RegistryOptions struct {
	Config *RegistryConfig
	// contains filtered or unexported fields
}

RegistryOptions contains the configuration for the registry as well as any other helpers required to run the command.

func (*RegistryOptions) Complete added in v1.3.0

func (opts *RegistryOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, out, errout io.Writer, args []string) error

Complete completes any options that are required by validate or run steps.

func (*RegistryOptions) RunCmdRegistry added in v1.3.0

func (opts *RegistryOptions) RunCmdRegistry() error

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

Jump to

Keyboard shortcuts

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