Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
Error is a custom security verifier error type
func NewVerifierError ¶
NewVerifierError is a constructor for security verifier error
type SecurityVerifier ¶
type SecurityVerifier interface { Verify(ctx context.Context, csi *csibaremetalv1.Deployment, component models.Component) error HandleError(ctx context.Context, csi *csibaremetalv1.Deployment, serviceAccount string, err error) error }
SecurityVerifier is an interface, describing security verifiers
func NewPodSecurityPolicyVerifier ¶
func NewPodSecurityPolicyVerifier( validator validator.Validator, eventRecorder events.EventRecorder, matchPolicyTemplate rbacv1.PolicyRule, log *logrus.Entry, ) SecurityVerifier
NewPodSecurityPolicyVerifier is a constructor for pod security policies verifier
func NewSecurityContextConstraintsVerifier ¶
func NewSecurityContextConstraintsVerifier( validator validator.Validator, eventRecorder events.EventRecorder, matchPolicies []rbacv1.PolicyRule, log *logrus.Entry, ) SecurityVerifier
NewSecurityContextConstraintsVerifier is a constructor for security context constraints verifier
Source Files ¶
Click to show internal directories.
Click to hide internal directories.