Versions in this module Expand all Collapse all v1 v1.4.0 Nov 9, 2024 v1.3.0 Nov 10, 2024 Changes in this version + const RancherKubeConfigSecretKey + const RancherKubeConfigSecretName + var AddToScheme = localSchemeBuilder.AddToScheme + var Scheme = runtime.NewScheme() + func GetConfig(kubeConfig string) (clientcmd.ClientConfig, error) + func RancherRESTConfig(ctx context.Context, restConfig *restclient.Config, options config.Options) (*restclient.Config, error) + func Wait(ctx context.Context, config *rest.Config) error + type CloudweavServer struct + ASL accesscontrol.AccessSetLookup + ClientSet *kubernetes.Clientset + Context context.Context + DynamicClient dynamic.Interface + Handler http.Handler + RESTConfig *restclient.Config + RancherRESTConfig *restclient.Config + func New(ctx context.Context, clientConfig clientcmd.ClientConfig, ...) (*CloudweavServer, error) + func (s *CloudweavServer) ListenAndServe(listenerCfg *dynamiclistener.Config, opts config.Options) error + func (s *CloudweavServer) Scaled() *config.Scaled + type PostStartHook func(int) error + type Router struct + func NewRouter(scaled *config.Scaled, restConfig *rest.Config, options config.Options) (*Router, error) + func (r *Router) Routes(h router.Handlers) http.Handler + type StartHook func(context.Context, *steveserver.Server, *steveserver.Controllers, config.Options) error