- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for isRemove (0.4 sec)
-
cmd/admin-handlers-users_test.go
c.mustListObjects(ctx, uClient, bucket) // 6. Verify that group cannot be deleted with users. err = s.adm.UpdateGroupMembers(ctx, madmin.GroupAddRemove{ Group: group, IsRemove: true, }) if err == nil { c.Fatalf("group was removed!") } groupInfo, err = s.adm.GetGroupDescription(ctx, group) if err != nil { c.Fatalf("group desc err: %v", err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 45.7K bytes - Viewed (0) -
cmd/admin-handlers-users.go
if member == globalActiveCred.AccessKey { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL) return } } var updatedAt time.Time if updReq.IsRemove { updatedAt, err = globalIAMSys.RemoveUsersFromGroup(ctx, updReq.Group, updReq.Members) } else { // Check if group already exists if _, gerr := globalIAMSys.GetGroupDescription(updReq.Group); gerr != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:19:04 UTC 2024 - 78.6K bytes - Viewed (0) -
cmd/site-replication.go
if !updatedAt.IsZero() { if gd, err := globalIAMSys.GetGroupDescription(updReq.Group); err == nil && gd.UpdatedAt.After(updatedAt) { return nil } } if updReq.IsRemove { _, err = globalIAMSys.RemoveUsersFromGroup(ctx, updReq.Group, updReq.Members) } else { if updReq.Status != "" && len(updReq.Members) == 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0) -
pkg/test/framework/components/cluster/cluster.go
// IsConfig returns true if this is a config cluster, used as the source of // Istio config for one or more control planes. IsConfig() bool // IsRemote returns true if this is a remote cluster, which uses a control plane // residing in another cluster. IsRemote() bool // IsExternalControlPlane returns true if this is a cluster containing an instance // of the Istio control plane but with its source of config in another cluster.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 3K bytes - Viewed (0) -
pkg/test/framework/components/cluster/topology.go
if _, f := knownClusterNames[c.Name()]; f { return c.Name() } if c.IsPrimary() { if c.IsConfig() { prefix = "primary" } else { prefix = "externalistiod" } } else if c.IsRemote() { if c.IsConfig() { prefix = "config" } else { prefix = "remote" } } return fmt.Sprintf("%s-%d", prefix, c.Index) } func (c Topology) IsPrimary() bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/erasure-healing.go
// Legacy means heal always // always check first. return true, errLegacyXLMeta } if !latestMeta.Equals(meta) { return true, errOutdatedXLMeta } if !meta.Deleted && !meta.IsRemote() { // If xl.meta was read fine but there may be problem with the part.N files. for _, partErr := range partsErrs { if slices.Contains([]int{ checkPartFileNotFound, checkPartFileCorrupt,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.8K bytes - Viewed (0) -
pkg/test/framework/components/cluster/clusters.go
}, exclude(excluded...)) } // Remotes returns the subset that are remote clusters. func (c Clusters) Remotes(excluded ...Cluster) Clusters { return c.filterClusters(func(cc Cluster) bool { return cc.IsRemote() }, exclude(excluded...)) } // MeshClusters returns the subset that are not external control plane clusters. func (c Clusters) MeshClusters(excluded ...Cluster) Clusters {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 4.7K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
} var errRestoreHDRMalformed = fmt.Errorf("x-amz-restore header malformed") // IsRemote returns true if this object version's contents are in its remote // tier. func (fi FileInfo) IsRemote() bool { if fi.TransitionStatus != lifecycle.TransitionComplete { return false } return !isRestoredObjectOnDisk(fi.Metadata) } // IsRemote returns true if this object version's contents are in its remote // tier.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 33.3K bytes - Viewed (0) -
cmd/api-headers.go
} if objInfo.ReplicationStatus.String() != "" { w.Header()[xhttp.AmzBucketReplicationStatus] = []string{objInfo.ReplicationStatus.String()} } if objInfo.IsRemote() { // Check if object is being restored. For more information on x-amz-restore header see // https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseSyntax
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 04:44:00 UTC 2024 - 7K bytes - Viewed (0) -
cmd/erasure-healing-common.go
dataErrsByPart[p][i] = partErr } } } for i, onlineDisk := range onlineDisks { if metaErrs[i] != nil { continue } meta := partsMetadata[i] if meta.Deleted || meta.IsRemote() { continue } // Always check data, if we got it. if (len(meta.Data) > 0 || meta.Size == 0) && len(meta.Parts) > 0 { checksumInfo := meta.Erasure.GetChecksumInfo(meta.Parts[0].Number)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 12.5K bytes - Viewed (0)