Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for proto3 (0.37 sec)

  1. istioctl/pkg/authz/listener.go

    	hcm "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/http_connection_manager/v3"
    	rbactcp "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/rbac/v3"
    	"google.golang.org/protobuf/proto"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/wellknown"
    )
    
    const (
    	anonymousName = "_anonymous_match_nothing_"
    )
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver_test.go

    			Ack: &zdsapi.Ack{},
    		},
    	}
    	data, err := proto.Marshal(ack)
    	if err != nil {
    		panic(err)
    	}
    	err = c.SetWriteDeadline(time.Now().Add(time.Second))
    	if err != nil {
    		panic(err)
    	}
    	c.Write(data)
    }
    
    func sendHello(c *net.UnixConn) {
    	ack := &zdsapi.ZdsHello{
    		Version: zdsapi.Version_V1,
    	}
    	data, err := proto.Marshal(ack)
    	if err != nil {
    		panic(err)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_linux.go

    		return fmt.Errorf("failed to add IP %s with and proto %d to ipset %s: %w", ip, ipProto, name, err)
    	}
    	return nil
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	err := netlink.IpsetDel(name, &netlink.IPSetEntry{
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to delete IP %s with and proto %d from ipset %s: %w", ip, ipProto, name, err)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/cluster.go

    import (
    	"encoding/json"
    	"fmt"
    	"sort"
    	"strings"
    	"text/tabwriter"
    
    	cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/proto"
    	"istio.io/istio/pilot/pkg/model"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/config/host"
    )
    
    // ClusterFilter is used to pass filter information into cluster based config writer print functions
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/kubeinject.go

    			"Use --meshConfigFile or re-run "+command+" with `-i <istioSystemNamespace> and ensure valid MeshConfig exists",
    			meshConfigMapName, ctx.IstioNamespace(), err)
    	}
    	// values in the data are strings, while proto might use a
    	// different data type.  therefore, we have to get a value by a
    	// key
    	configYaml, exists := meshConfigMap.Data[configMapKey]
    	if !exists {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/pilot/status_test.go

    						edsSyncStatus:  status.ConfigStatus_STALE,
    						ecdsSyncStatus: status.ConfigStatus_STALE,
    					},
    				}),
    				"istiod3": xdsResponseInput("istiod3", []clientConfigInput{
    					{
    						proxyID:        "proxy3",
    						clusterID:      "cluster3",
    						version:        "1.20",
    						cdsSyncStatus:  status.ConfigStatus_NOT_SENT,
    						ldsSyncStatus:  status.ConfigStatus_ERROR,
    						rdsSyncStatus:  status.ConfigStatus_NOT_SENT,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. cmd/utils_test.go

    func TestCheckURL(t *testing.T) {
    	testCases := []struct {
    		urlStr     string
    		shouldPass bool
    	}{
    		{"", false},
    		{":", false},
    		{"http://localhost/", true},
    		{"http://127.0.0.1/", true},
    		{"proto://myhostname/path", true},
    	}
    
    	// Validates fetching local address.
    	for i, testCase := range testCases {
    		_, err := checkURL(testCase.urlStr)
    		if testCase.shouldPass && err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. istioctl/pkg/validate/validate.go

    	}
    	schema, exists := collections.Pilot.FindByGroupVersionAliasesKind(gvk)
    	if exists {
    		obj, err := convertObjectFromUnstructured(schema, un, "")
    		if err != nil {
    			return nil, fmt.Errorf("cannot parse proto message: %v", err)
    		}
    		if err = checkFields(un); err != nil {
    			return nil, err
    		}
    
    		// If object to validate has no namespace, set it (the validity of a CR
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	endpoint "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
    	"google.golang.org/protobuf/types/known/anypb"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/proto"
    	"istio.io/istio/pilot/pkg/networking/util"
    )
    
    type EndpointFilter struct {
    	Address string
    	Port    uint32
    	Cluster string
    	Status  string
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. istioctl/pkg/util/proto/messageslice.go

    // limitations under the License.
    
    package proto
    
    import (
    	"bytes"
    
    	"google.golang.org/protobuf/proto"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly
    type MessageSlice []proto.Message
    
    // MarshalJSON handles marshaling of slices of proto messages
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 19 21:53:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
Back to top