Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for init (0.2 sec)

  1. cni/pkg/repair/repair_test.go

    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    func TestMatchesFilter(t *testing.T) {
    	makeDetectPod := func(name string, terminationMessage string, exitCode int) *corev1.Pod {
    		return makePod(makePodArgs{
    			PodName:     name,
    			Annotations: map[string]string{"sidecar.istio.io/status": "something"},
    			InitContainerStatus: &corev1.ContainerStatus{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  2. istioctl/cmd/root.go

    	err := viper.ReadInConfig()
    	// Ignore errors reading the configuration unless the file is explicitly customized
    	if root.IstioConfig != defaultIstioctlConfig {
    		return err
    	}
    
    	return nil
    }
    
    func init() {
    	viper.SetDefault("istioNamespace", constants.IstioSystemNamespace)
    	viper.SetDefault("xds-port", 15012)
    }
    
    // GetRootCmd returns the root of the cobra command-tree.
    func GetRootCmd(args []string) *cobra.Command {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/multicluster"
    	"istio.io/istio/pkg/log"
    )
    
    var (
    	codec  runtime.Codec
    	scheme *runtime.Scheme
    
    	tokenWaitBackoff = time.Second
    )
    
    func init() {
    	scheme = runtime.NewScheme()
    	utilruntime.Must(v1.AddToScheme(scheme))
    	opt := json.SerializerOptions{
    		Yaml:   true,
    		Pretty: false,
    		Strict: false,
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate_test.go

    	outputDir                   string
    	fileSelect                  []string
    	diffSelect                  string
    	diffIgnore                  string
    	chartSource                 chartSourceType
    }
    
    func init() {
    	kubeClientFunc = func() (kube.CLIClient, error) {
    		return nil, nil
    	}
    }
    
    func extract(gzipStream io.Reader, destination string) error {
    	uncompressedStream, err := gzip.NewReader(gzipStream)
    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)
  5. manifests/addons/dashboards/istio-mesh-dashboard.json

                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "ops"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 3,
            "w": 6,
            "x": 0,
            "y": 3
          },
          "id": 20,
          "links": [],
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 02:28:01 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  6. manifests/addons/dashboards/istio-extension-dashboard.json

                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 1
          },
          "id": 2,
          "options": {
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 20K bytes
    - Viewed (0)
  7. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	cmd.PersistentFlags().StringVar(&workloadsNamespace, "workload-namespace", "",
    		"Filter workloads by namespace field")
    
    	return cmd
    }
    
    // Level is an enumeration of all supported log levels.
    type Level int
    
    const (
    	defaultLoggerName = "level"
    )
    
    const (
    	// OffLevel disables logging
    	OffLevel Level = iota
    	// CriticalLevel enables critical level logging
    	CriticalLevel
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  8. istioctl/pkg/multicluster/remote_secret_test.go

    		out.Data[v1.ServiceAccountTokenKey] = []byte(token)
    	}
    	return out
    }
    
    type fakeOutputWriter struct {
    	b           bytes.Buffer
    	injectError error
    	failAfter   int
    }
    
    func (w *fakeOutputWriter) Write(p []byte) (n int, err error) {
    	w.failAfter--
    	if w.failAfter <= 0 && w.injectError != nil {
    		return 0, w.injectError
    	}
    	return w.b.Write(p)
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    func (o clusterOrigin) Namespace() resource.Namespace {
    	return ""
    }
    
    func (o clusterOrigin) Reference() resource.Reference {
    	return nil
    }
    
    func (o clusterOrigin) FieldMap() map[string]int {
    	return make(map[string]int)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload.go

    func marshalWorkloadEntryPodPorts(p map[string]uint32) string {
    	var out []model.PodPort
    	for name, port := range p {
    		out = append(out, model.PodPort{Name: name, ContainerPort: int(port)})
    	}
    	if len(out) == 0 {
    		return ""
    	}
    	sort.Slice(out, func(i, j int) bool {
    		return out[i].Name < out[j].Name
    	})
    	str, err := json.Marshal(out)
    	if err != nil {
    		return ""
    	}
    	return string(str)
    }
    
    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)
Back to top