Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for around (0.17 sec)

  1. istioctl/pkg/util/configdump/wrapper.go

    		msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}
    		return msg.ProtoReflect().Type(), nil
    	}
    	return typ, nil
    }
    
    // Wrapper is a wrapper around the Envoy ConfigDump
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    type Wrapper struct {
    	*admin.ConfigDump
    }
    
    // UnmarshalJSON is a custom unmarshaller to handle protobuf pain
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/util.go

    }
    
    // DeactivateIstioInjectionWebhook deactivates the istio-injection webhook from the given MutatingWebhookConfiguration if exists.
    // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
    // switch back to it. This is a hack but it is meant to cover a corner case where a user wants to migrate from a non-revisioned
    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)
  3. cni/pkg/nodeagent/informers.go

    		s.queue.Add(o)
    	}))
    
    	// Namespaces could be anything though, so we watch all of those
    	//
    	// NOTE that we are requeueing namespaces here explicitly to work around
    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    	// because we are using `List()` in the handler, without this requeue,
    	// the fake client will sometimes drop pod events leading to test flakes.
    	//
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. istioctl/pkg/util/clusters/wrapper.go

    // limitations under the License.
    
    package clusters
    
    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // Wrapper is a wrapper around the Envoy Clusters
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    type Wrapper struct {
    	*admin.Clusters
    }
    
    // MarshalJSON is a custom marshaller to handle protobuf pain
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  5. istioctl/pkg/util/formatting/msg_threshold.go

    // limitations under the License.
    
    package formatting
    
    import (
    	"errors"
    	"strings"
    
    	"istio.io/istio/pkg/config/analysis/diag"
    )
    
    // MessageThreshold is a wrapper around Level to be used as a cobra command line argument.
    // It should satisfy the pflag.Value interface.
    type MessageThreshold struct {
    	diag.Level
    }
    
    // String is a function declared in the pflag.Value interface
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 17 12:28:05 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  6. istioctl/pkg/cli/kubectl_factory.go

    }
    
    var _ util.Factory = Factory{}
    
    // MakeKubeFactory turns a partial kubetl factory from CLIClient into a full util.Factory
    // This is done under istioctl/ to avoid excessive binary bloat in other packages; this pulls in around 10mb of
    // dependencies.
    var MakeKubeFactory = func(k kube.CLIClient) util.Factory {
    	kf := k.UtilFactory()
    	return Factory{
    		PartialFactory: kf,
    		full:           util.NewFactory(kf),
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. cni/pkg/plugin/sidecar_redirect.go

    			"kubevirtInterfaces", isFound, valErr)
    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_META_DNS_CAPTURE"]; found {
    		// parse and set the bool value of dnsRedirect
    		redir.dnsRedirect, valErr = strconv.ParseBool(v)
    		if valErr != nil {
    			log.Warnf("cannot parse DNS capture environment variable %v", valErr)
    		}
    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_DUAL_STACK"]; found {
    		// parse and set the bool value of dnsRedirect
    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)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    	if l.Address != "" {
    		addresses := retrieveListenerAdditionalAddresses(listener)
    		addresses = append(addresses, retrieveListenerAddress(listener))
    		found := false
    		for _, address := range addresses {
    			if strings.EqualFold(address, l.Address) {
    				found = true
    			}
    		}
    		if !found {
    			return false
    		}
    	}
    	if l.Port != 0 && retrieveListenerPort(listener) != l.Port {
    		return false
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/podcgroupns_test.go

    			},
    			expectPodUID:      "",
    			expectContainerID: "",
    			expectMsg:         "multiple container IDs found in cgroups (9bca8d63d5fa610783847915bcff0ecac1273e5b4bed3f6fa1b07350e0135961, a55d9ac3b312d8a2627824b6d6dd8af66fbec439bf4e0ec22d6d9945ad337a38)",
    		},
    		{
    			name: "more than one pod UID in cgroups",
    			cgroupPaths: []string{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. cni/pkg/repair/netns.go

    		&netlink.Route{Dst: &net.IPNet{IP: net.ParseIP(ip), Mask: net.CIDRMask(32, 32)}},
    		netlink.RT_FILTER_DST)
    	if err != nil {
    		return nil, err
    	}
    
    	if len(routes) == 0 {
    		return nil, fmt.Errorf("no routes found for %s", ip)
    	}
    
    	linkIndex := routes[0].LinkIndex
    	return netlink.LinkByIndex(linkIndex)
    }
    
    // getPodNetNs finds the network namespace for a given pod. There is not a great way to do this. Network namespaces live
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top