Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 123 for someString (0.22 sec)

  1. tests/integration/ambient/main_test.go

    	// Below are various preconfigured echo deployments. Whenever possible, tests should utilize these
    	// to avoid excessive creation/tear down of deployments. In general, a test should only deploy echo if
    	// its doing something unique to that specific test.
    	apps = &EchoDeployments{}
    
    	// used to validate telemetry in-cluster
    	prom prometheus.Instance
    )
    
    type EchoDeployments struct {
    	// Namespace echo apps will be deployed
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepositoryTest.groovy

        def delegate = Mock(ModuleComponentRepositoryAccess)
        def repositoryBlacklister = Mock(RepositoryDisabler)
    
        @Shared
        def runtimeError = new RuntimeException('Something went wrong')
        @Shared
        def socketError = new SocketException()
        @Shared
        def connectTimeout = new SocketTimeoutException()
        @Shared
        def cannotConnect = new HttpHostConnectException(null, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/helper/helpers.go

    			continue
    		}
    
    		return true
    	}
    
    	return false
    }
    
    // AddOrUpdateTolerationInPodSpec tries to add a toleration to the toleration list in PodSpec.
    // Returns true if something was updated, false otherwise.
    func AddOrUpdateTolerationInPodSpec(spec *v1.PodSpec, toleration *v1.Toleration) bool {
    	podTolerations := spec.Tolerations
    
    	var newTolerations []v1.Toleration
    	updated := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/test/framework/test.go

    	// will exit before the parallel children are executed. It should be noted that if the parent test is prevented
    	// from exiting (e.g. parent test is waiting for something to occur within the child test), the test will
    	// deadlock.
    	//
    	// Example:
    	//
    	// func TestParallel(t *testing.T) {
    	//     framework.NewTest(t).
    	//         Run(func(ctx framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    					// diagnostic message. Consider the following example:
    					//
    					//  func _[Mutex interface{ ~sync.Mutex; M() }](m Mutex) {}
    					//
    					// Here the naive error message will be something like "passes lock
    					// by value: Mutex contains sync.Mutex". This is misleading because
    					// the local type parameter doesn't actually contain sync.Mutex,
    					// which lacks the M method.
    					//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/clean/clean.go

    		dir, _ := cache.DefaultDir()
    		if dir != "off" {
    			// Remove the cache subdirectories but not the top cache directory.
    			// The top cache directory may have been created with special permissions
    			// and not something that we want to remove. Also, we'd like to preserve
    			// the access log for future analysis, even if the cache is cleared.
    			subdirs, _ := filepath.Glob(filepath.Join(str.QuoteGlob(dir), "[0-9a-f][0-9a-f]"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    // linker-initialized data. That is, calling New to initialize a global
    // has no cost at program startup.
    func New(name string) *Counter {
    	// Note: not calling defaultFile.New in order to keep this
    	// function something the compiler can inline and convert
    	// into static data initializations, with no init-time footprint.
    	return &Counter{name: name, file: &defaultFile}
    }
    
    // Inc adds 1 to the counter.
    func (c *Counter) Inc() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. 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:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/docker.md

    But it's not possible to have a running container without **at least one running process**. If the main process stops, the container stops.
    
    ## Build a Docker Image for FastAPI
    
    Okay, let's build something now! 🚀
    
    I'll show you how to build a **Docker image** for FastAPI **from scratch**, based on the **official Python** image.
    
    This is what you would want to do in **most cases**, for example:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    		errs = append(errs, err)
    	}
    
    	// Annotate the node with the crisocket information, sourced either from the InitConfiguration struct or
    	// --cri-socket.
    	// TODO: In the future we want to use something more official like NodeStatus or similar for detecting this properly
    	if err := patchnodephase.AnnotateCRISocket(client, cfg.NodeRegistration.Name, cfg.NodeRegistration.CRISocket); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top