Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConfigRequired = errors.New("rest config is required")
Functions ¶
This section is empty.
Types ¶
type Controllers ¶
type Controllers struct { K8s kubernetes.Interface Router *router.Router }
func NewController ¶
func NewController(cfg *rest.Config) (*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 ServerVersion string }
Click to show internal directories.
Click to hide internal directories.