Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for capi (4.13 sec)

  1. pkg/apis/certificates/v1beta1/defaults_test.go

    }
    
    var (
    	kubeletClientUsages = []capi.KeyUsage{
    		capi.UsageDigitalSignature,
    		capi.UsageKeyEncipherment,
    		capi.UsageClientAuth,
    	}
    	kubeletClientUsagesNoRSA = []capi.KeyUsage{
    		capi.UsageDigitalSignature,
    		capi.UsageClientAuth,
    	}
    	kubeletClientPEMOptions = pemOptions{
    		cn:  "system:node:nodename",
    		org: "system:nodes",
    	}
    
    	kubeletServerUsages = []capi.KeyUsage{
    		capi.UsageDigitalSignature,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  2. pkg/controller/certificates/signer/signer.go

    func isKubeletServing(req *x509.CertificateRequest, usages []capi.KeyUsage, signerName string) (bool, error) {
    	if signerName != capi.KubeletServingSignerName {
    		return false, nil
    	}
    	return true, capihelper.ValidateKubeletServingCSR(req, usagesToSet(usages))
    }
    
    func isKubeletClient(req *x509.CertificateRequest, usages []capi.KeyUsage, signerName string) (bool, error) {
    	if signerName != capi.KubeAPIServerClientKubeletSignerName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. pkg/controller/certificates/signer/signer_test.go

    			usages:     []capi.KeyUsage{capi.UsageServerAuth, capi.UsageClientAuth, capi.UsageDigitalSignature, capi.UsageKeyEncipherment},
    			approved:   true,
    			verify: func(t *testing.T, as []testclient.Action) {
    				if len(as) != 1 {
    					t.Errorf("expected one Update action but got %d", len(as))
    					return
    				}
    				csr := as[0].(testclient.UpdateAction).GetObject().(*capi.CertificateSigningRequest)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 21:12:04 UTC 2022
    - 15K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_EQ(22, product[3]);
      TF_DeleteStatus(status);
    }
    TEST(CAPI, Executor_MatMul_CPU) { Executor_MatMul_CPU(false); }
    TEST(CAPI, Executor_MatMul_CPUAsync) { Executor_MatMul_CPU(true); }
    
    void Deleter(void* data, size_t unused, void* tensor_handle) {
      TFE_DeleteTensorHandle(static_cast<TFE_TensorHandle*>(tensor_handle));
    }
    
    TEST(CAPI, TensorHandleOnDeviceMemory) {
      TF_Status* status = TF_NewStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_DeleteContext(ctx);
    
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server.release();
    }
    
    TEST(CAPI, RemoteExecuteChangeServerDef) {
      TestRemoteExecuteChangeServerDef(false);
    }
    TEST(CAPI, RemoteExecuteChangeServerDefAsync) {
      TestRemoteExecuteChangeServerDef(true);
    }
    
    void TestRemoteExecuteUpdateServerDef(bool async) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_distributed_test.cc

      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server1.release();
      worker_server2.release();
    }
    
    TEST(CAPI, TestLocalFunctionWithPackedInput) {
      TestFunctionWithPackedInput(/*remote=*/false);
    }
    
    TEST(CAPI, TestRemoteFunctionWithPackedInput) {
      TestFunctionWithPackedInput(/*remote=*/true);
    }
    
    string VariableAddFunctionSignature() {
      return "    signature {"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    			rbacv1helpers.NewRule("approve").Groups(certificatesGroup).Resources("signers").Names(capi.KubeAPIServerClientKubeletSignerName).RuleOrDie(),
    			rbacv1helpers.NewRule("sign").Groups(certificatesGroup).Resources("signers").Names(
    				capi.LegacyUnknownSignerName,
    				capi.KubeAPIServerClientSignerName,
    				capi.KubeAPIServerClientKubeletSignerName,
    				capi.KubeletServingSignerName,
    			).RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package bootstrappolicy
    
    import (
    	capi "k8s.io/api/certificates/v1beta1"
    	rbacv1 "k8s.io/api/rbac/v1"
    	"k8s.io/apimachinery/pkg/api/meta"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/authentication/serviceaccount"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy

                        attribute('custom', 'c1')
                        capability('cap1')
                    }
                    variant('api2') {
                        attribute('custom', 'c2')
                        capability('cap1')
                    }
                    variant('runtime1') {
                        attribute('custom2', 'c1')
                        capability('cap2')
                    }
                    variant('runtime2') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

    #ifndef TENSORFLOW_C_EAGER_C_API_H_
    #define TENSORFLOW_C_EAGER_C_API_H_
    
    // C API extensions to experiment with eager execution of kernels.
    // WARNING: Unlike tensorflow/c/c_api.h, the API here is not guaranteed to be
    // stable and can change without notice.
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_macros.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
Back to top