- Sort Score
- Result 10 results
- Languages All
Results 1011 - 1020 of 1,179 for _func (0.06 sec)
-
cmd/metrics-v3-cluster-config.go
configStandardParityMD = NewGaugeMD(configStandardParity, "Standard storage class parity") ) // loadClusterConfigMetrics - `MetricsLoaderFn` for cluster config // such as standard and RRS parity. func loadClusterConfigMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { clusterDriveMetrics, err := c.clusterDriveMetrics.Get() if err != nil { metricsLogIf(ctx, err) } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 1.5K bytes - Viewed (0) -
internal/init/init_darwin_amd64.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package init import ( "os" "github.com/klauspost/cpuid/v2" ) func init() { // All MinIO operations must be under UTC. os.Setenv("TZ", "UTC") // Temporary workaround for // https://github.com/golang/go/issues/49233 // Keep until upstream has been fixed.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Nov 04 23:44:38 UTC 2022 - 1.3K bytes - Viewed (0) -
internal/config/callhome/help.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package callhome import "github.com/minio/minio/internal/config" var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } // HelpCallhome - provides help for callhome config HelpCallhome = config.HelpKVS{ config.HelpKV{ Key: Enable,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 06 23:14:52 UTC 2022 - 1.4K bytes - Viewed (0) -
cmd/is-dir-empty_other.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd // isDirEmpty - returns true if there is no error and no object and prefix inside this directory func isDirEmpty(dirname string, _ bool) bool { entries, err := readDirN(dirname, 1) if err != nil { return false } return len(entries) == 0
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 15:17:08 UTC 2024 - 1K bytes - Viewed (0) -
cmd/os-rename_linux.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 999 bytes - Viewed (0) -
internal/bucket/replication/replication_test.go
} for _, testCase := range testCases { testCase := testCase t.Run(testCase.opts.Name, func(t *testing.T) { result := testCase.c.Replicate(testCase.opts) if result != testCase.expectedResult { t.Errorf("expected: %v, got: %v", testCase.expectedResult, result) } }) } } func TestHasActiveRules(t *testing.T) { testCases := []struct { inputConfig string prefix string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 32.5K bytes - Viewed (0) -
clause/joins_test.go
package clause_test import ( "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) func TestJoin(t *testing.T) { results := []struct { name string join clause.Join sql string }{ { name: "LEFT JOIN", join: clause.Join{ Type: clause.LeftJoin, Table: clause.Table{Name: "user"}, ON: clause.Where{
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Nov 03 13:03:13 UTC 2022 - 2.6K bytes - Viewed (0) -
internal/logger/message/audit/entry.go
const Version = "1" // NewEntry - constructs an audit entry object with some fields filled func NewEntry(deploymentID string) audit.Entry { return audit.Entry{ Version: Version, DeploymentID: deploymentID, Time: time.Now().UTC(), } } // ToEntry - constructs an audit entry from a http request func ToEntry(w http.ResponseWriter, r *http.Request, reqClaims map[string]interface{}, deploymentID string) audit.Entry {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/debugging/inspect/main.go
export = flag.Bool("export", false, "export xl.meta") djson = flag.Bool("djson", false, "expect djson format for xl.meta") genkey = flag.Bool("genkey", false, "generate key pair") ) func main() { flag.Parse() if *genkey { generateKeys() os.Exit(0) } var privateKey []byte if *keyHex == "" { if b, err := os.ReadFile(*privKeyPath); err == nil { privateKey = b
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0) -
buildscripts/heal-manual.go
// limitations under the License. // package main import ( "context" "encoding/json" "fmt" "log" "os" "time" "github.com/minio/madmin-go/v3" ) func main() { // Note: YOUR-ACCESSKEYID, YOUR-SECRETACCESSKEY are // dummy values, please replace them with original values. // API requests are secure (HTTPS) if secure=true and insecure (HTTP) otherwise.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 27 09:47:58 UTC 2024 - 2.3K bytes - Viewed (0)