- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 215 for pkg (0.13 sec)
-
internal/event/rules.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 event import ( "strings" "github.com/minio/pkg/v2/wildcard" ) // NewPattern - create new pattern for prefix/suffix. func NewPattern(prefix, suffix string) (pattern string) { if prefix != "" { if !strings.HasSuffix(prefix, "*") { prefix += "*" }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 2.7K bytes - Viewed (0) -
cmd/mrf.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "time" "github.com/google/uuid" "github.com/minio/madmin-go/v3" "github.com/minio/pkg/v2/wildcard" ) const ( mrfOpsQueueSize = 100000 ) // partialOperation is a successful upload/delete of an object // but not written in all disks (having quorum) type partialOperation struct {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/debugging/xattr/main.go
package main import ( "encoding/binary" "errors" "flag" "fmt" "log" "os" "github.com/olekukonko/tablewriter" "github.com/pkg/xattr" ) var ( path, name string value uint64 set, list bool ) func getxattr(path, name string) (uint64, error) { buf, err := xattr.LGet(path, name) if err != nil { return 0, err
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) -
cmd/update.go
"runtime" "strings" "sync/atomic" "time" "github.com/klauspost/compress/zstd" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/v2/env" xnet "github.com/minio/pkg/v2/net" "github.com/minio/selfupdate" gopsutilcpu "github.com/shirou/gopsutil/v3/cpu" "github.com/valyala/bytebufferpool" ) const ( envMinisignPubKey = "MINIO_UPDATE_MINISIGN_PUBKEY"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 18.7K bytes - Viewed (0) -
docs/sts/custom-token-identity.go
package main import ( "context" "flag" "fmt" "log" "net/url" "time" "github.com/minio/minio-go/v7" cr "github.com/minio/minio-go/v7/pkg/credentials" ) var ( // LDAP integrated Minio endpoint stsEndpoint string // token to use with AssumeRoleWithCustomToken token string // Role ARN to use roleArn string
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 27 00:58:09 GMT 2022 - 3.4K bytes - Viewed (0) -
internal/bucket/replication/destination.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package replication import ( "encoding/xml" "fmt" "strings" "github.com/minio/pkg/v2/wildcard" ) // DestinationARNPrefix - destination ARN prefix as per AWS S3 specification. const DestinationARNPrefix = "arn:aws:s3:::" // DestinationARNMinIOPrefix - destination ARN prefix for MinIO.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 4K bytes - Viewed (2) -
cmd/erasure-common.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "fmt" "io" "math/rand" "sync" "time" "github.com/minio/pkg/v2/sync/errgroup" ) func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) { disks := er.getDisks() var wg sync.WaitGroup var mu sync.Mutex r := rand.New(rand.NewSource(time.Now().UnixNano()))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 4.6K bytes - Viewed (0) -
docs/sts/assume-role.go
package main import ( "context" "flag" "fmt" "io" "log" "net/url" "os" "time" "github.com/minio/minio-go/v7" cr "github.com/minio/minio-go/v7/pkg/credentials" ) var ( // Minio endpoint (for STS API) stsEndpoint string // User account credentials minioUsername string minioPassword string // Display credentials flag displayCreds bool
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 12 16:09:55 GMT 2024 - 4K bytes - Viewed (1) -
internal/logger/config.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package logger import ( "context" "crypto/tls" "errors" "strconv" "strings" "github.com/minio/pkg/v2/env" xnet "github.com/minio/pkg/v2/net" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/logger/target/http" "github.com/minio/minio/internal/logger/target/kafka" ) // Console logger target
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 15.8K bytes - Viewed (0) -
cmd/bucket-policy-handlers.go
import ( "bytes" "encoding/json" "io" "net/http" humanize "github.com/dustin/go-humanize" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/logger" "github.com/minio/mux" "github.com/minio/pkg/v2/policy" ) const ( // As per AWS S3 specification, 20KiB policy JSON data is allowed. maxBucketPolicySize = 20 * humanize.KiByte // Policy configuration file. bucketPolicyConfig = "policy.json" )
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 6.1K bytes - Viewed (0)