Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WithTracer = base.WithTracer
WithTracer returns an Option that configures the Client to use the supplied tracer.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { base.ClientFacade // contains filtered or unexported fields }
Client provides access to the CrossController API facade.
func NewClient ¶
func NewClient(caller base.APICallCloser, options ...Option) *Client
NewClient creates a new client-side CrossModelRelations facade.
func (*Client) ControllerInfo ¶
func (c *Client) ControllerInfo(ctx context.Context) (*ControllerInfo, error)
ControllerInfo returns the remote controller's API information.
func (*Client) WatchControllerInfo ¶
WatchControllerInfo returns a watcher that is notified when the remote controller's API information changes.
type ControllerInfo ¶
ControllerInfo contains the information about the controller that will be returned by the ControllerInfo method.
Click to show internal directories.
Click to hide internal directories.