- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 579 for fmt (0.03 sec)
-
cmd/erasure-metadata.go
if !meta.Deleted && meta.Size != 0 { fmt.Fprintf(h, "%v+%v", meta.Erasure.DataBlocks, meta.Erasure.ParityBlocks) fmt.Fprintf(h, "%v", meta.Erasure.Distribution) } if meta.IsRemote() { // ILM transition fields fmt.Fprint(h, meta.TransitionStatus) fmt.Fprint(h, meta.TransitionTier) fmt.Fprint(h, meta.TransitionedObjName) fmt.Fprint(h, meta.TransitionVersionID) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
func (cr *s3ChunkedReader) Read(buf []byte) (n int, err error) { if cr.err != nil { if cr.debug { fmt.Printf("s3ChunkedReader: Returning err: %v (%T)\n", cr.err, cr.err) } return 0, cr.err } defer func() { if err != nil && err != io.EOF { if cr.debug { fmt.Println("Read err:", err) } } }() // First, if there is any unread data, copy it to the client
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
internal/kms/config.go
case kmsPresent: if !isPresent(EnvKMSEndpoint) { return false, fmt.Errorf("kms: incomplete configuration for MinIO KMS: missing '%s'", EnvKMSEndpoint) } if !isPresent(EnvKMSEnclave) { return false, fmt.Errorf("kms: incomplete configuration for MinIO KMS: missing '%s'", EnvKMSEnclave) } if !isPresent(EnvKMSDefaultKey) { return false, fmt.Errorf("kms: incomplete configuration for MinIO KMS: missing '%s'", EnvKMSDefaultKey)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 11:46:39 UTC 2024 - 14.2K bytes - Viewed (0) -
docs/iam/identity-manager-plugin.go
package main import ( "encoding/json" "errors" "fmt" "log" "net/http" ) func writeErrorResponse(w http.ResponseWriter, err error) { w.WriteHeader(http.StatusBadRequest) json.NewEncoder(w).Encode(map[string]string{ "reason": fmt.Sprintf("%v", err), }) } type Resp struct { User string `json:"user"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 2.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
} } } clusterEndpoint = retrieveSortedEndpointClusterSlice(clusterEndpoint) fmt.Fprintln(w, "ENDPOINT\tSTATUS\tOUTLIER CHECK\tCLUSTER") for _, ce := range clusterEndpoint { var endpoint string if ce.port != 0 { endpoint = ce.address + ":" + strconv.Itoa(ce.port) } else { endpoint = ce.address }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 5.8K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
case containerID != candidateContainerID: // More than one container ID found in the cgroups. return "", "", fmt.Errorf("multiple container IDs found in cgroups (%s, %s)", containerID, candidateContainerID) case podUID != candidatePodUID: // More than one pod UID found in the cgroups. return "", "", fmt.Errorf("multiple pod UIDs found in cgroups (%s, %s)", podUID, candidatePodUID) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
docs/sts/assume-role.go
} v, err := li.Get() if err != nil { log.Fatalf("Error retrieving STS credentials: %v", err) } if displayCreds { fmt.Println("Only displaying credentials:") fmt.Println("AccessKeyID:", v.AccessKeyID) fmt.Println("SecretAccessKey:", v.SecretAccessKey) fmt.Println("SessionToken:", v.SessionToken) return } // API requests are secure (HTTPS) if secure=true and insecure (HTTP) otherwise.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 17 01:24:54 UTC 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
path := "config_dump" envoyDump, err = kubeClient.EnvoyDo(context.TODO(), podName, ns, "GET", path) } if err != nil { return fmt.Errorf("could not contact sidecar: %w", err) } xdsRequest := discovery.DiscoveryRequest{ ResourceNames: []string{fmt.Sprintf("%s.%s", podName, ns)}, TypeUrl: pilotxds.TypeDebugConfigDump, }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 6.2K 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)