SandboxStore returns the underlying sandbox store client
()
| 804 | |
| 805 | // SandboxStore returns the underlying sandbox store client |
| 806 | func (c *Client) SandboxStore() sandbox.Store { |
| 807 | if c.sandboxStore != nil { |
| 808 | return c.sandboxStore |
| 809 | } |
| 810 | c.connMu.Lock() |
| 811 | defer c.connMu.Unlock() |
| 812 | return sandboxproxy.NewSandboxStore(sandboxsapi.NewStoreClient(c.conn)) |
| 813 | } |
| 814 | |
| 815 | // SandboxController returns the underlying sandbox controller client |
| 816 | func (c *Client) SandboxController(name string) sandbox.Controller { |
no test coverage detected