Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for validateClass (0.19 sec)

  1. pkg/registry/resource/resourceclass/strategy.go

    }
    
    func (resourceClassStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	resourceClass := obj.(*resource.ResourceClass)
    	return validation.ValidateClass(resourceClass)
    }
    
    func (resourceClassStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    func (resourceClassStrategy) Canonicalize(obj runtime.Object) {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-discovery/app/options.go

    func secureTLSCipherNames() []string {
    	cipherKeys := sets.New[string]()
    	for _, cipher := range tls.CipherSuites() {
    		cipherKeys.Insert(cipher.Name)
    	}
    	return sets.SortedList(cipherKeys)
    }
    
    func validateFlags(serverArgs *bootstrap.PilotArgs) error {
    	if serverArgs == nil {
    		return nil
    	}
    
    	// If keepaliveMaxServerConnectionAge is negative, istiod crash
    	// https://github.com/istio/istio/issues/27257
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-discovery/app/cmd.go

    			UnknownFlags: true,
    		},
    		PreRunE: func(c *cobra.Command, args []string) error {
    			if err := log.Configure(loggingOptions); err != nil {
    				return err
    			}
    			if err := validateFlags(serverArgs); err != nil {
    				return err
    			}
    			if err := serverArgs.Complete(); err != nil {
    				return err
    			}
    			return nil
    		},
    		RunE: func(c *cobra.Command, args []string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top