Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for createBlob (0.17 sec)

  1. src/internal/coverage/test/roundtrip_test.go

    		}
    		f := coverage.FuncDesc{
    			Funcname: fmt.Sprintf("func_%d_%d", i, fi),
    			Srcfile:  fmt.Sprintf("foo_%d.go", i),
    			Units:    units,
    		}
    		res = append(res, f)
    	}
    	return res
    }
    
    func createBlob(t *testing.T, i int) []byte {
    	nomodule := ""
    	b, err := encodemeta.NewCoverageMetaDataBuilder("foo/pkg", "pkg", nomodule)
    	if err != nil {
    		t.Fatalf("making builder: %v", err)
    	}
    
    	funcs := createFuncs(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:42:05 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/health.go

    		createdJob, err := client.BatchV1().Jobs(ns).Create(context.Background(), job, metav1.CreateOptions{})
    		if err != nil {
    			klog.V(2).Infof("Could not create a Job with the prefix %q in the namespace %q, retrying: %v", prefix, ns, err)
    			lastError = err
    			return false, nil
    		}
    
    		jobName = createdJob.Name
    		return true, nil
    	})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. pkg/controller/cronjob/injection.go

    // created as an interface to allow testing.
    type jobControlInterface interface {
    	// GetJob retrieves a Job.
    	GetJob(namespace, name string) (*batchv1.Job, error)
    	// CreateJob creates new Jobs according to the spec.
    	CreateJob(namespace string, job *batchv1.Job) (*batchv1.Job, error)
    	// DeleteJob deletes the Job identified by name.
    	// TODO: delete by UID?
    	DeleteJob(namespace string, name string) error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 09:37:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            // create and execute a web crawler
            createWebConfig();
            logger.info("WebConfig is created");
            refresh();
            webConfigId = getWebConfigIds(NAME_PREFIX).get(0);
    
            createJob();
            logger.info("Job is created: {}", webConfigId);
            refresh();
    
            startJob(NAME_PREFIX);
    
            waitJob(NAME_PREFIX);
            refresh();
    
            ThreadUtil.sleep(3000);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            crawlLabelId = createCrawlLabel();
    
            createFileConfig();
            logger.info("FileConfig is created");
            refresh();
            fileConfigId = getFileConfigIds(NAME_PREFIX).get(0);
    
            createJob();
            logger.info("Job is created");
            refresh();
    
            startJob(NAME_PREFIX);
    
            waitJob(NAME_PREFIX);
            refresh();
        }
    
        @BeforeEach
        protected void init() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

    public class CrawlTestBase extends ITBase {
        private static final Logger logger = LogManager.getLogger(CrawlTestBase.class);
    
        private static final String DOC_INDEX_NAME = "fess.search";
    
        protected static void createJob(final Map<String, Object> requestBody) {
            checkMethodBase(requestBody).put("/api/admin/scheduler/setting").then().body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. pkg/controller/cronjob/cronjob_controllerv2.go

    	if err != nil {
    		logger.Error(err, "Unable to make Job from template", "cronjob", klog.KObj(cronJob))
    		return nil, updateStatus, err
    	}
    	jobResp, err := jm.jobControl.CreateJob(cronJob.Namespace, jobReq)
    	switch {
    	case errors.HasStatusCause(err, corev1.NamespaceTerminatingCause):
    		// if the namespace is being terminated, we don't have to do
    		// anything because any creation will fail
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.31.md

    - Kubeadm: during the preflight check "CreateJob" of "kubeadm upgrade", check if there are no nodes where a Pod can schedule. If there are none, show a warning and skip this preflight check. This can happen in single node clusters where the only node was drained. ([#124503](https://github.com/...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.30.md

    - Kubeadm: during the preflight check "CreateJob" of "kubeadm upgrade", check if there are no nodes where a Pod can schedule. If there are none, show a warning and skip this preflight check. This can happen in single node clusters where the only node was drained. ([#124570](https://github.com/...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
Back to top