Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
Back to top