- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for userflags (0.22 sec)
-
internal/bucket/lifecycle/filter_test.go
tests := []struct { filter Filter userTags string want bool }{ { filter: noTags, userTags: "", want: true, }, { filter: noTags, userTags: "A=3", want: true, }, { filter: oneTag, userTags: "A=3", want: false, }, { filter: oneTag, userTags: "FOO=1", want: true, }, {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
} if err := validateProfileOutputFormatFlag(pdArgs.outputFormat); err != nil { return err } setFlags := applyFlagAliases(make([]string, 0), pdArgs.manifestsPath, "") if len(args) == 1 { setFlags = append(setFlags, "profile="+args[0]) } y, _, err := manifest.GenerateConfig(pdArgs.inFilenames, setFlags, true, nil, l) if err != nil { return err } y, err = tpath.GetConfigSubtree(y, "spec")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 7.1K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff.go
l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.OutOrStderr(), nil) setFlags := make([]string, 0) if pfArgs.manifestsPath != "" { setFlags = append(setFlags, fmt.Sprintf("installPackagePath=%s", pfArgs.manifestsPath)) } return profileDiffInternal(args[0], args[1], setFlags, cmd.OutOrStdout(), l) } func profileDiffInternal(profileA, profileB string, setFlags []string, writer io.Writer, l clog.Logger) (bool, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 3.1K bytes - Viewed (0) -
operator/pkg/manifest/shared.go
func GenerateConfig(inFilenames []string, setFlags []string, force bool, client kube.Client, l clog.Logger, ) (string, *iopv1alpha1.IstioOperator, error) { if err := validateSetFlags(setFlags); err != nil { return "", nil, err } fy, profile, err := ReadYamlProfile(inFilenames, setFlags, force, l) if err != nil { return "", nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 03 06:27:07 UTC 2024 - 19.7K bytes - Viewed (0) -
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) -
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) -
internal/bucket/replication/replication_test.go
// using config 2 - has more than one rule with overlapping prefixes {ObjectOpts{Name: "xy/c3test", UserTags: "k1=v1"}, cfgs[2], true}, // 17. matches rule 1 for replication of content/metadata
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 32.5K bytes - Viewed (0) -
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) -
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) -
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)