Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for black (0.14 sec)

  1. istioctl/pkg/writer/compare/sds/util.go

    	}
    
    	return secret, nil
    }
    
    func secretMetaFromCert(rawCert []byte) (SecretMeta, error) {
    	block, _ := pem.Decode(rawCert)
    	if block == nil {
    		return SecretMeta{}, fmt.Errorf("failed to parse certificate PEM")
    	}
    	cert, err := x509.ParseCertificate(block.Bytes)
    	if err != nil {
    		return SecretMeta{}, err
    	}
    	var certType string
    	if cert.IsCA {
    		certType = "CA"
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/util.go

    // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
    // switch back to it. This is a hack but it is meant to cover a corner case where a user wants to migrate from a non-revisioned
    // old version and then later decides to switch back to the old revision again.
    func DeactivateIstioInjectionWebhook(ctx context.Context, client kubernetes.Interface) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  3. istioctl/pkg/cli/context_test.go

    // limitations under the License.
    
    package cli
    
    import "testing"
    
    func Test_handleNamespace(t *testing.T) {
    	ns := handleNamespace("test", "default")
    	if ns != "test" {
    		t.Fatalf("Get the incorrect namespace: %q back", ns)
    	}
    
    	tests := []struct {
    		description      string
    		namespace        string
    		defaultNamespace string
    		wantNamespace    string
    	}{
    		{
    			description:      "return test namespace",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

      // Status is filled in by the server with the user attributes.
      optional SelfSubjectReviewStatus status = 2;
    }
    
    // SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
    message SelfSubjectReviewStatus {
      // User attributes of the user making this request.
      // +optional
      optional k8s.io.api.authentication.v1.UserInfo userInfo = 1;
    }
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. common/Makefile.common.mk

    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    # Copyright Istio Authors
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/netns_linux.go

    		defer threadNS.Close()
    
    		// switch to target namespace
    		if err = NetnsSet(fdable); err != nil {
    			return err
    		}
    		defer func() {
    			err := threadNS.Set() // switch back
    			if err == nil {
    				// Unlock the current thread only when we successfully switched back
    				// to the original namespace; otherwise leave the thread locked which
    				// will force the runtime to scrap the current thread, that is maybe
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. common/config/.hadolint.yml

    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    ignored:
      - DL3008
      - DL3059
    
    trustedRegistries:
      - gcr.io
      - docker.io
      - quay.io
      - "*.pkg.dev"
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:07 GMT 2024
    - 500 bytes
    - Viewed (0)
  8. common/config/.yamllint.yml

    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    rules:
      braces: disable
      brackets: disable
      colons: enable
      commas: disable
      comments: disable
      comments-indentation: disable
      document-end: disable
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Sep 30 23:53:31 GMT 2020
    - 863 bytes
    - Viewed (1)
  9. common/scripts/lint_go.sh

    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    # Copyright Istio Authors
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 26 21:57:53 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  10. common/config/.golangci-format.yml

    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    run:
      # Timeout for analysis, e.g. 30s, 5m.
      # Default: 1m
      timeout: 20m
      build-tags:
      - integ
      - integfuzz
    linters:
      disable-all: true
      enable:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 05 03:02:37 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top