Documentation
¶
Index ¶
- type Validator
- func (v *Validator) ValidateACMEIssuer(acme *cmacme.ACMEIssuer) error
- func (v *Validator) ValidateBFDProfile(profile *metallbv1beta1.BFDProfile) error
- func (v *Validator) ValidateBGPAdvertisement(adv *metallbv1beta1.BGPAdvertisement) error
- func (v *Validator) ValidateBGPPeer(peer *metallbv1beta1.BGPPeer) error
- func (v *Validator) ValidateCertificate(cert *certv1.Certificate) error
- func (v *Validator) ValidateClusterIssuer(issuer *certv1.ClusterIssuer) error
- func (v *Validator) ValidateClusterRole(clusterRole *rbacv1.ClusterRole) error
- func (v *Validator) ValidateClusterRoleBinding(clusterRoleBinding *rbacv1.ClusterRoleBinding) error
- func (v *Validator) ValidateClusterSecretStore(css *esv1beta1.ClusterSecretStore) error
- func (v *Validator) ValidateConfigMap(cm *corev1.ConfigMap) error
- func (v *Validator) ValidateContainer(container *corev1.Container) error
- func (v *Validator) ValidateCronJob(cronJob *batchv1.CronJob) error
- func (v *Validator) ValidateDaemonSet(ds *appsv1.DaemonSet) error
- func (v *Validator) ValidateDeployment(deployment *appsv1.Deployment) error
- func (v *Validator) ValidateDeploymentWithSpec(deployment *appsv1.Deployment, spec *corev1.PodSpec) error
- func (v *Validator) ValidateEphemeralContainer(container *corev1.EphemeralContainer) error
- func (v *Validator) ValidateExternalSecret(es *esv1beta1.ExternalSecret) error
- func (v *Validator) ValidateFluxInstance(fi *fluxv1.FluxInstance) error
- func (v *Validator) ValidateHorizontalPodAutoscaler(hpa *autoscalingv2.HorizontalPodAutoscaler) error
- func (v *Validator) ValidateIPAddressPool(pool *metallbv1beta1.IPAddressPool) error
- func (v *Validator) ValidateImagePullSecret(secret *corev1.LocalObjectReference) error
- func (v *Validator) ValidateIngress(ingress *networkingv1.Ingress) error
- func (v *Validator) ValidateInitContainer(container *corev1.Container) error
- func (v *Validator) ValidateIssuer(issuer *certv1.Issuer) error
- func (v *Validator) ValidateJob(job *batchv1.Job) error
- func (v *Validator) ValidateKustomization(k *types.Kustomization) error
- func (v *Validator) ValidateL2Advertisement(adv *metallbv1beta1.L2Advertisement) error
- func (v *Validator) ValidateNamespace(ns *corev1.Namespace) error
- func (v *Validator) ValidatePod(pod *corev1.Pod) error
- func (v *Validator) ValidatePodDisruptionBudget(pdb *policyv1.PodDisruptionBudget) error
- func (v *Validator) ValidatePodSpec(spec *corev1.PodSpec) error
- func (v *Validator) ValidatePodSpecWithContainer(spec *corev1.PodSpec, container *corev1.Container) error
- func (v *Validator) ValidateRole(role *rbacv1.Role) error
- func (v *Validator) ValidateRoleBinding(roleBinding *rbacv1.RoleBinding) error
- func (v *Validator) ValidateSecret(secret *corev1.Secret) error
- func (v *Validator) ValidateSecretStore(ss *esv1beta1.SecretStore) error
- func (v *Validator) ValidateService(service *corev1.Service) error
- func (v *Validator) ValidateServiceAccount(sa *corev1.ServiceAccount) error
- func (v *Validator) ValidateServicePort(port *corev1.ServicePort) error
- func (v *Validator) ValidateServiceWithPort(service *corev1.Service, port *corev1.ServicePort) error
- func (v *Validator) ValidateStatefulSet(sts *appsv1.StatefulSet) error
- func (v *Validator) ValidateToleration(toleration *corev1.Toleration) error
- func (v *Validator) ValidateVolume(volume *corev1.Volume) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct{}
Validator provides centralized validation for Kubernetes resources and their components.
func (*Validator) ValidateACMEIssuer ¶
func (v *Validator) ValidateACMEIssuer(acme *cmacme.ACMEIssuer) error
func (*Validator) ValidateBFDProfile ¶
func (v *Validator) ValidateBFDProfile(profile *metallbv1beta1.BFDProfile) error
func (*Validator) ValidateBGPAdvertisement ¶
func (v *Validator) ValidateBGPAdvertisement(adv *metallbv1beta1.BGPAdvertisement) error
func (*Validator) ValidateBGPPeer ¶
func (v *Validator) ValidateBGPPeer(peer *metallbv1beta1.BGPPeer) error
func (*Validator) ValidateCertificate ¶
func (v *Validator) ValidateCertificate(cert *certv1.Certificate) error
func (*Validator) ValidateClusterIssuer ¶
func (v *Validator) ValidateClusterIssuer(issuer *certv1.ClusterIssuer) error
func (*Validator) ValidateClusterRole ¶
func (v *Validator) ValidateClusterRole(clusterRole *rbacv1.ClusterRole) error
func (*Validator) ValidateClusterRoleBinding ¶
func (v *Validator) ValidateClusterRoleBinding(clusterRoleBinding *rbacv1.ClusterRoleBinding) error
func (*Validator) ValidateClusterSecretStore ¶
func (v *Validator) ValidateClusterSecretStore(css *esv1beta1.ClusterSecretStore) error
func (*Validator) ValidateConfigMap ¶
func (*Validator) ValidateContainer ¶
func (*Validator) ValidateCronJob ¶
func (*Validator) ValidateDaemonSet ¶
func (*Validator) ValidateDeployment ¶
func (v *Validator) ValidateDeployment(deployment *appsv1.Deployment) error
func (*Validator) ValidateDeploymentWithSpec ¶
func (v *Validator) ValidateDeploymentWithSpec(deployment *appsv1.Deployment, spec *corev1.PodSpec) error
ValidateDeploymentWithSpec validates both deployment and its core spec components
func (*Validator) ValidateEphemeralContainer ¶
func (v *Validator) ValidateEphemeralContainer(container *corev1.EphemeralContainer) error
func (*Validator) ValidateExternalSecret ¶
func (v *Validator) ValidateExternalSecret(es *esv1beta1.ExternalSecret) error
func (*Validator) ValidateFluxInstance ¶
func (v *Validator) ValidateFluxInstance(fi *fluxv1.FluxInstance) error
func (*Validator) ValidateHorizontalPodAutoscaler ¶
func (v *Validator) ValidateHorizontalPodAutoscaler(hpa *autoscalingv2.HorizontalPodAutoscaler) error
func (*Validator) ValidateIPAddressPool ¶
func (v *Validator) ValidateIPAddressPool(pool *metallbv1beta1.IPAddressPool) error
func (*Validator) ValidateImagePullSecret ¶
func (v *Validator) ValidateImagePullSecret(secret *corev1.LocalObjectReference) error
func (*Validator) ValidateIngress ¶
func (v *Validator) ValidateIngress(ingress *networkingv1.Ingress) error
func (*Validator) ValidateInitContainer ¶
func (*Validator) ValidateKustomization ¶
func (v *Validator) ValidateKustomization(k *types.Kustomization) error
func (*Validator) ValidateL2Advertisement ¶
func (v *Validator) ValidateL2Advertisement(adv *metallbv1beta1.L2Advertisement) error
func (*Validator) ValidateNamespace ¶
func (*Validator) ValidatePodDisruptionBudget ¶
func (v *Validator) ValidatePodDisruptionBudget(pdb *policyv1.PodDisruptionBudget) error
func (*Validator) ValidatePodSpecWithContainer ¶
func (v *Validator) ValidatePodSpecWithContainer(spec *corev1.PodSpec, container *corev1.Container) error
ValidatePodSpecWithContainer validates PodSpec and Container together
func (*Validator) ValidateRoleBinding ¶
func (v *Validator) ValidateRoleBinding(roleBinding *rbacv1.RoleBinding) error
func (*Validator) ValidateSecretStore ¶
func (v *Validator) ValidateSecretStore(ss *esv1beta1.SecretStore) error
func (*Validator) ValidateService ¶
func (*Validator) ValidateServiceAccount ¶
func (v *Validator) ValidateServiceAccount(sa *corev1.ServiceAccount) error
func (*Validator) ValidateServicePort ¶
func (v *Validator) ValidateServicePort(port *corev1.ServicePort) error
func (*Validator) ValidateServiceWithPort ¶
func (v *Validator) ValidateServiceWithPort(service *corev1.Service, port *corev1.ServicePort) error
ValidateServiceWithPort validates Service and ServicePort together
func (*Validator) ValidateStatefulSet ¶
func (v *Validator) ValidateStatefulSet(sts *appsv1.StatefulSet) error
func (*Validator) ValidateToleration ¶
func (v *Validator) ValidateToleration(toleration *corev1.Toleration) error
Click to show internal directories.
Click to hide internal directories.