Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 159 for elseif (0.15 sec)

  1. cni/pkg/repair/repaircontroller.go

    	if !c.matchesFilter(pod) {
    		return // Skip, pod doesn't need repair
    	}
    	repairLog.Debugf("Reconciling pod %s", pod.Name)
    
    	if c.cfg.RepairPods {
    		return c.repairPod(pod)
    	} else if c.cfg.DeletePods {
    		return c.deleteBrokenPod(pod)
    	} else if c.cfg.LabelPods {
    		return c.labelBrokenPod(pod)
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/util.go

    	// is to check whether the inline bytes of the cert chain or the trusted ca field is zero length
    	if len(certChainSecret) > 0 {
    		builder.Data(string(certChainSecret))
    	} else if len(caDataSecret) > 0 {
    		builder.Data(string(caDataSecret))
    	}
    
    	secret, err := builder.Build()
    	if err != nil {
    		return SecretItem{}, fmt.Errorf("error building secret: %v", err)
    	}
    
    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)
  3. istioctl/pkg/util/testutil/util.go

    	}
    
    	if c.WantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.Args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception for 'istioctl %s': %v", strings.Join(c.Args, " "), fErr)
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. cni/pkg/install/install_test.go

    			if len(c.invalidConfigFilename) > 0 {
    				if err := file.AtomicCopy(filepath.Join("testdata", c.invalidConfigFilename), tempDir, c.cniConfigFilename); err != nil {
    					t.Fatal(err)
    				}
    			} else {
    				if err := os.Remove(cniConfigFilepath); err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			select {
    			case err := <-errChan:
    				if err != nil {
    					// An invalid configuration should return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. istioctl/pkg/xds/google.go

    			if _, ok := dst[k]; ok {
    				return fmt.Errorf("underlying %s credentials contain a %s header which is already present in the combined credentials", kind, k)
    			}
    			dst[k] = v
    		} else {
    			dst[dstHdr] = v
    		}
    	}
    	return nil
    }
    
    type hubMembership struct {
    	WorkloadIdentityPool string
    }
    
    func getHubMembership(ctx context.Context, exClient kube.CLIClient) (*hubMembership, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/revision.go

    		if revPresent {
    			if tagLabel != "" {
    				ri.Webhooks = append(ri.Webhooks, &MutatingWebhookConfigInfo{
    					Name:     hook.Name,
    					Revision: rev,
    					Tag:      tagLabel,
    				})
    			}
    		} else {
    			revisions[rev] = &RevisionDescription{
    				IstioOperatorCRs: []*IstioOperatorCRInfo{},
    				Webhooks:         []*MutatingWebhookConfigInfo{{Name: hook.Name, Revision: rev, Tag: tagLabel}},
    			}
    		}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

    Next steps:
    {{- if (eq .Values.profile "ambient") }}
      * Get started with ambient: https://istio.io/latest/docs/ops/ambient/getting-started/
      * Review ambient's architecture: https://istio.io/latest/docs/ops/ambient/architecture/
    {{- else }}
      * Deploy a Gateway: https://istio.io/latest/docs/setup/additional-setup/gateway/
      * Try out our tasks to get started on common configurations:
        * https://istio.io/latest/docs/tasks/traffic-management
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 16:38:47 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. istioctl/pkg/proxystatus/proxystatus_test.go

    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception for 'istioctl %s': %v", strings.Join(c.args, " "), fErr)
    		}
    	}
    }
    
    func init() {
    	cli.MakeKubeFactory = func(k kube.CLIClient) cmdutil.Factory {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/values.yaml

        # Variant of the image to use.
        # Currently supported are: [debug, distroless]
        variant: ""
    
        # Specify image pull policy if default behavior isn't desired.
        # Default behavior: latest images will be Always else IfNotPresent.
        imagePullPolicy: ""
    
        # ImagePullSecrets for all ServiceAccount, list of secrets in the same namespace
        # to use for pulling any images in pods that reference this ServiceAccount.
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.3K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe_test.go

    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception for 'istioctl %s': %v", strings.Join(c.args, " "), fErr)
    		}
    	}
    }
    
    func TestGetIstioVirtualServicePathForSvcFromRoute(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top