Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConfigRequired = errors.New("rest config is required")
Functions ¶
Types ¶
type Controllers ¶
type Controllers struct { RESTConfig *rest.Config K8s kubernetes.Interface Core corev1.Interface RBAC rbacv1.Interface API apiregistrationv1.Interface CRD apiextensionsv1.Interface // contains filtered or unexported fields }
func NewController ¶
func NewController(cfg *rest.Config, opts *generic.FactoryOptions) (*Controllers, error)
type Options ¶
type Options struct { // Controllers If the controllers are passed in the caller must also start the controllers Controllers *Controllers ClientFactory *client.Factory AccessSetLookup accesscontrol.AccessSetLookup AuthMiddleware auth.Middleware Next http.Handler Router router.RouterFunc AggregationSecretNamespace string AggregationSecretName string StartAggregation bool ClusterRegistry string ServerVersion string }
type Server ¶
type Server struct { http.Handler ClientFactory *client.Factory ClusterCache clustercache.ClusterCache SchemaFactory schema.Factory RESTConfig *rest.Config BaseSchemas *types.APISchemas AccessSetLookup accesscontrol.AccessSetLookup APIServer *apiserver.Server ClusterRegistry string Version string // contains filtered or unexported fields }
func (*Server) ListenAndServe ¶
func (*Server) StartAggregation ¶
Click to show internal directories.
Click to hide internal directories.