Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FreshnessConf ¶
type FreshnessConf struct {
Targets []TableFreshnessCheckerConf
}
type LastUpdateConf ¶
type LastUpdateConf struct { Schemas []string Since time.Duration // default "public" TagMappings []LastUpdateTagMappings }
func (LastUpdateConf) SchemasMap ¶
func (l LastUpdateConf) SchemasMap() map[string]struct{}
type LastUpdateMatch ¶
type LastUpdateMatch string
const ( IsPrefixMatchType LastUpdateMatch = "is_prefix" IsExactMatchType LastUpdateMatch = "is_exact" )
type LastUpdateTagMappings ¶
type LastUpdateTagMappings struct { Target string MatchType LastUpdateMatch Tag string }
type StaticConf ¶
type StaticConf struct { LastUpdates *LastUpdateConf Freshness *FreshnessConf }
func NewFromYaml ¶
func NewFromYaml(data []byte) (*StaticConf, error)
func (*StaticConf) SetDefaults ¶
func (c *StaticConf) SetDefaults()
Click to show internal directories.
Click to hide internal directories.