Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ctb2 (0.04 sec)

  1. src/internal/trace/testdata/testprog/annotations-stress.go

    	}
    	t1.End()
    
    	// Create a task that starts during the trace and ends after.
    	ctx2, t2 := trace.NewTask(ctx0, "type2")
    
    	// Create a task that starts and ends during the trace.
    	ctx3, t3 := trace.NewTask(baseCtx, "type3")
    
    	// Generate some events.
    	for i := 0; i < 2; i++ {
    		do(baseCtx, 4)
    		do(ctx0, 2)
    		do(ctx1, 3)
    		do(ctx2, 6)
    		do(ctx3, 5)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. pkg/volume/testing/volume_host.go

    func (f *fakeKubeletVolumeHost) GetTrustAnchorsByName(name string, allowMissing bool) ([]byte, error) {
    	ctb, err := f.kubeClient.CertificatesV1alpha1().ClusterTrustBundles().Get(context.Background(), name, metav1.GetOptions{})
    	if err != nil {
    		return nil, fmt.Errorf("while getting ClusterTrustBundle %s: %w", name, err)
    	}
    
    	return []byte(ctb.Spec.TrustBundle), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set.go

    // an uncached quorum read sometime after listing Pods/ControllerRevisions (see #42639).
    func (ssc *StatefulSetController) canAdoptFunc(ctx context.Context, set *apps.StatefulSet) func(ctx2 context.Context) error {
    	return controller.RecheckDeletionTimestamp(func(ctx context.Context) (metav1.Object, error) {
    		fresh, err := ssc.kubeClient.AppsV1().StatefulSets(set.Namespace).Get(ctx, set.Name, metav1.GetOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. pkg/api/pod/util_test.go

    		oldPod                              *api.PodSpec
    		newPod                              *api.PodSpec
    		wantPod                             *api.PodSpec
    	}{
    		{
    			description: "feature gate disabled, cannot add CTB volume to pod",
    			oldPod: &api.PodSpec{
    				Volumes: []api.Volume{},
    			},
    			newPod: &api.PodSpec{
    				Volumes: []api.Volume{
    					{
    						Name: "foo",
    						VolumeSource: api.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. pkg/apis/core/validation/validation_test.go

    									Path:              "foo-path",
    								},
    							}},
    						},
    					},
    				}},
    			},
    		},
    		"valid ClusterTrustBundlePEM projected volume referring to a CTB by name": {
    			ObjectMeta: metav1.ObjectMeta{Name: "valid-extended", Namespace: "ns"},
    			Spec: core.PodSpec{
    				ServiceAccountName: "some-service-account",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top