Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶ added in v0.5.0
type Key []byte
func NewKeyFromRequest ¶ added in v0.5.0
func NewKeyFromURL ¶ added in v0.5.0
type Keys ¶ added in v0.5.0
type Keys []Key
func NewKeysFromHTTPSO ¶ added in v0.5.0
func NewKeysFromHTTPSO(httpso *httpv1alpha1.HTTPScaledObject) Keys
type Table ¶
type Table interface {
util.HealthChecker
Start(ctx context.Context) error
Route(req *http.Request) *httpv1alpha1.HTTPScaledObject
HasSynced() bool
}
func NewTable ¶
func NewTable(sharedInformerFactory externalversions.SharedInformerFactory, namespace string, counter queue.Counter) (Table, error)
type TableMemory ¶ added in v0.5.0
type TableMemory interface {
Remember(httpso *httpv1alpha1.HTTPScaledObject) TableMemory
Recall(namespacedName *types.NamespacedName) *httpv1alpha1.HTTPScaledObject
Forget(namespacedName *types.NamespacedName) TableMemory
Route(key Key) *httpv1alpha1.HTTPScaledObject
}
func NewTableMemory ¶ added in v0.5.0
func NewTableMemory() TableMemory
Click to show internal directories.
Click to hide internal directories.