Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for checkCmd (0.33 sec)

  1. istioctl/pkg/authz/authz.go

    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    var configDumpFile string
    
    func checkCmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "check [<type>/]<name>[.<namespace>]",
    		Short: "Check AuthorizationPolicy applied in the pod.",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/authz_test.go

    			ExpectedOutput: `ACTION   AuthorizationPolicy         RULES
    ALLOW    _anonymous_match_nothing_   1
    ALLOW    httpbin.default             1
    `,
    		},
    	}
    
    	authzCmd := checkCmd(cli.NewFakeContext(&cli.NewFakeContextOption{}))
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, authzCmd, c)
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

      // valid against the audience of the Kubernetes API server.
      // +optional
      repeated string audiences = 4;
    
      // Error indicates that the token couldn't be checked
      // +optional
      optional string error = 3;
    }
    
    // UserInfo holds the information about the user needed to implement the
    // user.Info interface.
    message UserInfo {
    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)
  4. istioctl/pkg/writer/pilot/status.go

    				listenerStatus:        lds,
    				routeStatus:           rds,
    				endpointStatus:        eds,
    				extensionconfigStatus: ecds,
    			})
    			if len(fullStatus) == 0 {
    				return nil, nil, fmt.Errorf("no proxies found (checked %d istiods)", len(drs))
    			}
    
    			sort.Slice(fullStatus, func(i, j int) bool {
    				return fullStatus[i].proxyID < fullStatus[j].proxyID
    			})
    		}
    	}
    	if len(mappedResp) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/authentication/v1/generated.proto

      // valid against the audience of the Kubernetes API server.
      // +optional
      repeated string audiences = 4;
    
      // Error indicates that the token couldn't be checked
      // +optional
      optional string error = 3;
    }
    
    // UserInfo holds the information about the user needed to implement the
    // user.Info interface.
    message UserInfo {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-generate.go

    	_ = cmd.PersistentFlags().MarkHidden("filter")
    
    	cmd.PersistentFlags().BoolVar(&args.EnableClusterSpecific, "cluster-specific", false,
    		"If enabled, the current cluster will be checked for cluster-specific setting detection.")
    }
    
    func ManifestGenerateCmd(ctx cli.Context, rootArgs *RootArgs, mgArgs *ManifestGenerateArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "generate",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher.go

    	log := log.WithLabels("cni-event", addCmd)
    
    	log.Debugf("netns: %s", addCmd.Netns)
    
    	// The CNI node plugin should have already checked the pod against the k8s API before forwarding us the event,
    	// but we have to invoke the K8S client anyway, so to be safe we check it again here to make sure we get the same result.
    	maxStaleRetries := 10
    	msInterval := 10
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top