Documentation ¶
Index ¶
- type API
- type Config
- type Metrics
- type REST
- type Resolver
- func (r *Resolver) APIServer(foundResources map[string]bool) api.Server
- func (r *Resolver) EventPublisher() kyverno.EventPublisher
- func (r *Resolver) Mapper() kubernetes.Mapper
- func (r *Resolver) PolicyClient() (kyverno.PolicyClient, error)
- func (r *Resolver) PolicyStore() *kyverno.PolicyStore
- func (r *Resolver) RegisterMetricsListener()
- func (r *Resolver) RegisterStoreListener()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { API API `mapstructure:"api"` REST REST `mapstructure:"rest"` Metrics Metrics `mapstructure:"metrics"` Kubeconfig string `mapstructure:"kubeconfig"` }
Config of the Policyer
type Metrics ¶ added in v1.0.0
type Metrics struct {
Enabled bool `mapstructure:"enabled"`
}
Metrics configuration
type REST ¶ added in v1.0.0
type REST struct {
Enabled bool `mapstructure:"enabled"`
}
REST configuration
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver manages dependencies
func NewResolver ¶
NewResolver constructor function
func (*Resolver) EventPublisher ¶ added in v1.0.0
func (r *Resolver) EventPublisher() kyverno.EventPublisher
EventPublisher resolver method
func (*Resolver) PolicyClient ¶
func (r *Resolver) PolicyClient() (kyverno.PolicyClient, error)
PolicyClient resolver method
func (*Resolver) PolicyStore ¶
func (r *Resolver) PolicyStore() *kyverno.PolicyStore
PolicyStore resolver method
func (*Resolver) RegisterMetricsListener ¶ added in v1.0.0
func (r *Resolver) RegisterMetricsListener()
RegisterMetricsListener resolver method
func (*Resolver) RegisterStoreListener ¶ added in v1.0.0
func (r *Resolver) RegisterStoreListener()
RegisterStoreListener resolver method
Click to show internal directories.
Click to hide internal directories.