Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for StringVar (0.58 sec)

  1. istioctl/pkg/kubeinject/kubeinject.go

    			return nil
    		},
    	}
    
    	injectCmd.PersistentFlags().StringVar(&meshConfigFile, "meshConfigFile", "",
    		"Mesh configuration filename. Takes precedence over --meshConfigMapName if set")
    	injectCmd.PersistentFlags().StringVar(&injectConfigFile, "injectConfigFile", "",
    		"Injection configuration filename. Cannot be used with --injectConfigMapName")
    	injectCmd.PersistentFlags().StringVar(&valuesFile, "valuesFile", "",
    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/sts/assume-role.go

    	bucketToList string
    
    	// Session policy file (FIXME: add support in minio-go)
    	sessionPolicyFile string
    )
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    	flag.StringVar(&minioUsername, "u", "", "MinIO Username")
    	flag.StringVar(&minioPassword, "p", "", "MinIO Password")
    	flag.BoolVar(&displayCreds, "d", false, "Only show generated credentials")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  3. docs/debugging/s3-check-md5/main.go

    	return hash.Sum(nil)
    }
    
    func main() {
    	flag.StringVar(&endpoint, "endpoint", "https://play.min.io", "S3 endpoint URL")
    	flag.StringVar(&accessKey, "access-key", "Q3AM3UQ867SPQQA43P2F", "S3 Access Key")
    	flag.StringVar(&secretKey, "secret-key", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG", "S3 Secret Key")
    	flag.StringVar(&bucket, "bucket", "", "Select a specific bucket")
    	flag.StringVar(&prefix, "prefix", "", "Select a prefix")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  4. docs/iam/access-manager-plugin.go

    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    	"strings"
    )
    
    var (
    	keyFile  string
    	certFile string
    )
    
    func init() {
    	flag.StringVar(&keyFile, "key-file", "", "Path to TLS cert key file")
    	flag.StringVar(&certFile, "cert-file", "", "Path to TLS cert file")
    }
    
    func writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusBadRequest)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. docs/sts/custom-token-identity.go

    	expiryDuration time.Duration
    
    	// Bucket to list
    	bucketToList string
    )
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    	flag.StringVar(&token, "t", "", "Token to use with AssumeRoleWithCustomToken STS API (required)")
    	flag.StringVar(&roleArn, "r", "", "RoleARN to use with the request (required)")
    	flag.BoolVar(&displayCreds, "d", false, "Only show generated credentials")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  6. istioctl/pkg/wait/wait.go

    			nameflag, namespace = handlers.InferPodInfo(args[1], cliCtx.NamespaceOrDefault(namespace))
    			return validateType(args[0])
    		},
    	}
    	cmd.PersistentFlags().StringVar(&forFlag, "for", "distribution",
    		"Wait condition, must be 'distribution' or 'delete'")
    	cmd.PersistentFlags().StringVar(&proxyFlag, "proxy", "",
    		"Name of a specific proxy to wait for the condition to be satisfied")
    	cmd.PersistentFlags().DurationVar(&timeout, "timeout", time.Second*30,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  7. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	}
    
    	common.attach(cmd)
    	cmd.PersistentFlags().StringVar(&address, "address", "", "Filter workloads by address field")
    	cmd.PersistentFlags().BoolVar(&verboseProxyConfig, "verbose", true, "Output more information")
    	cmd.PersistentFlags().StringVar(&workloadsNamespace, "workload-namespace", "",
    		"Filter workloads by namespace field")
    	cmd.PersistentFlags().StringVar(&workloadNode, "workload-node", "",
    		"Filter workloads by node")
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  8. docs/debugging/pprofgoparser/main.go

    	flag.DurationVar(&goTime, "time", 0, "goroutine waiting for exactly the specified time")
    	flag.DurationVar(&margin, "margin", 0, "margin time")
    	flag.StringVar(&searchText, "search", "", "Regex to search for a text in one goroutine stacktrace")
    }
    
    func parseGoroutineType2(path string) (map[time.Duration][]string, error) {
    	f, err := os.Open(path)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. docs/debugging/xattr/main.go

    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, value)
    	return xattr.LSet(path, name, data)
    }
    
    func main() {
    	flag.StringVar(&path, "path", "", "path name where the attribute shall be applied")
    	flag.StringVar(&name, "name", "", "attribute name or it can be a wildcard if '.' is specified")
    	flag.Uint64Var(&value, "value", 0, "attribute value expects the value to be uint64")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload.go

    	configureCmd.PersistentFlags().StringVar(&name, "name", "", "The name of the workload group")
    	configureCmd.PersistentFlags().StringVarP(&namespace, "namespace", "n", "", "The namespace that the workload instances belong to")
    	configureCmd.PersistentFlags().StringVarP(&outputDir, "output", "o", "", "Output directory for generated files")
    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)
Back to top