Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for service (0.28 sec)

  1. istioctl/pkg/completion/completion.go

    	serviceList, err := client.Kube().CoreV1().Services(ns).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	var serviceNameList []string
    	for _, service := range serviceList.Items {
    		if toComplete == "" || strings.HasPrefix(service.Name, toComplete) {
    			serviceNameList = append(serviceNameList, service.Name)
    		}
    	}
    
    	return serviceNameList, nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. cni/pkg/install/kubeconfig_test.go

    		k8sServiceHost     string
    		k8sServicePort     string
    		kubeCAFilepath     string
    		skipTLSVerify      bool
    	}{
    		{
    			name:            "k8s service host not set",
    			expectedFailure: true,
    		},
    		{
    			name:            "k8s service port not set",
    			expectedFailure: true,
    			k8sServiceHost:  k8sServiceHost,
    		},
    		{
    			name:           "skip TLS verify",
    			k8sServiceHost: k8sServiceHost,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/pilot/status.go

    package pilot
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"sort"
    	"text/tabwriter"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	xdsstatus "github.com/envoyproxy/go-control-plane/envoy/service/status/v3"
    
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/pilot/pkg/model"
    	xdsresource "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/log"
    )
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/policies.go

    import (
    	"cmp"
    	"encoding/json"
    	"fmt"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // PolicyFilter is used to pass filter information into service based config writer print functions
    type PolicyFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. cni/pkg/install/cniconfig.go

    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_SERVICE_HOST__", vars.k8sServiceHost)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_SERVICE_PORT__", vars.k8sServicePort)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBERNETES_NODE_NAME__", vars.k8sNodeName)
    
    	installLog.Infof("CNI config: %s", cniConfigStr)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. istioctl/pkg/xds/client.go

    // limitations under the License.
    
    package xds
    
    // xds uses ADSC to call XDS
    
    import (
    	"context"
    	"crypto/tls"
    	"fmt"
    	"strings"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/credentials"
    
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/adsc"
    	"istio.io/istio/pkg/kube"
    )
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. cni/pkg/iptables/iptables.go

    	// so that it could distinguish things that can be unauthenticated (healthchecks) from other kinds of node traffic
    	// (e.g. LoadBalanced Service packets, etc) that need to be authenticated/captured/proxied.
    	//
    	// We want to do the same thing in ambient but can't rely on podSpec injection. So, do effectively the same thing,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. istioctl/pkg/multicluster/remote_secret.go

    	flagset.StringVar(&o.ServiceAccountName, "service-account", "",
    		"Create a secret with this service account's credentials. Default value is \""+
    			constants.DefaultServiceAccountName+"\" if --type is \"remote\", \""+
    			constants.DefaultConfigServiceAccountName+"\" if --type is \"config\".")
    	flagset.BoolVar(&o.CreateServiceAccount, "create-service-account", true,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    		}
    	}
    	// default attributes and service name, namespace, ports, service account, service CIDR
    	overrides := map[string]string{
    		"ISTIO_INBOUND_PORTS":       portBehavior,
    		"ISTIO_NAMESPACE":           wg.Namespace,
    		"ISTIO_SERVICE":             fmt.Sprintf("%s.%s", wg.Name, wg.Namespace),
    		"ISTIO_SERVICE_CIDR":        "*",
    		"ISTIO_LOCAL_EXCLUDE_PORTS": excludePorts,
    		"SERVICE_ACCOUNT":           we.ServiceAccount,
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. istioctl/pkg/kubeinject/kubeinject.go

    	client := http.Client{
    		Timeout: time.Second * 5,
    		Transport: &http.Transport{
    			TLSClientConfig: tlsClientConfig,
    		},
    	}
    	if cc.Service != nil {
    		svc, err := e.client.Kube().CoreV1().Services(cc.Service.Namespace).Get(context.Background(), cc.Service.Name, metav1.GetOptions{})
    		if err != nil {
    			return nil, err
    		}
    		namespace, selector, err := polymorphichelpers.SelectorsForObject(svc)
    		if err != nil {
    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)
Back to top