Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 235 for Turing (0.21 sec)

  1. istioctl/pkg/xds/google.go

    )
    
    type meshAuthCredentials struct {
    	k8sCreds credentials.PerRPCCredentials
    	gcpCreds credentials.PerRPCCredentials
    	project  string
    }
    
    func (c *meshAuthCredentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) {
    	ret := map[string]string{
    		"x-goog-user-project": c.project,
    	}
    	if err := updateAuthHdrs(ctx, uri, "k8s", c.k8sCreds, ret, "x-mesh-authorization"); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. cni/pkg/plugin/kubernetes.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type PodInfo struct {
    	Containers        sets.String
    	Labels            map[string]string
    	Annotations       map[string]string
    	ProxyType         string
    	ProxyEnvironments map[string]string
    	ProxyUID          *int64
    	ProxyGID          *int64
    }
    
    // newK8sClient returns a Kubernetes client
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. cni/test/install_k8s_test.go

    	Tag = "master-latest-daily"
    )
    
    type testCase struct {
    	name             string
    	chainedCNIPlugin bool
    	preConfFile      string
    	resultFileName   string
    	// Must set chainedCNIPlugin to true if delayedConfFile is specified
    	delayedConfFile        string
    	expectedOutputFile     string
    	expectedPostCleanFile  string
    	cniConfDirOrderedFiles []string
    }
    
    func TestInstall(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 27 18:01:48 GMT 2022
    - 8K bytes
    - Viewed (0)
  4. cni/pkg/ipset/nldeps_unspecified.go

    }
    
    type realDeps struct{}
    
    func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) destroySet(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. istioctl/pkg/waypoint/waypoint.go

    				return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %s", trafficType, validTrafficTypes.String())
    			}
    
    			if gw.Labels == nil {
    				gw.Labels = map[string]string{}
    			}
    
    			gw.Labels[constants.AmbientWaypointForTrafficTypeLabel] = trafficType
    		}
    
    		if revision != "" {
    			gw.Labels = map[string]string{label.IoIstioRev.Name: revision}
    		}
    		return &gw, nil
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/generate_test.go

    )
    
    func TestGenerateValidatingWebhook(t *testing.T) {
    	tcs := []struct {
    		name           string
    		istioNamespace string
    		webhook        admitv1.MutatingWebhookConfiguration
    		whURL          string
    		whSVC          string
    		whCA           string
    		userManaged    bool
    	}{
    		{
    			name:           "webhook-pointing-to-service",
    			istioNamespace: "istio-system",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  7. istioctl/pkg/proxystatus/proxystatus_test.go

    type execTestCase struct {
    	args     []string
    	revision string
    	noIstiod bool
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyStatus(t *testing.T) {
    	cases := []execTestCase{
    		{ // case 0, with no Isitod instance
    			args:           []string{},
    			noIstiod:       true,
    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)
  8. istioctl/pkg/tag/tag.go

    	if err != nil {
    		return fmt.Errorf("error while marshaling to JSON: %v", err)
    	}
    	fmt.Fprintln(w, string(out))
    	return nil
    }
    
    // buildDeleteTagConfirmation takes a list of webhooks and creates a message prompting confirmation for their deletion.
    func buildDeleteTagConfirmation(tag string, taggedNamespaces []string) string {
    	var sb strings.Builder
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      // +optional
      optional string requestSubResource = 15;
    
      // Name is the name of the object as presented in the request.  On a CREATE operation, the client may omit name and
      // rely on the server to generate the name.  If that is the case, this field will contain an empty string.
      // +optional
      optional string name = 5;
    
      // Namespace is the namespace associated with the request (if any).
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/certificates/v1beta1/generated.proto

      optional string type = 1;
    
      // Status of the condition, one of True, False, Unknown.
      // Approved, Denied, and Failed conditions may not be "False" or "Unknown".
      // Defaults to "True".
      // If unset, should be treated as "True".
      // +optional
      optional string status = 6;
    
      // brief reason for the request state
      // +optional
      optional string reason = 2;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top