Documentation ¶
Index ¶
- func BuildStorageFactory(s *options.ServerRunOptions, ...) (*apiserverstorage.DefaultStorageFactory, error)
- func Complete(s *options.ServerRunOptions) (completedServerRunOptions, error)
- func CreateAPIServer(apiServerConfig *apiserver.Config, ...) (*apiserver.APIServer, error)
- func CreateAPIServerConfig(s completedServerRunOptions) (config *apiserver.Config, sharedInformers informers.SharedInformerFactory, ...)
- func CreateServerChain(completedOptions completedServerRunOptions, stopCh <-chan struct{}) (*genericapiserver.GenericAPIServer, error)
- func NewASTAgentCommand(stopCh <-chan struct{}) *cobra.Command
- func Run(completeOptions completedServerRunOptions, stopCh <-chan struct{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildStorageFactory ¶
func BuildStorageFactory(s *options.ServerRunOptions, apiResourceConfig *apiserverstorage.ResourceConfig) (*apiserverstorage.DefaultStorageFactory, error)
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 ¶
NewASTAgentCommand provides a CLI handler for 'start master' command with a default ASTAgentOptions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.