Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for gRPC (0.18 sec)

  1. istioctl/pkg/workload/workload_test.go

    				" --annotations annotation=foobar --ports grpc=3550,http=8080 --serviceAccount test", " "),
    			expectedException: false,
    			expectedOutput:    customYAML,
    		},
    		{
    			description: "valid case - create full workload group with shortnames",
    			args: strings.Split("group create --name foo -n bar -l app=foo,bar=baz -p grpc=3550,http=8080"+
    				" -a annotation=foobar --serviceAccount test", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. istioctl/pkg/multixds/gather.go

    	"net"
    	"net/url"
    	"os"
    	"strings"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	xdsstatus "github.com/envoyproxy/go-control-plane/envoy/service/status/v3"
    	"google.golang.org/grpc"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/xds"
    	pilotxds "istio.io/istio/pilot/pkg/xds"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. istioctl/pkg/internaldebug/internal-debug_test.go

    import (
    	"bytes"
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    	"testing"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"github.com/spf13/cobra"
    	"google.golang.org/grpc"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. istioctl/pkg/cli/mock_client.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package cli
    
    import (
    	"context"
    	"fmt"
    
    	"google.golang.org/grpc/credentials"
    
    	"istio.io/istio/pkg/kube"
    )
    
    type MockPortForwarder struct{}
    
    func (m MockPortForwarder) Start() error {
    	return nil
    }
    
    func (m MockPortForwarder) Address() string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    }
    
    // AddPodToMesh adds a pod to mesh by
    // 1. Getting the netns
    // 2. Adding the pod's IPs to the hostnetns ipsets for node probe checks
    // 3. Creating iptables rules inside the pod's netns
    // 4. Notifying ztunnel via GRPC to create a proxy for the pod
    //
    // You may ask why we pass the pod IPs separately from the pod manifest itself (which contains the pod IPs as a field)
    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)
  6. operator/cmd/mesh/manifest-generate_test.go

    		g.Expect(s).Should(HavePathValueContain(PathValue{"spec.ports.[0]", portVal("grpc-pilot-mtls", 15011, -1)}))
    		g.Expect(s).Should(HavePathValueContain(PathValue{"spec.ports.[1]", portVal("tcp-citadel-grpc-tls", 8060, 8060)}))
    		g.Expect(s).Should(HavePathValueContain(PathValue{"spec.ports.[2]", portVal("tcp-dns", 5353, -1)}))
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    The default output is serialized YAML, which can be piped into 'kubectl apply -f -' to send the artifact to the API Server.`,
    		Example: "  istioctl x workload group create --name foo --namespace bar --labels app=foo,bar=baz " +
    			"--ports grpc=3550,http=8080 --annotations annotation=foobar --serviceAccount sa",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if name == "" {
    				return fmt.Errorf("expecting a workload name")
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. istioctl/pkg/proxystatus/proxystatus_test.go

    import (
    	"bytes"
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    	"testing"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"github.com/spf13/cobra"
    	"google.golang.org/grpc"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    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. istioctl/pkg/describe/describe_test.go

    				Name:     "http",
    				Protocol: corev1.ProtocolTCP,
    			},
    			expectedProtocol: "HTTP",
    		},
    		{
    			port: corev1.ServicePort{
    				Name:     "GRPC-port",
    				Protocol: corev1.ProtocolTCP,
    			},
    			expectedProtocol: "GRPC",
    		},
    		{
    			port: corev1.ServicePort{
    				AppProtocol: &http,
    				Protocol:    corev1.ProtocolTCP,
    			},
    			expectedProtocol: "HTTP",
    		},
    		{
    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