Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLogsClient ¶
DefaultLogsClient creates a new default logs client.
func DefaultResultsClient ¶
DefaultResultsClient creates a new results client. Will dial overrideAPIAddr if overrideAPIAddr is not empty
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory contains the configuration for creating a k8s client.
func NewDefaultFactory ¶
NewDefaultFactory creates a new Factory with the default configuration.
func (*Factory) LogClient ¶
LogClient creates a new Results gRPC client for the given factory settings. TODO: Refactor this with watcher client code?
func (*Factory) ResultsClient ¶
func (f *Factory) 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.