package
3.19.0-beta.1
Repository: https://github.com/open-policy-agent/gatekeeper.git
Documentation: pkg.go.dev

# Functions

ConfigFor returns a config resource with a SyncOnly containing the requested set of resources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GVKManifestFor returns a GVKManifest resource with the given name for the requested set of resources.
KeyFor returns a CfDataKey for the provided resource.
No description provided by the author
Pod creates a Pod for use in testing or debugging logic.
No description provided by the author
SyncSetFor returns a syncset resource with the given name for the requested set of resources.
No description provided by the author
WithLabels sets the metadata.labels of the object.
WithName sets the metadata.name of the object.
WithNamespace sets the metadata.namespace of the object.
WithUID sets the metadata.uid of the object.

# Constants

ExternalDataProviderName is the name of the fake external data provider.
Name is the default name given to fake objects.
Namespace is the default namespace given to fake namespace-scoped objects.
UID is the default UID given to fake objects.

# Variables

ExternalDataProviderCache is the cache of external data providers.

# Structs

No description provided by the author
FailureInjector can be used in combination with the SpyReader to simulate transient failures for network calls.
FakeCfClient is an CfDataClient for testing.
No description provided by the author

# Type aliases

Opt modifies a client.Object during object instantiation.