app

package
v0.0.0-...-1c98ef4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildStorageFactory

BuildStorageFactory constructs the storage factory. If encryption at rest is used, it expects all supported KMS plugins to be registered in the KMS plugin registry before being called.

func Complete

func Complete(s *options.ServerRunOptions) (completedServerRunOptions, error)

Complete set default ServerRunOptions. Should be called after server flags parsed.

func CreateAPIServer

func CreateAPIServer(apiServerConfig *apiserver.Config,
	delegateAPIServer genericapiserver.DelegationTarget,
	sharedInformers informers.SharedInformerFactory,
	versionedInformers clientgoinformers.SharedInformerFactory) (*apiserver.APIServer, error)

CreateAPIServer creates and wires a workable agent-apiserver

func CreateAPIServerConfig

func CreateAPIServerConfig(s completedServerRunOptions) (
	config *apiserver.Config,
	sharedInformers informers.SharedInformerFactory,
	versionedInformers clientgoinformers.SharedInformerFactory,
	insecureServingInfo *insecureserver.InsecureServingInfo,
	lastErr error,
)

CreateAPIServerConfig creates all the resources for running the API server, but runs none of them

func CreateServerChain

func CreateServerChain(completedOptions completedServerRunOptions, stopCh <-chan struct{}) (*genericapiserver.GenericAPIServer, error)

CreateServerChain creates the apiservers connected via delegation.

func NewASTAgentCommand

func NewASTAgentCommand(stopCh <-chan struct{}) *cobra.Command

NewASTAgentCommand provides a CLI handler for 'start master' command with a default ASTAgentOptions.

func Run

func Run(completeOptions completedServerRunOptions, stopCh <-chan struct{}) error

Run runs the specified APIServer. This should never exit.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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