Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = &bootstrap.Module{ Precedence: bootstrap.SecurityPrecedence, Options: []fx.Option{ appconfig.FxEmbeddedDefaults(defaultConfigFS), fx.Provide(BindProperties, ProvideEmbeddedOPA), fx.Invoke(InitializeEmbeddedOPA, RegisterHealth), }, }
Functions ¶
func BindProperties ¶
func BindProperties(ctx *bootstrap.ApplicationContext) opa.Properties
func InitializeEmbeddedOPA ¶
func RegisterHealth ¶
func RegisterHealth(di regDI)
Types ¶
type EmbeddedOPADI ¶
type EmbeddedOPADI struct { fx.In AppCtx *bootstrap.ApplicationContext Properties opa.Properties Customizers []opa.ConfigCustomizer `group:"opa"` }
type EmbeddedOPAOut ¶
func ProvideEmbeddedOPA ¶
func ProvideEmbeddedOPA(di EmbeddedOPADI) (EmbeddedOPAOut, error)
type HealthIndicator ¶
type HealthIndicator struct {
// contains filtered or unexported fields
}
func (*HealthIndicator) Name ¶
func (i *HealthIndicator) Name() string
Click to show internal directories.
Click to hide internal directories.