Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for confirm (0.26 sec)

  1. internal/event/target/elasticsearch.go

    	if target.client != nil {
    		return nil
    	}
    
    	clientV7, err := newClientV7(target.args)
    	if err != nil {
    		return err
    	}
    
    	// Check es version to confirm if it is supported.
    	serverSupportStatus, version, err := clientV7.getServerSupportStatus(ctx)
    	if err != nil {
    		return err
    	}
    
    	switch serverSupportStatus {
    	case ESSUnknown:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. operator/cmd/mesh/shared.go

    	return ev == "true" || ev == "1"
    }
    
    func kubeBuilderInstalled() bool {
    	ev := os.Getenv("KUBEBUILDER")
    	return ev == "true" || ev == "1"
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    func Confirm(msg string, writer io.Writer) bool {
    	for {
    		_, _ = fmt.Fprintf(writer, "%s ", msg)
    		var response string
    		_, err := fmt.Scanln(&response)
    		if err != nil {
    			return false
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, accessKey, false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    	// confirm that the user is able to access the bucket
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    	versions := c.mustUploadReturnVersions(ctx, uClient, bucket)
    	c.mustNotDelete(ctx, uClient, bucket, versions[0])
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator-remove.go

    	if orArgs.revision != "" {
    		message = "Istio operator revision " + orArgs.revision + " will be removed from cluster, Proceed? (y/N)"
    	}
    	if !orArgs.skipConfirmation && !args.DryRun && !Confirm(message, cmd.OutOrStdout()) {
    		cmd.Print("Cancelled.\n")
    		os.Exit(1)
    	}
    
    	l.LogAndPrintf("Removing Istio operator...")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag.go

    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/util/formatting"
    	"istio.io/istio/pkg/config/analysis"
    	"istio.io/istio/pkg/config/analysis/analyzers/webhook"
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/analysis/local"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    const (
    
    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)
  6. cni/pkg/nodeagent/ztunnelserver_test.go

    	addr := fmt.Sprintf("@testaddr%d", ztunnelTestCounter.Add(1))
    	ztun, err := newZtunnelServer(addr, pods)
    	if err != nil {
    		panic(err)
    	}
    	go ztun.Run(ctx)
    
    	// now as a client connect confirm we and get snapshot
    	resolvedAddr, err := net.ResolveUnixAddr("unixpacket", addr)
    	if err != nil {
    		panic(err)
    	}
    	ztunClient, err := net.DialUnix("unixpacket", nil, resolvedAddr)
    	if err != nil {
    		panic(err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/config.go

    }
    
    // DefaultKVS - default config for LDAP config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: "",
    		},
    		config.KV{
    			Key:   ServerAddr,
    			Value: "",
    		},
    		config.KV{
    			Key:   SRVRecordName,
    			Value: "",
    		},
    		config.KV{
    			Key:   UserDNSearchBaseDN,
    			Value: "",
    		},
    		config.KV{
    			Key:   UserDNSearchFilter,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  8. internal/config/subnet/config.go

    		}
    	}
    }
    
    // LookupConfig - lookup config and override with valid environment settings if any.
    func LookupConfig(kvs config.KVS, transport http.RoundTripper) (cfg Config, err error) {
    	if err = config.CheckValidKeys(config.SubnetSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	var proxyURL *xnet.URL
    	proxy := env.Get(config.EnvMinIOSubnetProxy, kvs.Get(config.Proxy))
    	if len(proxy) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		}
    		defPool = pinfo
    		if !isErrObjectNotFound(pinfo.Err) {
    			return pinfo, noReadQuorumPools, pinfo.Err
    		}
    
    		// No object exists or its a delete marker,
    		// check objInfo to confirm.
    		if pinfo.ObjInfo.DeleteMarker && pinfo.ObjInfo.Name != "" {
    			return pinfo, noReadQuorumPools, nil
    		}
    	}
    	if opts.ReplicationRequest && opts.DeleteMarker && defPool.Index >= 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    	}
    
    	// Warn users if they use `istioctl install` without any config args.
    	if !rootArgs.DryRun && !iArgs.SkipConfirmation {
    		prompt := fmt.Sprintf("This will install the Istio %s %q profile (with components: %s) into the cluster. Proceed? (y/N)",
    			tag, profile, humanReadableJoin(enabledComponents))
    		if !Confirm(prompt, stdOut) {
    			p.Println("Cancelled.")
    			os.Exit(1)
    		}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
Back to top