discovery

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

Cache is useful to prevent excessive QPS to the discovery APIs while still allowing dynamic refresh of the openapi spec on cache misses.

func NewCache

func NewCache(rc *rest.Config, qps float32, fillWhenNotFound bool) (*Cache, error)

func (*Cache) Get

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL