- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 579 for fmt (0.07 sec)
-
cmd/iam.go
NewHTTPTransport(), xhttp.DrainBody, globalSite.Region()) if err != nil { iamLogIf(ctx, fmt.Errorf("Unable to initialize OpenID: %w", err), logger.WarningKind) } // Initialize if LDAP is enabled ldapConfig, err := xldap.Lookup(s, globalRootCAs) if err != nil { iamLogIf(ctx, fmt.Errorf("Unable to load LDAP configuration (LDAP configuration will be disabled!): %w", err), logger.WarningKind) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
cmd/update.go
if len(nfields) != 2 { err = fmt.Errorf("Unknown release information `%s`", releaseInfo) return releaseTime, err } if nfields[0] != "minio" { err = fmt.Errorf("Unknown release `%s`", releaseInfo) return releaseTime, err } releaseTime, err = releaseTagToReleaseTime(nfields[1]) if err != nil { err = fmt.Errorf("Unknown release tag format. %w", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 18.7K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics_test.go
}, }, }, metav1.CreateOptions{}) metricCmd := Cmd(ctx) for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) { testutil.VerifyOutput(t, metricCmd, c) }) } } func TestAPI(t *testing.T) { _, _ = prometheusAPI(fmt.Sprintf("http://localhost:%d", 1234)) } var _ promv1.API = mockPromAPI{} func TestPrintMetrics(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 01:35:47 UTC 2024 - 8K bytes - Viewed (0) -
internal/logger/logrotate.go
package logger import ( "encoding/json" "fmt" "io" "os" "path/filepath" "time" "github.com/klauspost/compress/gzip" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/pkg/v3/logger/message/log" ) func defaultFilenameFunc() string { return fmt.Sprintf("minio-%s.log", fmt.Sprintf("%X", time.Now().UTC().UnixNano())) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
istioctl/pkg/version/version.go
if flag.Name == "short" { err := flag.Value.Set("true") if err != nil { fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err) } } if flag.Name == "remote" { err := flag.Value.Set("true") if err != nil { fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err) } } }) return versionCmd }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0) -
internal/http/response-recorder.go
} // Write the headers into the given buffer func (lrw *ResponseRecorder) writeHeaders(w io.Writer, statusCode int, headers http.Header) { n, _ := fmt.Fprintf(w, "%d %s\n", statusCode, http.StatusText(statusCode)) lrw.headerBytesWritten += n for k, v := range headers { n, _ := fmt.Fprintf(w, "%s: %s\n", k, v[0]) lrw.headerBytesWritten += n } } // blobBody returns a dummy body placeholder for blob (binary stream)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/s3select/json/args.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package json import ( "encoding/xml" "fmt" "strings" ) const ( document = "document" lines = "lines" defaultRecordDelimiter = "\n" ) // ReaderArgs - represents elements inside <InputSerialization><JSON/> in request XML.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.7K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/clusters.go
statuses, err := parseClusterStatuses(input) if err != nil { return err } w := new(tabwriter.Writer).Init(out, 0, 8, 5, ' ', 0) _, _ = fmt.Fprintln(w, "NAME\tSECRET\tSTATUS\tISTIOD") for istiod, clusters := range statuses { for _, c := range clusters { _, _ = fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", c.ID, c.SecretName, c.SyncStatus, istiod) } } _ = w.Flush() return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2.3K bytes - Viewed (0) -
tests/serializer_test.go
case string: err = field.Set(ctx, dst, strings.TrimPrefix(value, string(c.prefix))) default: err = fmt.Errorf("unsupported data %#v", dbValue) } return err } func (c *CustomSerializer) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) { return fmt.Sprintf("%s%s", c.prefix, fieldValue), nil } func TestSerializer(t *testing.T) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 21 14:09:38 UTC 2023 - 7.6K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package lifecycle import ( "encoding/xml" "fmt" "testing" "github.com/dustin/go-humanize" ) // TestUnsupportedFilters checks if parsing Filter xml with // unsupported elements returns appropriate errors func TestUnsupportedFilters(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0)