Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLogsClient ¶
func DefaultResultsClient ¶
DefaultResultsClient creates a new results client. Will dial overrideApiAddr if overrideApiAddr is not empty
Types ¶
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
func NewDefaultFactory ¶
func NewDefaultFactory() (*ClientFactory, error)
func (*ClientFactory) LogClient ¶
func (f *ClientFactory) LogClient(ctx context.Context, overrideApiAddr string) (pb.LogsClient, error)
LogClient creates a new Results gRPC client for the given factory settings. TODO: Refactor this with watcher client code?
func (*ClientFactory) ResultsClient ¶
func (f *ClientFactory) ResultsClient(ctx context.Context, overrideApiAddr string) (pb.ResultsClient, error)
ResultsClient creates a new Results gRPC client for the given factory settings. TODO: Refactor this with watcher client code?
Click to show internal directories.
Click to hide internal directories.