- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 1,241 for _strict (0.12 sec)
-
cmd/tier-last-day-stats.go
package cmd import ( "time" "github.com/minio/madmin-go/v3" ) //go:generate msgp -file=$GOFILE -unexported type lastDayTierStats struct { Bins [24]tierStats UpdatedAt time.Time } func (l *lastDayTierStats) addStats(ts tierStats) { now := time.Now() l.forwardTo(now) nowIdx := now.Hour() l.Bins[nowIdx] = l.Bins[nowIdx].add(ts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 2.8K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
saToken = "service_account_token_string" ) func TestCreateValidKubeconfigFile(t *testing.T) { tmp := t.TempDir() os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644) cases := []struct { name string expectedFailure bool k8sServiceProtocol string k8sServiceHost string k8sServicePort string kubeCAFilepath string skipTLSVerify bool }{ {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 3.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener_test.go
listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3" "istio.io/istio/pkg/wellknown" ) func TestListenerFilter_Verify(t *testing.T) { tests := []struct { desc string inFilter *ListenerFilter inListener *listener.Listener expect bool }{ { desc: "filter-fields-empty", inFilter: &ListenerFilter{ Address: "", Port: 0,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Sep 11 15:29:30 UTC 2023 - 4.1K bytes - Viewed (0) -
internal/crypto/error.go
"errors" "fmt" ) // Error is the generic type for any error happening during decrypting // an object. It indicates that the object itself or its metadata was // modified accidentally or maliciously. type Error struct { msg string cause error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type crypto.Error func Errorf(format string, a ...interface{}) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 4.4K bytes - Viewed (0) -
src/bytes/reader.go
// a byte slice. // Unlike a [Buffer], a Reader is read-only and supports seeking. // The zero value for Reader operates like a Reader of an empty slice. type Reader struct { s []byte i int64 // current reading index prevRune int // index of previous rune; or < 0 } // Len returns the number of bytes of the unread portion of the // slice.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jul 16 18:17:37 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/common-main.go
// This can be used for goroutines that live beyond the parent context. func bgContext(parent context.Context) context.Context { return bgCtx{parent: parent} } type bgCtx struct { parent context.Context } func (a bgCtx) Done() <-chan struct{} { return nil } func (a bgCtx) Err() error { return nil } func (a bgCtx) Deadline() (deadline time.Time, ok bool) { return time.Time{}, false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0) -
cmd/signature-v4_test.go
if err != nil { t.Fatal(err) } defer removeRoots([]string{fsDir}) credentialTemplate := "%s/%s/%s/s3/aws4_request" now := UTCNow() accessKey := globalActiveCred.AccessKey testCases := []struct { form http.Header expected APIErrorCode }{ // (0) It should fail if 'X-Amz-Credential' is missing. { form: http.Header{}, expected: ErrCredMalformed, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 10.5K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
CABundle: []byte("ca"), }, }, }, } remoteValidationURL = "https://random.host.com/validate" ) func TestGenerateValidatingWebhook(t *testing.T) { tcs := []struct { name string istioNamespace string webhook admitv1.MutatingWebhookConfiguration whURL string whSVC string whCA string userManaged bool }{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 12.1K bytes - Viewed (0) -
cmd/iam-store.go
return nil } *d = doc return nil } // key options type options struct { ttl int64 // expiry in seconds } type iamWatchEvent struct { isCreated bool // !isCreated implies a delete event. keyPath string } // iamCache contains in-memory cache of IAM data. type iamCache struct { updatedAt time.Time // map of policy names to policy definitions
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0)