Versions in this module Expand all Collapse all v1 v1.2.0 Jun 25, 2018 Changes in this version + const ConnectCALeafName + const ConnectCARootName + const IntentionMatchName + func TestFetchCh(t testing.T, typ cache.Type, opts cache.FetchOptions, req cache.Request) <-chan interface + func TestFetchChResult(t testing.T, ch <-chan interface{}, expected interface{}) + type ConnectCALeaf struct + Cache *cache.Cache + RPC RPC + func (c *ConnectCALeaf) Fetch(opts cache.FetchOptions, req cache.Request) (cache.FetchResult, error) + type ConnectCALeafRequest struct + Datacenter string + MinQueryIndex uint64 + Service string + Token string + func (r *ConnectCALeafRequest) CacheInfo() cache.RequestInfo + type ConnectCARoot struct + RPC RPC + func (c *ConnectCARoot) Fetch(opts cache.FetchOptions, req cache.Request) (cache.FetchResult, error) + type IntentionMatch struct + RPC RPC + func (c *IntentionMatch) Fetch(opts cache.FetchOptions, req cache.Request) (cache.FetchResult, error) + type MockRPC struct + func TestRPC(t testing.T) *MockRPC + func (_m *MockRPC) RPC(method string, args interface{}, reply interface{}) error + type RPC interface + RPC func(method string, args interface{}, reply interface{}) error