Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api-logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type APILogOpts struct {
Interval time.Duration `json:"interval,omitempty"`
Origin log.Origin `json:"origin,omitempty"`
Type log.APIType `json:"type,omitempty"`
MaxPerNode int `json:"maxPerNode,omitempty"`
}

// GetAPILogs fetches the persisted API logs from MinIO
Expand Down
10 changes: 6 additions & 4 deletions audit-logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ import (

// AuditLogOpts represents the options for the audit logs
type AuditLogOpts struct {
Node string `json:"node,omitempty"`
API string `json:"api,omitempty"`
Bucket string `json:"bucket,omitempty"`
Interval time.Duration `json:"interval,omitempty"`
Node string `json:"node,omitempty"`
API string `json:"api,omitempty"`
Bucket string `json:"bucket,omitempty"`
Interval time.Duration `json:"interval,omitempty"`
Category log.AuditCategory `json:"category,omitempty"`
MaxPerNode int `json:"maxPerNode,omitempty"`
}

// GetAuditLogs fetches the persisted audit logs from MinIO
Expand Down
1 change: 0 additions & 1 deletion cgroup/linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

// Copyright (c) 2015-2024 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion cgroup/linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

//
// Copyright (c) 2015-2024 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion cgroup/nolinux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

//
// Copyright (c) 2015-2024 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion cpu_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

//
// Copyright (c) 2015-2025 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion cpu_nolinux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package madmin

Expand Down
11 changes: 6 additions & 5 deletions error-logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ import (

// ErrorLogOpts represents the options for the ErrorLogs
type ErrorLogOpts struct {
Node string `json:"node,omitempty"`
API string `json:"api,omitempty"`
Bucket string `json:"bucket,omitempty"`
Prefix string `json:"prefix,omitempty"`
Interval time.Duration `json:"interval,omitempty"`
Node string `json:"node,omitempty"`
API string `json:"api,omitempty"`
Bucket string `json:"bucket,omitempty"`
Prefix string `json:"prefix,omitempty"`
Interval time.Duration `json:"interval,omitempty"`
MaxPerNode int `json:"maxPerNode,omitempty"`
}

// GetErrorLogs fetches the persisted error logs from MinIO
Expand Down
1 change: 0 additions & 1 deletion examples/accounting-info.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/alive.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/api-logs.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
//go:build ignore
// +build ignore

//
// Copyright (c) 2015-2022 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion examples/audit-logs.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
//go:build ignore
// +build ignore

//
// Copyright (c) 2015-2022 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion examples/bucket-bandwidth.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
//go:build ignore
// +build ignore

//
// Copyright (c) 2015-2022 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion examples/bucket-metadata.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/bucket-quota.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/bucket-target.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/cluster-api.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
//go:build ignore
// +build ignore

//
// Copyright (c) 2015-2022 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion examples/cluster-health.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/create-job.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/data-usage-info.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/drives-query.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
//go:build ignore
// +build ignore

//
// Copyright (c) 2015-2025 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion examples/error-logs.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
//go:build ignore
// +build ignore

//
// Copyright (c) 2015-2022 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion examples/force-unlock.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/heal-manual.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/heal-status.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/iam-migrate.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/kms-status.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/list-pools.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/log-config.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

//
// Copyright (c) 2015-2025 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion examples/perf-object.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/profiling.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/query-api.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

//
// Copyright (c) 2015-2025 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion examples/replicate-diff.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/replicate-mrf.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2023 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/server-info.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/service-account.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//
//go:build ignore
// +build ignore

//
// Copyright (c) 2015-2022 MinIO, Inc.
Expand Down
1 change: 0 additions & 1 deletion examples/service-restart.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/service-trace.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/storage-info.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion examples/top-locks.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

// Copyright (c) 2015-2022 MinIO, Inc.
//
Expand Down
1 change: 0 additions & 1 deletion fips.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
//

//go:build fips
// +build fips

package madmin

Expand Down
1 change: 0 additions & 1 deletion kernel/kernel.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
//

//go:build linux
// +build linux

package kernel

Expand Down
1 change: 0 additions & 1 deletion kernel/kernel_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
//

//go:build !linux
// +build !linux

package kernel

Expand Down
1 change: 0 additions & 1 deletion kernel/kernel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
//

//go:build linux
// +build linux

package kernel

Expand Down
1 change: 0 additions & 1 deletion kernel/kernel_utsname_int8.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
//

//go:build (linux && 386) || (linux && amd64) || (linux && arm64) || (linux && loong64) || (linux && mips64) || (linux && mips64le) || (linux && mips)
// +build linux,386 linux,amd64 linux,arm64 linux,loong64 linux,mips64 linux,mips64le linux,mips

package kernel

Expand Down
1 change: 0 additions & 1 deletion kernel/kernel_utsname_uint8.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
//

//go:build (linux && arm) || (linux && ppc64) || (linux && ppc64le) || (linux && s390x) || (linux && riscv64)
// +build linux,arm linux,ppc64 linux,ppc64le linux,s390x linux,riscv64

package kernel

Expand Down
Loading
Loading