Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReadyParser ¶
func NewReadyParser(config *loki.Config) loki.ReadyParser
NewReadyParser instantiates ReadyParser.
func RegisterReadyParser ¶
func RegisterReadyParser()
RegisterReadyParser registers rego ReadyParser into loki.
Types ¶
type ReadyCond ¶
type ReadyCond struct {
// contains filtered or unexported fields
}
ReadyCond performs readiness check based on rego policy.
type ReadyParser ¶
type ReadyParser struct {
// contains filtered or unexported fields
}
ReadyParser parses the ready section to create ReadyCond which identifies readiness based on rego policy.
Click to show internal directories.
Click to hide internal directories.