Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSubsystem ¶
func WithMaxAge ¶ added in v1.33.0
func WithMaxAge(maxAge time.Duration) func(*RefreshOpts)
func WithMode ¶
func WithMode(mode Mode) func(*RefreshOpts)
Types ¶
type Cache ¶
type Cache[T any] struct { // contains filtered or unexported fields }
func NewLoadBalancerTypeCache ¶ added in v1.36.0
func NewServerCache ¶
func (*Cache[T]) All ¶ added in v1.33.0
func (c *Cache[T]) All(ctx context.Context, opts ...RefreshOption) ([]*T, error)
type RefreshOption ¶
type RefreshOption func(ro *RefreshOpts)
type RefreshOpts ¶
type RefreshOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.