- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for FUNC (0.03 sec)
-
cmd/iam-etcd-store.go
usersSysType: usersSysType, } } func (ies *IAMEtcdStore) rlock() *iamCache { ies.RLock() return ies.iamCache } func (ies *IAMEtcdStore) runlock() { ies.RUnlock() } func (ies *IAMEtcdStore) lock() *iamCache { ies.Lock() return ies.iamCache } func (ies *IAMEtcdStore) unlock() { ies.Unlock() } func (ies *IAMEtcdStore) getUsersSysType() UsersSysType {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 13.6K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
func SortVirtualHosts(hosts []*route.VirtualHost) { if len(hosts) < 2 { return } sort.SliceStable(hosts, func(i, j int) bool { return hosts[i].Name < hosts[j].Name }) } // ConvertLocality converts '/' separated locality string to Locality struct. func ConvertLocality(locality string) *core.Locality { return pm.ConvertLocality(locality)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
pilot/pkg/bootstrap/server.go
} return inject.WebhookConfig{} } func (w *webhookInfo) addHandler(fn func()) { w.mu.Lock() defer w.mu.Unlock() if w.wh != nil { w.wh.MultiCast.AddHandler(func(c *inject.Config, s string) error { fn() return nil }) } } // NewServer creates a new Server instance based on the provided arguments. func NewServer(args *PilotArgs, initFuncs ...func(*Server)) (*Server, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0) -
pilot/pkg/bootstrap/server_test.go
}) g := NewWithT(t) s, err := NewServer(args, func(s *Server) { s.kubeClient = kube.NewFakeClient() }) g.Expect(err).To(Succeed()) stop := make(chan struct{}) g.Expect(s.Start(stop)).To(Succeed()) defer func() { close(stop) s.WaitUntilCompletion() }() t.Run("h1", func(t *testing.T) { c := http.Client{} defer c.CloseIdleConnections()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 23.1K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client.go
} } func composeFilters(filter kubetypes.DynamicObjectFilter, extra ...func(obj any) bool) kubetypes.DynamicObjectFilter { return composedFilter{ filter: filter, extra: slices.FilterInPlace(extra, func(f func(obj any) bool) bool { return f != nil }), } } func (cl *Client) inRevision(obj any) bool { object := controllers.ExtractObject(obj) if object == nil { return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 13.7K bytes - Viewed (0) -
cmd/iam-object-store.go
usersSysType UsersSysType objAPI ObjectLayer } func newIAMObjectStore(objAPI ObjectLayer, usersSysType UsersSysType) *IAMObjectStore { return &IAMObjectStore{ iamCache: newIamCache(), objAPI: objAPI, usersSysType: usersSysType, } } func (iamOS *IAMObjectStore) rlock() *iamCache { iamOS.RLock() return iamOS.iamCache } func (iamOS *IAMObjectStore) runlock() { iamOS.RUnlock() }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 19.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc
func.func @main() -> () { func.return } })"; // MLIR which should not legalize at all static constexpr char kBadMlirModuleStr[] = R"( module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} { func.func @main() -> () { %0 = tf.Unknown() -> () func.return %0 } })";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 23:59:33 UTC 2024 - 16.1K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
// withT swaps out the testing struct. This allows executing sub tests. func (sim *Simulation) withT(t *testing.T) *Simulation { cpy := *sim cpy.t = t return &cpy } func (sim *Simulation) RunExpectations(es []Expect) { for _, e := range es { sim.t.Run(e.Name, func(t *testing.T) { sim.withT(t).Run(e.Call).Matches(t, e.Result) }) } } func hasFilterOnPort(l *listener.Listener, filter string, port int) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
wa := a.(model.WorkloadAuthorization) nsMatch := wa.Authorization.Namespace == meshCfg.RootNamespace || wa.Authorization.Namespace == workloadNamespace return nsMatch && wa.GetLabelSelector() != nil })) policies := slices.Sort(slices.Map(basePolicies, func(t model.WorkloadAuthorization) string { return t.ResourceName() }))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
pilot/pkg/bootstrap/certcontroller.go
} s.istiodCertBundleWatcher.SetAndNotify(newKeyPEM, newCertChain, newCaBundle) } }) s.addStartFunc("istiod server certificate rotation", func(stop <-chan struct{}) error { go func() { // Track TTL of DNS cert and renew cert in accordance to grace period. s.RotateDNSCertForK8sCA(stop, "", signerName, true, SelfSignedCACertTTL.Get()) }() return nil })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 11.3K bytes - Viewed (0)