Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Case (0.15 sec)

  1. cni/pkg/install/install.go

    		return nil
    	}
    
    	// If a file we are watching has a change event, yield and let caller check validity
    	select {
    	case <-watcher.Events:
    		// Something changed, and we must yield
    		return nil
    	case err := <-watcher.Errors:
    		// We had a watch error - that's no good
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    	default:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. operator/cmd/mesh/install.go

    	}
    	return iop.Spec.Profile, constants.IstioSystemNamespace, enabledComponents, nil
    }
    
    func humanReadableJoin(ss []string) string {
    	switch len(ss) {
    	case 0:
    		return ""
    	case 1:
    		return ss[0]
    	case 2:
    		return ss[0] + " and " + ss[1]
    	default:
    		return strings.Join(ss[:len(ss)-1], ", ") + ", and " + ss[len(ss)-1]
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
Back to top