Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for So (0.18 sec)

  1. istioctl/cmd/options.go

    	"log_caller":           true,
    	"log_output_level":     true,
    	// istioctl also inherits support for log_rotate, log_rotate_max_age, log_rotate_max_backups,
    	// log_rotate_max_size, but these are rarely appropriate for a user-facing CLI so we ignore them
    }
    
    func optionsCommand(rootCmd *cobra.Command) *cobra.Command {
    	retval := &cobra.Command{
    		Use:   "options",
    		Short: "Displays istioctl global options",
    		Args:  cobra.ExactArgs(0),
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    	log.Debug("notifying subscribed node proxies")
    	if err := s.sendPodToZtunnelAndWaitForAck(ctx, pod, openNetns); err != nil {
    		// we must return PartialAdd error here. the pod was injected with iptables rules,
    		// so it should be annotated, so if it is removed from the mesh, the rules will be removed.
    		// alternatively, we may not return an error at all, but we want this to fail on tests.
    		return NewErrPartialAdd(err)
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  3. operator/cmd/mesh/profile-diff_test.go

    			// This is just one of the many differences
    			expectedString: "+    profile: openshift",
    			// The profile doesn't change istiocoredns, so we shouldn't see this in the diff
    			notExpected: "-    istiocoredns:",
    			// 'profile diff' "fails" so that the error level `$?` is 1, not 0, if there is a diff
    			shouldFail: false,
    		},
    	}
    
    	l := clog.NewConsoleLogger(os.Stdout, os.Stderr, nil)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  4. cni/pkg/nodeagent/server_test.go

    		fakeCtx,
    		pod,
    	).Return(nil)
    
    	fakeClientSet := fake.NewSimpleClientset()
    	m := meshDataplane{
    		kubeClient: fakeClientSet,
    		netServer:  server,
    	}
    
    	// pod is not in fake client, so if this will try to remove annotation, it will fail.
    	err := m.DelPodFromMesh(fakeCtx, pod)
    	assert.NoError(t, err)
    }
    
    func TestMeshDataplaneDelPodErrorDoesntPatchPod(t *testing.T) {
    	pod := podWithAnnotation()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache.go

    }
    
    // Remove and return the Netns for the given uid
    // No need to return NetnsCloser here it will be closed automatically on GC.
    // (it may be used in parallel by other parts of the code, so we want it to be used only when not used)
    func (p *podNetnsCache) Take(uid string) Netns {
    	// lock current pod map
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	if ns, ok := p.currentPodCache[uid]; ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. istioctl/pkg/internaldebug/internal-debug.go

    	Namespace              string
    	InternalDebugAllIstiod bool
    }
    
    func (s *DebugWriter) PrintAll(drs map[string]*discovery.DiscoveryResponse) error {
    	// Gather the statuses before printing so they may be sorted
    	mappedResp := map[string]string{}
    	for id, dr := range drs {
    		for _, resource := range dr.Resources {
    			if s.InternalDebugAllIstiod {
    				mappedResp[id] = string(resource.Value) + "\n"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. istioctl/pkg/util/handlers/handlers.go

    	if idx := strings.LastIndex(name, "/"); idx > 0 {
    		// If there is a / in it, we need to handle differently. This is resourcetype/name.namespace.
    		// However, resourcetype can have . in it as well, so we should only look for namespace after the /.
    		separator := strings.LastIndex(name[idx:], ".")
    		if separator < 0 {
    			return name, namespace
    		}
    
    		return name[0 : idx+separator], name[idx+separator+1:]
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/server.go

    // Note that if the ipset already exist by name, Create will not return an error.
    //
    // We will unconditionally flush our set before use here, so it shouldn't matter.
    func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) {
    	linDeps := ipset.RealNlDeps()
    	probeSet, err := ipset.NewIPSet(iptables.ProbeIPSet, isV6, linDeps)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. cni/pkg/plugin/sidecar_redirect.go

    		if err := annotationRegistry[name].validator(val); err != nil {
    			return true, annotationRegistry[name].defaultVal, err
    		}
    		return true, val, nil
    	}
    	// no annotation found so use default value
    	return false, annotationRegistry[name].defaultVal, nil
    }
    
    // NewRedirect returns a new Redirect Object constructed from a list of ports and annotations
    func NewRedirect(pi *PodInfo) (*Redirect, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest_shared_test.go

    	// istioctl install
    	cmdApply cmdType = "istioctl install"
    	// in-cluster controller
    	cmdController cmdType = "operator controller"
    )
    
    // Golden output files add a lot of noise to pull requests. Use a unique suffix so
    // we can hide them by default. This should match one of the `linuguist-generated=true`
    // lines in istio.io/istio/.gitattributes.
    const (
    	goldenFileSuffixHideChangesInReview = ".golden.yaml"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
Back to top