clusterregistry

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Overview

Package clusterregistry contains the meat of the implementation for k8s.io/cluster-registry/cmd/clusterregistry consisting of functions to support the cluster registry subcommands and to launch the API server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServer

CreateServer creates a cluster registry API server.

func NewClusterRegistryCommand added in v0.0.2

func NewClusterRegistryCommand(out io.Writer) *cobra.Command

NewClusterRegistryCommand creates the 'clusterregistry' command.

func NewCmdAggregated added in v0.0.2

func NewCmdAggregated(cmdOut io.Writer, pathOptions *clientcmd.PathOptions) *cobra.Command

NewCmdAggregated defines the 'aggregated' subcommand that runs the cluster registry as a Kubernetes aggregated API server.

func NewCmdStandalone added in v0.0.2

func NewCmdStandalone(cmdOut io.Writer, pathOptions *clientcmd.PathOptions) *cobra.Command

NewCmdStandalone defines the 'standalone' subcommand that runs the cluster registry using the Kubernetes aggregator.

func NonBlockingRun

func NonBlockingRun(s options.Options, stopCh <-chan struct{}) error

NonBlockingRun runs the cluster registry API server and configures it to stop with the given channel.

func Run

func Run(s options.Options, stopCh <-chan struct{}) error

Run runs the cluster registry API server. It only returns if stopCh is closed or one of the ports cannot be listened on initially.

Types

This section is empty.

Directories

Path Synopsis
Package authenticator contains code for creating an authenticator for a standalone cluster registry based on the configuration provided to the clusteregistry binary.
Package authenticator contains code for creating an authenticator for a standalone cluster registry based on the configuration provided to the clusteregistry binary.
Package options contains flags, common options, and aggregated and standalone options for initializing the cluster registry API server.
Package options contains flags, common options, and aggregated and standalone options for initializing the cluster registry API server.

Jump to

Keyboard shortcuts

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