- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 994 for Structs (0.07 sec)
-
istioctl/pkg/tag/tag_test.go
"k8s.io/client-go/kubernetes/fake" "istio.io/api/label" "istio.io/istio/istioctl/pkg/util" "istio.io/istio/pkg/kube" ) func TestTagList(t *testing.T) { tcs := []struct { name string webhooks admitv1.MutatingWebhookConfigurationList namespaces corev1.NamespaceList outputMatches []string error string }{ { name: "TestBasicTag",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 8.5K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration_test.go
package lifecycle import ( "encoding/xml" "fmt" "testing" ) // appropriate errors on validation func TestInvalidExpiration(t *testing.T) { testCases := []struct { inputXML string expectedErr error }{ { // Expiration with zero days inputXML: ` <Expiration> <Days>0</Days> </Expiration>`,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
if len(s) == 0 { return res } for _, o := range strings.Split(s, ",") { res = append(res, lex.Tokenize(o)) } return res } func TestErroneous(t *testing.T) { type errtest struct { pseudo string operands string expected string } nonRuntimeTests := []errtest{ {"TEXT", "", "expect two or three operands for TEXT"}, {"TEXT", "%", "expect two or three operands for TEXT"},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.1K bytes - Viewed (0) -
internal/dsync/lock-args.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package dsync //go:generate msgp -file $GOFILE // LockArgs is minimal required values for any dsync compatible lock operation. type LockArgs struct { // Unique ID of lock/unlock request. UID string // Resources contains single or multiple entries to be locked/unlocked. Resources []string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/config/lambda/target/webhook.go
} // WebhookTarget - Webhook target. type WebhookTarget struct { activeRequests int64 totalRequests int64 failedRequests int64 lazyInit lazyInit id event.TargetID args WebhookArgs transport *http.Transport httpClient *http.Client loggerOnce logger.LogOnce cancel context.CancelFunc cancelCh <-chan struct{} } // ID - returns target ID.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 08 21:39:49 UTC 2024 - 6.7K bytes - Viewed (0) -
internal/grid/types.go
return bytes, nil } // NewNoPayload returns an empty NoPayload struct. func NewNoPayload() NoPayload { return NoPayload{} } // Recycle is a no-op. func (NoPayload) Recycle() {} // ArrayOf wraps an array of Messagepack compatible objects. type ArrayOf[T RoundTripper] struct { aPool sync.Pool // Arrays ePool sync.Pool // Elements }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
internal/http/listener_test.go
t.Fatalf("No non-loop back IP address found for this host") } nonLoopBackIP := nonLoopBackIPs.ToSlice()[0] return nonLoopBackIP } func TestNewHTTPListener(t *testing.T) { testCases := []struct { serverAddrs []string tcpKeepAliveTimeout time.Duration readTimeout time.Duration writeTimeout time.Duration expectedListenErrs []bool }{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
AssertAssociationCount(t, users[1], "Company", 1, "After other user Delete") } func TestBelongsToDefaultValue(t *testing.T) { type Org struct { ID string } type BelongsToUser struct { OrgID string Org Org `gorm:"default:NULL"` } tx := DB.Session(&gorm.Session{}) tx.Config.DisableForeignKeyConstraintWhenMigrating = true
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
schema/index.go
import ( "fmt" "sort" "strconv" "strings" ) type Index struct { Name string Class string // UNIQUE | FULLTEXT | SPATIAL Type string // btree, hash, gist, spgist, gin, and brin Where string Comment string Option string // WITH PARSER parser_name Fields []IndexOption // Note: IndexOption's Field maybe the same } type IndexOption struct { *Field Expression string Sort string // DESC, ASC
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0) -
cmd/rebalance-admin.go
"time" ) type rebalPoolProgress struct { NumObjects uint64 `json:"objects"` NumVersions uint64 `json:"versions"` Bytes uint64 `json:"bytes"` Bucket string `json:"bucket"` Object string `json:"object"` Elapsed time.Duration `json:"elapsed"` ETA time.Duration `json:"eta"` } type rebalancePoolStatus struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:43 UTC 2023 - 3.8K bytes - Viewed (0)