Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for userflags (0.19 sec)

  1. pkg/kube/inject/inject_test.go

    		in            string
    		want          string
    		setFlags      []string
    		inFilePath    string
    		mesh          func(m *meshapi.MeshConfig)
    		skipWebhook   bool
    		skipInjection bool
    		expectedError string
    		expectedLog   string
    		setup         func(t test.Failer)
    	}
    	cases := []testCase{
    		// verify cni
    		{
    			in:   "hello.yaml",
    			want: "hello.yaml.cni.injected",
    			setFlags: []string{
    				"components.cni.enabled=true",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. cmd/bucket-policy.go

    	if v := cloneHeader.Get("x-amz-signature-age"); v != "" {
    		args["signatureAge"] = []string{v}
    		cloneHeader.Del("x-amz-signature-age")
    	}
    
    	if userTags := cloneHeader.Get(xhttp.AmzObjectTagging); userTags != "" {
    		tag, _ := tags.ParseObjectTags(userTags)
    		if tag != nil {
    			tagMap := tag.ToMap()
    			keys := make([]string, 0, len(tagMap))
    			for k, v := range tagMap {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. cmd/api-headers.go

    	// Set tag count if object has tags
    	if len(objInfo.UserTags) > 0 {
    		tags, _ := tags.ParseObjectTags(objInfo.UserTags)
    		if tags != nil && tags.Count() > 0 {
    			w.Header()[xhttp.AmzTagCount] = []string{strconv.Itoa(tags.Count())}
    			if opts.Tagging {
    				// This is MinIO only extension to return back tags along with the count.
    				w.Header()[xhttp.AmzObjectTagging] = []string{objInfo.UserTags}
    			}
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/cmd/gotracevalidate/main.go

    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Accepts a trace at stdin and validates it.\n")
    		flag.PrintDefaults()
    	}
    	log.SetFlags(0)
    }
    
    var logEvents = flag.Bool("log-events", false, "whether to log events")
    
    func main() {
    	flag.Parse()
    
    	r, err := trace.NewReader(os.Stdin)
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 984 bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    		ContentEncoding:            o.ContentEncoding,
    		Expires:                    o.Expires,
    		StorageClass:               o.StorageClass,
    		ReplicationStatus:          o.ReplicationStatus,
    		UserTags:                   o.UserTags,
    		Parts:                      o.Parts,
    		Writer:                     o.Writer,
    		Reader:                     o.Reader,
    		PutObjReader:               o.PutObjReader,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. src/cmd/buildid/buildid.go

    	fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    	log.SetFlags(0)
    	telemetry.Start()
    	flag.Usage = usage
    	flag.Parse()
    	telemetry.Inc("buildid/invocations")
    	telemetry.CountFlags("buildid/flag:", *flag.CommandLine)
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/cmd/gotraceraw/main.go

    		fmt.Fprintf(flag.CommandLine.Output(), "* bytes2text - converts a byte format trace to text\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		flag.PrintDefaults()
    	}
    	log.SetFlags(0)
    }
    
    func main() {
    	flag.Parse()
    	if narg := flag.NArg(); narg != 1 {
    		log.Fatal("expected exactly one positional argument: the mode to operate in; see -h output")
    	}
    
    	r := os.Stdin
    	w := os.Stdout
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/preprofile/main.go

    	}
    
    	w := bufio.NewWriter(out)
    	if _, err := d.WriteTo(w); err != nil {
    		return fmt.Errorf("error writing output file: %w", err)
    	}
    
    	return nil
    }
    
    func main() {
    	objabi.AddVersionFlag()
    
    	log.SetFlags(0)
    	log.SetPrefix("preprofile: ")
    	telemetry.Start()
    
    	flag.Usage = usage
    	flag.Parse()
    	telemetry.Inc("preprofile/invocations")
    	telemetry.CountFlags("preprofile/flag:", *flag.CommandLine)
    	if *input == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "UserDefined", za0001)
    					return
    				}
    				z.UserDefined[za0001] = za0002
    			}
    		case "UserTags":
    			z.UserTags, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "UserTags")
    				return
    			}
    		case "Parts":
    			var zb0003 uint32
    			zb0003, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  10. cmd/api-response.go

    	// The class of storage used to store the object.
    	StorageClass string
    
    	// UserMetadata user-defined metadata
    	UserMetadata *Metadata `xml:"UserMetadata,omitempty"`
    	UserTags     string    `xml:"UserTags,omitempty"`
    
    	Internal *ObjectInternalInfo `xml:"Internal,omitempty"`
    }
    
    // CopyObjectResponse container returns ETag and LastModified of the successfully copied object
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top