IntrospectionService returns the underlying Introspection Client
()
| 767 | |
| 768 | // IntrospectionService returns the underlying Introspection Client |
| 769 | func (c *Client) IntrospectionService() introspection.Service { |
| 770 | if c.introspectionService != nil { |
| 771 | return c.introspectionService |
| 772 | } |
| 773 | c.connMu.Lock() |
| 774 | defer c.connMu.Unlock() |
| 775 | return introspectionproxy.NewIntrospectionProxy(c.conn) |
| 776 | } |
| 777 | |
| 778 | // LeasesService returns the underlying Leases Client |
| 779 | func (c *Client) LeasesService() leases.Manager { |