nmpolicy

package
v0.64.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateStateWithStateGenerator

The method generates the state using NMPolicyGenerator.GenerateState and then converts the returned value to the match the enactment api

Types

type GenerateStateWithNMPolicy

type GenerateStateWithNMPolicy struct{}

func (GenerateStateWithNMPolicy) GenerateState

type NMPolicyGenerator

type NMPolicyGenerator interface {
	GenerateState(nmpolicySpec nmpolicytypes.PolicySpec, currentState []byte, cache nmpolicytypes.CachedState) (nmpolicytypes.GeneratedState, error)
}

Jump to

Keyboard shortcuts

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