- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 47 for linting (0.77 sec)
-
cmd/api-response.go
}); err != nil { return err } } return e.EncodeToken(start.End()) } // ObjectInternalInfo contains some internal information about a given // object, it will printed in listing calls with enabled metadata. type ObjectInternalInfo struct { K int // Data blocks M int // Parity blocks } // Object container for object metadata type Object struct { Key string
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 33.3K bytes - Viewed (2) -
operator/cmd/mesh/profile.go
// limitations under the License. package mesh import ( "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" ) // ProfileCmd is a group of commands related to profile listing, dumping and diffing. func ProfileCmd(_ cli.Context) *cobra.Command { pc := &cobra.Command{ Use: "profile", Short: "Commands related to Istio configuration profiles",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.5K bytes - Viewed (0) -
cmd/sts-handlers_test.go
}) if err != nil { c.Fatalf("Error initializing client: %v", err) } // Validate that user listing does not return any entries usersList, err := s.adm.ListUsers(ctx) if err != nil { c.Fatalf("list users should not fail: %v", err) } if len(usersList) != 1 { c.Fatalf("expected user listing output: %v", usersList) } uinfo := usersList[userDN]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 85.7K bytes - Viewed (0) -
docs/debugging/xattr/main.go
if name == "" { log.Fatalln("you must specify an attribute name for reading") } var names []string if name == "." { attrs, err := listxattr(path) if err != nil { log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err)) } names = append(names, attrs...) } else { names = append(names, name) } var data [][]string for _, attr := range names {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Dec 29 23:52:41 GMT 2023 - 3.2K bytes - Viewed (0) -
docs/sts/assume-role.go
objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{}) for obj := range objCh { if obj.Err != nil { log.Fatalf("Listing error: %v", obj.Err) } fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 12 16:09:55 GMT 2024 - 4K bytes - Viewed (1) -
cmd/xl-storage.go
} } if rootDrive { return s, errDriveIsRoot } } // Sanitize before setting it if info.NRRequests > 0 { s.nrRequests = info.NRRequests } // We stagger listings only on HDDs. if info.Rotational == nil || *info.Rotational { s.rotational = true s.walkMu = &sync.Mutex{} s.walkReadMu = &sync.Mutex{} } if cleanUp {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 84.7K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
}, ) if err == nil || errors.Is(err, context.Canceled) { return } setN := humanize.Ordinal(setIdx + 1) rebalanceLogIf(ctx, fmt.Errorf("listing objects from %s set failed with %v", setN, err), "rebalance-listing-failed"+setN) }(setIdx) } wk.Wait() return nil } type rebalSaveOpts uint8 const ( rebalSaveStats rebalSaveOpts = iota rebalSaveStoppedAt
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 19:29:28 GMT 2024 - 27.2K bytes - Viewed (0) -
cmd/erasure-server-pool.go
} if merged.lastSkippedEntry != "" { if merged.lastSkippedEntry > loi.NextMarker { // An object hidden by ILM was found during listing. Since the number of entries // fetched from drives is limited, set IsTruncated to true to ask the s3 client // to continue listing if it wishes in order to find if there is more objects. loi.IsTruncated = true loi.NextMarker = merged.lastSkippedEntry } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 80.5K bytes - Viewed (0) -
cmd/server_test.go
// The response Etag header should contain Md5sum of an empty string. c.Assert(response.Header.Get(xhttp.ETag), "\""+emptyETag+"\"") } // TestListBuckets - Make request for listing of all buckets. // XML response is parsed. // Its success verifies the format of the response. func (s *TestSuiteCommon) TestListBuckets(c *check) { // generate a random bucket name.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
allSecrets, err := client.Kube().CoreV1().Secrets(opt.Namespace).List(ctx, metav1.ListOptions{}) if err != nil { return nil, fmt.Errorf("failed listing secrets in %s: %v", opt.Namespace, err) } for _, item := range allSecrets.Items { secret := item if secretReferencesServiceAccount(serviceAccount, &secret) == nil { return &secret, nil } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0)