Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for inspector (0.25 sec)

  1. istioctl/pkg/kubeinject/kubeinject.go

    	iopFilename         string
    )
    
    const (
    	defaultMeshConfigMapName       = "istio"
    	defaultInjectConfigMapName     = "istio-sidecar-injector"
    	defaultInjectWebhookConfigName = "istio-sidecar-injector"
    	defaultWebhookName             = "sidecar-injector.istio.io"
    )
    
    func InjectCommand(cliContext cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    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)
  2. docs/debugging/inspect/decrypt-v2.go

    				if stream.Name == "inspect.zip" {
    					return errors.New("incorrect private key")
    				}
    				if err := stream.Skip(); err != nil {
    					return fmt.Errorf("stream skip: %w", err)
    				}
    				continue
    			}
    			if extracted {
    				return keepFileErr{fmt.Errorf("next stream: %w", err)}
    			}
    			return fmt.Errorf("next stream: %w", err)
    		}
    		if stream.Name == "inspect.zip" {
    			if extracted {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		return nil
    	}
    
    	// save args passed to inspect command
    	var sb bytes.Buffer
    	fmt.Fprintf(&sb, "Inspect path: %s%s%s\n", volume, slashSeparator, file)
    	sb.WriteString("Server command line args:")
    	for _, pool := range globalEndpoints {
    		sb.WriteString(" ")
    		sb.WriteString(pool.CmdLine)
    	}
    	sb.WriteString("\n")
    	adminLogIf(ctx, embedFileInZip(inspectZipW, "inspect-input.txt", sb.Bytes(), 0o600))
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  4. operator/cmd/mesh/install.go

    		return nil
    	}
    	mwhs, err := client.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().List(context.Background(), metav1.ListOptions{
    		LabelSelector: "app=sidecar-injector,istio.io/rev=default,istio.io/tag=default",
    	})
    	if err != nil {
    		return err
    	}
    	// If there is no default webhook but a revisioned default webhook exists,
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  5. docs/debugging/inspect/main.go

    	"time"
    )
    
    var (
    	keyHex      = flag.String("key", "", "decryption key")
    	privKeyPath = flag.String("private-key", "support_private.pem", "private key")
    	stdin       = flag.Bool("stdin", false, "expect 'mc support inspect' json output from stdin")
    	export      = flag.Bool("export", false, "export xl.meta")
    	djson       = flag.Bool("djson", false, "expect djson format for xl.meta")
    	genkey      = flag.Bool("genkey", false, "generate key pair")
    )
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/api/main_test.go

    	}
    
    	w.deprecated = make(map[token.Pos]bool)
    	mark := func(id *ast.Ident) {
    		if id != nil {
    			w.deprecated[id.Pos()] = true
    		}
    	}
    	for _, file := range w.current.Files {
    		ast.Inspect(file, func(n ast.Node) bool {
    			switch n := n.(type) {
    			case *ast.File:
    				if isDeprecated(n.Doc) {
    					mark(n.Name)
    				}
    				return true
    			case *ast.GenDecl:
    				if isDeprecated(n.Doc) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_cni_conformance.go

    // This is important for CNI plugin conformance
    func TestLoadArgs(t *testing.T) {
    	kubeletArgs := "IgnoreUnknown=1;K8S_POD_NAMESPACE=istio-system;" +
    		"K8S_POD_NAME=istio-sidecar-injector-8489cf78fb-48pvg;" +
    		"K8S_POD_INFRA_CONTAINER_ID=3c41e946cf17a32760ff86940a73b06982f1815e9083cf2f4bfccb9b7605f326"
    
    	k8sArgs := K8sArgs{}
    	if err := types.LoadArgs(kubeletArgs, &k8sArgs); err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

    				level, ok := stringToLevel[levelString]
    				if ok {
    					destLoggerLevels[defaultLoggerName] = level
    				} else {
    					log.Warnf("unable to get logLevel from ConfigMap istio-sidecar-injector, using default value %q for envoy proxies",
    						levelToString[defaultEnvoyOutputLevel])
    					destLoggerLevels[defaultLoggerName] = defaultEnvoyOutputLevel
    				}
    			} else if loggerLevelString != "" {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate_test.go

    		if err != nil {
    			t.Fatalf("could not parse webhook from generated YAML: %s", webhookYAML)
    		}
    		wh := whObject.(*admitv1.MutatingWebhookConfiguration)
    
    		// expect both namespace.sidecar-injector.istio.io and object.sidecar-injector.istio.io webhooks
    		if len(wh.Webhooks) != tc.numWebhooks {
    			t.Errorf("expected %d webhook(s) in MutatingWebhookConfiguration, found %d",
    				tc.numWebhooks, len(wh.Webhooks))
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  10. internal/config/errors-utils.go

    	return func(err error) Err {
    		u := Err{
    			msg:    msg,
    			action: action,
    			hint:   hint,
    		}
    		if err != nil {
    			u.detail = err.Error()
    		}
    		return u
    	}
    }
    
    // ErrorToErr inspects the passed error and transforms it
    // to the appropriate UI error.
    func ErrorToErr(err error) Err {
    	if err == nil {
    		return Err{}
    	}
    
    	// If this is already a Err, do nothing
    	if e, ok := err.(Err); ok {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top