Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 339 for capi (0.03 sec)

  1. pkg/test/csrctrl/authority/policies.go

    	capi.UsageCRLSign:           x509.KeyUsageCRLSign,
    	capi.UsageEncipherOnly:      x509.KeyUsageEncipherOnly,
    	capi.UsageDecipherOnly:      x509.KeyUsageDecipherOnly,
    }
    
    var extKeyUsageDict = map[capi.KeyUsage]x509.ExtKeyUsage{
    	capi.UsageAny:             x509.ExtKeyUsageAny,
    	capi.UsageServerAuth:      x509.ExtKeyUsageServerAuth,
    	capi.UsageClientAuth:      x509.ExtKeyUsageClientAuth,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 03 17:06:22 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  2. pkg/controller/certificates/authority/policies.go

    	capi.UsageCRLSign:           x509.KeyUsageCRLSign,
    	capi.UsageEncipherOnly:      x509.KeyUsageEncipherOnly,
    	capi.UsageDecipherOnly:      x509.KeyUsageDecipherOnly,
    }
    
    var extKeyUsageDict = map[capi.KeyUsage]x509.ExtKeyUsage{
    	capi.UsageAny:             x509.ExtKeyUsageAny,
    	capi.UsageServerAuth:      x509.ExtKeyUsageServerAuth,
    	capi.UsageClientAuth:      x509.ExtKeyUsageClientAuth,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  3. pkg/controller/certificates/cleaner/cleaner_test.go

    		created         metav1.Time
    		certificate     []byte
    		conditions      []capi.CertificateSigningRequestCondition
    		expectedActions []string
    	}{
    		{
    			"no delete approved not passed deadline",
    			metav1.NewTime(time.Now().Add(-1 * time.Minute)),
    			[]byte(unexpiredCert),
    			[]capi.CertificateSigningRequestCondition{
    				{
    					Type:           capi.CertificateApproved,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 07 15:19:45 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  4. pkg/controller/certificates/approver/sarapprove_test.go

    	for _, c := range cases {
    		b := csrBuilder{
    			signerName: capi.KubeAPIServerClientKubeletSignerName,
    			cn:         "system:node:foo",
    			orgs:       []string{"system:nodes"},
    			requestor:  "system:node:foo",
    			usages: []capi.KeyUsage{
    				capi.UsageKeyEncipherment,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 21:12:04 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. pkg/controller/certificates/approver/sarapprove.go

    }
    
    func appendApprovalCondition(csr *capi.CertificateSigningRequest, message string) {
    	csr.Status.Conditions = append(csr.Status.Conditions, capi.CertificateSigningRequestCondition{
    		Type:    capi.CertificateApproved,
    		Status:  corev1.ConditionTrue,
    		Reason:  "AutoApproved",
    		Message: message,
    	})
    }
    
    func isNodeClientCert(csr *capi.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 16:03:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. pkg/controller/certificates/cleaner/cleaner.go

    // expiration of the certificate (the NotAfter value) has passed.
    func isIssuedExpired(logger klog.Logger, csr *capi.CertificateSigningRequest) bool {
    	for _, c := range csr.Status.Conditions {
    		if c.Type == capi.CertificateApproved && isIssued(csr) && isExpired(csr) {
    			logger.Info("Cleaning CSR as the associated certificate is expired.", "csr", csr.Name)
    			return true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental_reader_test.cc

                           int64_t delta = 1);
    
    TEST(CAPI, MonitoringCellReader0) {
      auto counter_name = "test/counter0";
      auto* counter = CreateCounter0(counter_name);
      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
      IncrementCounter0(counter);
    
      int64_t actual = TFE_MonitoringReadCounter0(reader);
    
      CHECK_EQ(actual, 1);
    }
    
    TEST(CAPI, MonitoringCellReader1) {
      auto counter_name = "test/counter1";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. pkg/test/csrctrl/signer/signer.go

    // limitations under the License.
    
    // Package signer implements a CA signer that uses keys stored on local disk.
    package signer
    
    import (
    	"bytes"
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"time"
    
    	capi "k8s.io/api/certificates/v1"
    
    	"istio.io/istio/pkg/test/csrctrl/authority"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    type Signer struct {
    	caProvider *caProvider
    	CertTTL    time.Duration
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 03 18:57:19 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyCapabilitiesResolveIntegrationTest.groovy

                        compositeSubstitute()
                        variant(expectedVariant, ['org.gradle.usage': 'java-api'])
                        artifact(name: expectedVariant)
                    }
                }
            }
    
            where:
            capability | expectedVariant
            'cap1'     | 'first'
            'cap2'     | 'second'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 01 20:36:42 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. pkg/registry/rbac/helpers_test.go

    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	kapi "k8s.io/kubernetes/pkg/apis/core"
    	kapihelper "k8s.io/kubernetes/pkg/apis/core/helper"
    
    	fuzz "github.com/google/gofuzz"
    )
    
    func newPod() *kapi.Pod {
    	return &kapi.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Annotations:     map[string]string{},
    			Name:            "foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 4.7K bytes
    - Viewed (0)
Back to top