Documentation
¶
Overview ¶
policychecks holds objects that are used to be able run checks of various types of Policy for common problems, particularly related to things like:
* TargetRef verification * Checking that references exist
In each of these cases, it's expected that each check will do its job, then update the Conditions of the source object using SetAncestorCondition.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendTLSPolicyInput ¶
type BackendTLSPolicyInput struct {
Client client.Client
BackendTLSPolicy *gatewayv1.BackendTLSPolicy
ControllerName string
}
func (*BackendTLSPolicyInput) SetAncestorCondition ¶
func (b *BackendTLSPolicyInput) SetAncestorCondition(parentRef gatewayv1.ParentReference, condition metav1.Condition)
func (*BackendTLSPolicyInput) ValidateSpec ¶
func (b *BackendTLSPolicyInput) ValidateSpec(ctx context.Context, scopedLog *slog.Logger, ancestorRef gatewayv1.ParentReference) (bool, error)
Click to show internal directories.
Click to hide internal directories.