- Sort Score
- Result 10 results
- Languages All
Results 871 - 880 of 1,250 for struct (0.07 sec)
-
istioctl/pkg/version/version.go
}) default: return nil, fmt.Errorf("unexpected resource type %q", resource.TypeUrl) } } return &pi, nil } } func getIstioVersionFromXdsMetadata(metadata *structpb.Struct) string { meta, err := model.ParseMetadata(metadata) if err != nil { return "unknown sidecar version" } return meta.IstioVersion
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/apierrorcode_string.go
package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[ErrNone-0] _ = x[ErrAccessDenied-1] _ = x[ErrBadDigest-2] _ = x[ErrEntityTooSmall-3] _ = x[ErrEntityTooLarge-4] _ = x[ErrPolicyTooLarge-5] _ = x[ErrIncompleteBody-6] _ = x[ErrInternalError-7]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 21.4K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject_test.go
"sigs.k8s.io/yaml" "istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/pkg/test/util/assert" ) func Test_analyzeRunningWebhooks(t *testing.T) { cases := []struct { name string pod *corev1.Pod ns *corev1.Namespace expectedMessages []webhookAnalysis }{ { name: "no inj because of no match labels",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 10.6K bytes - Viewed (0) -
cmd/iam.go
) const ( embeddedPolicyType = "embedded-policy" inheritedPolicyType = "inherited-policy" ) const ( maxSVCSessionPolicySize = 4096 ) // IAMSys - config system. type IAMSys struct { // Need to keep them here to keep alignment - ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG // metrics LastRefreshTimeUnixNano uint64 LastRefreshDurationMilliseconds uint64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
internal/s3select/sql/aggregation.go
) var ( errNonNumericArg = func(fnStr FuncName) error { return fmt.Errorf("%s() requires a numeric argument", fnStr) } errInvalidAggregation = errors.New("Invalid aggregation seen") ) type aggVal struct { runningSum *Value runningCount int64 runningMax, runningMin *Value // Stores if at least one record has been seen seen bool } func newAggVal(fn FuncName) *aggVal {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 7.9K bytes - Viewed (0) -
cmd/bucket-object-lock.go
xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/policy" ) // BucketObjectLockSys - map of bucket and retention configuration. type BucketObjectLockSys struct{} // Get - Get retention configuration. func (sys *BucketObjectLockSys) Get(bucketName string) (r objectlock.Retention, err error) { config, _, err := globalBucketMetadataSys.GetObjectLockConfig(bucketName) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.2K bytes - Viewed (0) -
misc/go_android_exec/main.go
// go test will hang forever. // // Avoid that by wrapping stderr, breaking the short circuit and // forcing cmd.Run to use another pipe and goroutine to pass // along stderr from adb. cmd.Stderr = struct{ io.Writer }{os.Stderr} err := cmd.Run() // Before we process err, flush any further output and get the exit code. exitCode, err2 := filter.Finish() if err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
opts.SetDefaultOutputLevel(istiolog.OverrideScopeName, istiolog.DebugLevel) istiolog.Configure(opts) for _, scope := range istiolog.Scopes() { scope.SetOutputLevel(istiolog.DebugLevel) } } type netTestFixture struct { netServer *NetServer podNsMap *podNetnsCache ztunnelServer *fakeZtunnel iptablesConfigurator *iptables.IptablesConfigurator nlDeps *fakeIptablesDeps }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 25 16:13:38 UTC 2024 - 10.7K bytes - Viewed (0) -
cmd/metacache-set.go
// from a single drive, shuffling of the drives is subsequently. disks = newDisks askDisks = 1 } else { // If we did not find suitable disks, perform strict quorum listing // as no disk agrees on quorum anymore. askDisks = getListQuorum("strict", er.setDriveCount) } } var fallbackDisks []StorageAPI // Special case: ask all disks if the drive count is 4
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 30.7K bytes - Viewed (0) -
cmd/metrics-v3.go
notificationCollectorPath collectorPath = "/notification" scannerCollectorPath collectorPath = "/scanner" ) const ( clusterBasePath = "/cluster" ) type metricsV3Collection struct { mgMap map[collectorPath]*MetricsGroup bucketMGMap map[collectorPath]*MetricsGroup // Gatherers for non-bucket MetricsGroup's mgGatherers map[collectorPath]prometheus.Gatherer
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 02 00:55:27 UTC 2024 - 13.6K bytes - Viewed (0)