- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 568 for CONST (0.02 sec)
-
internal/crypto/sse_test.go
package crypto import ( "net/http" "testing" ) func TestS3String(t *testing.T) { const Domain = "SSE-S3" if domain := S3.String(); domain != Domain { t.Errorf("S3's string method returns wrong domain: got '%s' - want '%s'", domain, Domain) } } func TestSSECString(t *testing.T) { const Domain = "SSE-C" if domain := SSEC.String(); domain != Domain {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 8.4K bytes - Viewed (0) -
internal/lock/lock_windows.go
"path/filepath" "syscall" "unsafe" "golang.org/x/sys/windows" ) var ( modkernel32 = windows.NewLazySystemDLL("kernel32.dll") procLockFileEx = modkernel32.NewProc("LockFileEx") ) const ( // https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx lockFileExclusiveLock = 2 lockFileFailImmediately = 1
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0) -
cmd/callhome.go
auditOptions.Error = err.Error() } auditLogInternal(ctx, auditOptions) return } healthInfo = hi case <-healthCtx.Done(): return } } } const ( subnetHealthPath = "/api/health/upload" ) func sendHealthInfo(ctx context.Context, healthInfo madmin.HealthInfo) error { url := globalSubnetConfig.BaseURL + subnetHealthPath
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 17 16:53:34 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/config.go
"fmt" "path" "sort" "strings" jsoniter "github.com/json-iterator/go" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/kms" ) const ( minioConfigPrefix = "config" minioConfigBucket = minioMetaBucket + SlashSeparator + minioConfigPrefix kvPrefix = ".kv" // Captures all the previous SetKV operations and allows rollback.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 23 10:07:06 UTC 2023 - 6K bytes - Viewed (0) -
internal/config/policy/opa/config.go
"encoding/json" "io" "net/http" "github.com/minio/minio/internal/config" "github.com/minio/pkg/v3/env" xnet "github.com/minio/pkg/v3/net" "github.com/minio/pkg/v3/policy" ) // Env IAM OPA URL const ( URL = "url" AuthToken = "auth_token" EnvPolicyOpaURL = "MINIO_POLICY_OPA_URL" EnvPolicyOpaAuthToken = "MINIO_POLICY_OPA_AUTH_TOKEN" ) // DefaultKVS - default config for OPA config var (
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 5.3K bytes - Viewed (0) -
internal/config/dns/types.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 dns import ( "encoding/json" "time" ) const ( defaultTTL = 30 defaultContextTimeout = 5 * time.Minute ) // SrvRecord - represents a DNS service record type SrvRecord struct { Host string `json:"host,omitempty"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2K bytes - Viewed (0) -
cmd/generic-handlers.go
"github.com/minio/minio/internal/crypto" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/mcontext" ) const ( // Maximum allowed form data field values. 64MiB is a guessed practical value // which is more than enough to accommodate any form data fields and headers. requestFormDataSize = 64 * humanize.MiByte
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 20.5K bytes - Viewed (0) -
internal/config/batch/batch.go
package batch import ( "sync" "time" "github.com/minio/minio/internal/config" "github.com/minio/pkg/v3/env" ) // Batch job environment variables const ( ReplicationWorkersWait = "replication_workers_wait" KeyRotationWorkersWait = "keyrotation_workers_wait" ExpirationWorkersWait = "expiration_workers_wait"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.7K bytes - Viewed (0) -
internal/config/certs.go
"github.com/minio/pkg/v3/env" ) // EnvCertPassword is the environment variable which contains the password used // to decrypt the TLS private key. It must be set if the TLS private key is // password protected. const EnvCertPassword = "MINIO_CERT_PASSWD" // ParsePublicCertFile - parses public cert into its *x509.Certificate equivalent. func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/config-dir.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "os" "path/filepath" homedir "github.com/mitchellh/go-homedir" ) const ( // Default minio configuration directory where below configuration files/directories are stored. defaultMinioConfigDir = ".minio" // Directory contains below files/directories for HTTPS configuration. certsDir = "certs"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 3K bytes - Viewed (0)