Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // JSONPatchRules is a map with the paths to files in the archive to apply RFC6902 JSON patches. JSONPatchRules = map[string]*PatchRule{ "resources/cluster/machineconfiguration.openshift.io_v1_controllerconfigs.json": &PatchRule{ JSONPatch: ptr.To[string](`[ { "op": "replace", "path": "/items/0/spec/internalRegistryPullSecret", "value": "REDACTED" } ]`, ), }, } // RemoveFilePatternRules is a map with regular expressions to remove files in the result archive. RemoveFilePatternRules = map[string]*PatchRule{ "packages.operators.coreos.com_v1_packagemanifests.json": &PatchRule{ RegexPattern: regexp.MustCompile("resources/ns/.*/packages.operators.coreos.com_v1_packagemanifests.json"), KeepCount: 1, Count: 0, }, } )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.