opa

package
v6.7.3-0...-1f455d7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpaConfig

type OpaConfig struct {
	URL     string        `long:"opa-url" description:"OPA policy check endpoint."`
	Timeout time.Duration `long:"opa-timeout" default:"5s" description:"OPA request timeout."`
}

func (*OpaConfig) Description

func (c *OpaConfig) Description() string

func (*OpaConfig) IsConfigured

func (c *OpaConfig) IsConfigured() bool

func (*OpaConfig) NewAgent

func (c *OpaConfig) NewAgent(logger lager.Logger) (policy.Agent, error)

Jump to

Keyboard shortcuts

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