Documentation ¶
Index ¶
- func ByNamespaceAndNameIndexKey(namespace, name string) string
- func StartStopServer(ctx context.Context, srv *http.Server, shutdownTimeout time.Duration) error
- func StartStopTLSServer(ctx context.Context, srv *http.Server, shutdownTimeout time.Duration, ...) error
- type Generic
- type Holder
- type ServerHolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartStopServer ¶
Types ¶
type Generic ¶
type Generic struct { Controllers map[schema.GroupVersionKind]Holder Servers map[schema.GroupVersionKind]ServerHolder Informers map[schema.GroupVersionKind]cache.SharedIndexInformer // contains filtered or unexported fields }
func NewGeneric ¶
func NewGeneric(config *ctrl.Config, queue workqueue.RateLimitingInterface, workers uint, constructors ...ctrl.Constructor) (*Generic, error)
type ServerHolder ¶
Click to show internal directories.
Click to hide internal directories.