policychecks

package
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL