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 ¶
- func CreateServer(s options.Options) (*genericapiserver.GenericAPIServer, error)
- func NewClusterRegistryCommand(out io.Writer) *cobra.Command
- func NewCmdAggregated(cmdOut io.Writer, pathOptions *clientcmd.PathOptions) *cobra.Command
- func NewCmdStandalone(cmdOut io.Writer, pathOptions *clientcmd.PathOptions) *cobra.Command
- func NonBlockingRun(s options.Options, stopCh <-chan struct{}) error
- func Run(s options.Options, stopCh <-chan struct{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServer ¶
func CreateServer(s options.Options) (*genericapiserver.GenericAPIServer, error)
CreateServer creates a cluster registry API server.
func NewClusterRegistryCommand ¶ added in v0.0.2
NewClusterRegistryCommand creates the 'clusterregistry' command.
func NewCmdAggregated ¶ added in v0.0.2
NewCmdAggregated defines the 'aggregated' subcommand that runs the cluster registry as a Kubernetes aggregated API server.
func NewCmdStandalone ¶ added in v0.0.2
NewCmdStandalone defines the 'standalone' subcommand that runs the cluster registry using the Kubernetes aggregator.
func NonBlockingRun ¶
NonBlockingRun runs the cluster registry API server and configures it to stop with the given channel.
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. |