Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValidateEgressSelectorConfiguration (0.39 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/egressselector/config.go

    		// we got an error where the decode wasn't related to a missing type
    		return nil, err
    	}
    	return internalConfig, nil
    }
    
    // ValidateEgressSelectorConfiguration checks the apiserver.EgressSelectorConfiguration for
    // common configuration errors. It will return error for problems such as configuring mtls/cert
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/egress_selector.go

    	}
    
    	npConfig, err := egressselector.ReadEgressSelectorConfiguration(o.ConfigFile)
    	if err != nil {
    		return fmt.Errorf("failed to read egress selector config: %v", err)
    	}
    	errs := egressselector.ValidateEgressSelectorConfiguration(npConfig)
    	if len(errs) > 0 {
    		return fmt.Errorf("failed to validate egress selector configuration: %v", errs.ToAggregate())
    	}
    
    	cs, err := egressselector.NewEgressSelector(npConfig)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 01 11:41:59 UTC 2021
    - 3K bytes
    - Viewed (0)
Back to top