Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Peal (0.21 sec)

  1. istioctl/pkg/authz/authz.go

    	}
    	return envoyConfig, nil
    }
    
    // AuthZ groups commands used for inspecting and interacting the authorization policy.
    // Note: this is still under active development and is not ready for real use.
    func AuthZ(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "authz",
    		Short: "Inspect Istio AuthorizationPolicy",
    	}
    
    	cmd.AddCommand(checkCmd(ctx))
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/analyzer.go

    // in the mesh. It aims to increase the debuggability and observability of auth policies.
    // Note: this is still under active development and is not ready for real use.
    package authz
    
    import (
    	"fmt"
    	"io"
    
    	envoy_admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Jul 13 01:59:17 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  3. cni/pkg/pluginlistener/listener.go

    	}
    
    	// Attempt to create the folder in case it doesn't exist
    	if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil {
    		// If we cannot create it, just warn here - we will fail later if there is a real error
    		log.Warnf("Failed to create directory for %v: %v", path, err)
    	}
    
    	var err error
    	listener, err := net.Listen("unix", path)
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. cni/pkg/plugin/cnieventclient_test.go

    		Interface: &fakeIDX,
    		Address: net.IPNet{
    			IP: fakeIP,
    		},
    		Gateway: fakeGW,
    	}
    )
    
    func TestPushCNIAddEventSucceed(t *testing.T) {
    	// Fake out a test HTTP server and use that instead of a real HTTP server over gRPC to validate  req/resp flows
    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. istioctl/pkg/wait/wait_test.go

    				ns := action.GetNamespace()
    				watch, err := fc.Tracker().Watch(gvr, ns)
    				if err != nil {
    					return false, nil, err
    				}
    				// Kubernetes Fake watches do not add initial state, but real server does
    				// https://kubernetes.io/docs/reference/using-api/api-concepts/#semantics-for-watch
    				// Tracking in https://github.com/kubernetes/kubernetes/issues/123109
    				gvk := gvk.MustFromGVR(gvr).Kubernetes()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    		return err
    	}
    
    	serviceAccount := wg.Spec.Template.ServiceAccount
    	tokenPath := filepath.Join(dir, "istio-token")
    	token := &authenticationv1.TokenRequest{
    		// ObjectMeta isn't required in real k8s, but needed for tests
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      serviceAccount,
    			Namespace: wg.Namespace,
    		},
    		Spec: authenticationv1.TokenRequestSpec{
    			Audiences:         []string{"istio-ca"},
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top