-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Frank Jogeleit <[email protected]>
- Loading branch information
Frank Jogeleit
committed
Nov 9, 2023
1 parent
e296bfe
commit f2c24d3
Showing
6 changed files
with
325 additions
and
412 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package models | ||
|
||
type Flags struct { | ||
Exceptions Exceptions `json:"exceptions"` | ||
Cosign Cosign `json:"cosign"` | ||
Registry Registry `json:"registry"` | ||
ProtectManagedResources ProtectManagedResources `json:"protectManagedResources"` | ||
ForceFailurePolicyIgnore ForceFailurePolicyIgnore `json:"forceFailurePolicyIgnore"` | ||
EnableDeferredLoading EnableDeferredLoading `json:"enableDeferredLoading"` | ||
Exceptions Exceptions `json:"exceptions"` | ||
Cosign Cosign `json:"cosign"` | ||
Registry Registry `json:"registry"` | ||
ProtectManagedResources ProtectManagedResources `json:"protectManagedResources"` | ||
ForceFailurePolicyIgnore ForceFailurePolicyIgnore `json:"forceFailurePolicyIgnore"` | ||
EnableDeferredLoading EnableDeferredLoading `json:"enableDeferredLoading"` | ||
GenerateValidatingAdmissionPolicy GenerateValidatingAdmissionPolicy `json:"generateValidatingAdmissionPolicy"` | ||
} |
5 changes: 5 additions & 0 deletions
5
backend/pkg/engine/models/generateValidatingAdmissionPolicy.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package models | ||
|
||
type GenerateValidatingAdmissionPolicy struct { | ||
Enabled bool `json:"enabled"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters