policy

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	ConfigWriter config.Writer
	ConfigReader config.Reader
}

Dependencies the dependencies of the config Policy module

type Policy

type Policy struct {
	Req  Request
	Deps Dependencies
}

Policy the policy to apply

func (Policy) Apply

func (policy Policy) Apply() events.Event

Apply Edit or show configuration

type Request

type Request struct {
	Key   *string
	Value *string
}

Request defines which config setting to modify or if the config should just be displayed

Jump to

Keyboard shortcuts

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