Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 184 for tool (0.13 sec)

  1. istioctl/pkg/util/testutil/util.go

    	ExpectedOutput string         // Expected constant output
    	ExpectedRegexp *regexp.Regexp // Expected regexp output
    	GoldenFilename string         // Expected output stored in golden file
    
    	WantException bool
    }
    
    func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) {
    	t.Helper()
    
    	cmd.SetArgs(c.Args)
    
    	var out bytes.Buffer
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      optional k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;
    
      // DryRun indicates that modifications will definitely not be persisted for this request.
      // Defaults to false.
      // +optional
      optional bool dryRun = 11;
    
      // Options is the operation option structure of the operation being performed.
      // e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/ecds.go

    		err := config.GetEcdsFilter().UnmarshalTo(c)
    		if err != nil {
    			return nil, fmt.Errorf("failed to retrieve TypedExtensionConfig: %v", err)
    		}
    
    		ecds = append(ecds, c)
    	}
    
    	sort.Slice(ecds, func(i, j int) bool {
    		if ecds[i].GetTypedConfig().GetTypeUrl() == ecds[j].GetTypedConfig().GetTypeUrl() {
    			return ecds[i].GetName() < ecds[j].GetName()
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/services.go

    type ServiceFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *ServiceFilter) Verify(svc *ZtunnelService) bool {
    	if wf.Namespace != "" {
    		if !strings.EqualFold(svc.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    	return true
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/scheduling/v1beta1/generated.proto

      // one PriorityClasses exists with their `globalDefault` field set to true,
      // the smallest value of such global default PriorityClasses will be used as the default priority.
      // +optional
      optional bool globalDefault = 3;
    
      // description is an arbitrary string that usually provides guidelines on
      // when this priority class should be used.
      // +optional
      optional string description = 4;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/generate_test.go

    	tcs := []struct {
    		name           string
    		istioNamespace string
    		webhook        admitv1.MutatingWebhookConfiguration
    		whURL          string
    		whSVC          string
    		whCA           string
    		userManaged    bool
    	}{
    		{
    			name:           "webhook-pointing-to-service",
    			istioNamespace: "istio-system",
    			webhook:        revisionCanonicalWebhook,
    			whURL:          "",
    			whSVC:          "istiod-revision",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  7. cni/pkg/iptables/iptables_linux.go

    		//
    		// Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
    		// A very similar mechanism is used for sidecar TPROXY.
    		//
    		// TODO largely identical/copied from tools/istio-iptables/pkg/capture/run_linux.go
    		inpodMarkRule := netlink.NewRule()
    		inpodMarkRule.Family = family
    		inpodMarkRule.Table = RouteTableInbound
    		inpodMarkRule.Mark = InpodTProxyMark
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener_test.go

    	"istio.io/istio/pkg/wellknown"
    )
    
    func TestListenerFilter_Verify(t *testing.T) {
    	tests := []struct {
    		desc       string
    		inFilter   *ListenerFilter
    		inListener *listener.Listener
    		expect     bool
    	}{
    		{
    			desc: "filter-fields-empty",
    			inFilter: &ListenerFilter{
    				Address: "",
    				Port:    0,
    				Type:    "",
    			},
    			inListener: &listener.Listener{},
    			expect:     true,
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/util.go

    // whether to make an installation the default.
    func PreviousInstallExists(ctx context.Context, client kubernetes.Interface) bool {
    	mwhs, err := client.AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{
    		LabelSelector: "app=sidecar-injector",
    	})
    	if err != nil {
    		return false
    	}
    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)
  10. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

    }
    
    // TokenReviewStatus is the result of the token authentication request.
    message TokenReviewStatus {
      // Authenticated indicates that the token was associated with a known user.
      // +optional
      optional bool authenticated = 1;
    
      // User is the UserInfo associated with the provided token.
      // +optional
      optional UserInfo user = 2;
    
      // Audiences are audience identifiers chosen by the authenticator that are
    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)
Back to top