Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 768 for context_a (0.31 sec)

  1. internal/crypto/sse-s3.go

    		if i > 0 && keyID != keyIDs[i-1] {
    			sameKeyID = false
    		}
    	}
    	if sameKeyID {
    		contexts := make([]kms.Context, 0, len(keyIDs))
    		for i := range buckets {
    			contexts = append(contexts, kms.Context{buckets[i]: path.Join(buckets[i], objects[i])})
    		}
    		unsealKeys, err := k.DecryptAll(ctx, keyIDs[0], kmsKeys, contexts)
    		if err != nil {
    			return nil, err
    		}
    		keys := make([]ObjectKey, len(unsealKeys))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/options.go

    		configAccess := clientcmd.NewDefaultPathOptions()
    		configAccess.GlobalFile = o.Kubeconfig
    		if config, err := configAccess.GetStartingConfig(); err == nil {
    			if context, ok := config.Contexts[config.CurrentContext]; ok && context.Namespace != "" {
    				o.Namespace = context.Namespace
    			}
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 01 23:59:49 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret_test.go

      name: {cluster}
    contexts:
    - context:
        cluster: {cluster}
        user: {cluster}
      name: {cluster}
    current-context: {cluster}
    kind: Config
    preferences: {}
    users:
    - name: {cluster}
      user:
        token: token
    `, "{cluster}", fakeClusterName)
    
    	cases := []struct {
    		name               string
    		clusterName        string
    		context            string
    		server             string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  4. .github/workflows/test.yml

      schedule:
        # cron every week on monday
        - cron: "0 0 * * 1"
    
    jobs:
      lint:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
              python-version: "3.11"
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (2)
  5. internal/kms/kms.go

    	// by the key ID. The context must match the context value
    	// used to generate the ciphertext.
    	DecryptKey(keyID string, ciphertext []byte, context Context) ([]byte, error)
    
    	// DecryptAll decrypts all ciphertexts with the key referenced
    	// by the key ID. The contexts must match the context value
    	// used to generate the ciphertexts.
    	DecryptAll(ctx context.Context, keyID string, ciphertext [][]byte, context []Context) ([][]byte, error)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. internal/kms/kes.go

    type Logger interface {
    	LogOnceIf(ctx context.Context, err error, id string, errKind ...interface{})
    	LogIf(ctx context.Context, err error, errKind ...interface{})
    }
    
    // RefreshKey checks the validity of the KMS Master Key
    func (c *kesClient) RefreshKey(ctx context.Context, logger Logger) bool {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	validKey := false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. internal/grid/handlers.go

    func setCaller(ctx context.Context, cl *RemoteClient) context.Context {
    	return context.WithValue(ctx, ctxCallerKey{}, cl)
    }
    
    func setSubroute(ctx context.Context, s string) context.Context {
    	return context.WithValue(ctx, ctxSubrouteKey{}, s)
    }
    
    // StreamTypeHandler is a type safe handler for streaming requests.
    type StreamTypeHandler[Payload, Req, Resp RoundTripper] struct {
    	WithPayload bool
    
    	// Override the default capacities (1)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

    }
    
    // Set server def with timeout.
    TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeout(
        TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len,
        int64_t init_timeout_in_ms, TF_Status* status,
        bool clear_existing_contexts) {
      TFE_ContextSetServerDefWithTimeoutAndRetries(
          ctx, keep_alive_secs, proto, proto_len, init_timeout_in_ms,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  9. istioctl/pkg/multicluster/remote_secret.go

    func remoteSecretNameFromClusterName(clusterName string) string {
    	return remoteSecretPrefix + clusterName
    }
    
    // NewCreateRemoteSecretCommand creates a new command for joining two contexts
    // together in a multi-cluster mesh.
    func NewCreateRemoteSecretCommand(ctx cli.Context) *cobra.Command {
    	opts := RemoteSecretOptions{
    		AuthType:         RemoteSecretAuthTypeBearerToken,
    		AuthPluginConfig: make(map[string]string),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  10. cni/pkg/install/kubeconfig.go

    	}
    
    	const contextName = "istio-cni-context"
    	const clusterName = "local"
    	const userName = "istio-cni"
    	kcfg := &api.Config{
    		Kind:        "Config",
    		APIVersion:  "v1",
    		Preferences: api.Preferences{},
    		Clusters: map[string]*api.Cluster{
    			clusterName: cluster,
    		},
    		AuthInfos: map[string]*api.AuthInfo{
    			userName: {
    				Token: string(token),
    			},
    		},
    		Contexts: map[string]*api.Context{
    			contextName: {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top