Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigSectionKey = "catalog-cache"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Type DiscoveryType `json:"type" pflag:"\"noop\", Catalog Implementation to use"` Endpoint string `json:"endpoint" pflag:"\"\", Endpoint for catalog service"` Insecure bool `json:"insecure" pflag:"false, Use insecure grpc connection"` MaxCacheAge config.Duration `json:"max-cache-age" pflag:", Cache entries past this age will incur cache miss. 0 means cache never expires"` }
type DiscoveryType ¶
type DiscoveryType = string
const ( NoOpDiscoveryType DiscoveryType = "noop" DataCatalogType DiscoveryType = "datacatalog" )
type NOOPCatalog ¶
type NOOPCatalog struct { }
func (NOOPCatalog) Get ¶
func (n NOOPCatalog) Get(ctx context.Context, key catalog.Key) (io.OutputReader, error)
Click to show internal directories.
Click to hide internal directories.