client

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordCommits added in v0.8.0

func RecordCommits(c *Client, ctx context.Context, data []*typespb.Commit) error

func RecordJobs added in v0.6.0

func RecordJobs(c *Client, ctx context.Context, data []*typespb.Job) error

func RecordMergeRequestNoteEvents added in v0.9.0

func RecordMergeRequestNoteEvents(c *Client, ctx context.Context, data []*typespb.MergeRequestNoteEvent) error

func RecordMergeRequests added in v0.8.0

func RecordMergeRequests(c *Client, ctx context.Context, data []*typespb.MergeRequest) error

func RecordMetrics added in v0.6.0

func RecordMetrics(c *Client, ctx context.Context, data []*typespb.Metric) error

func RecordPipelines added in v0.6.0

func RecordPipelines(c *Client, ctx context.Context, data []*typespb.Pipeline) error

func RecordProjects added in v0.8.0

func RecordProjects(c *Client, ctx context.Context, data []*typespb.Project) error

func RecordSections added in v0.6.0

func RecordSections(c *Client, ctx context.Context, data []*typespb.Section) error

func RecordTestCases added in v0.6.0

func RecordTestCases(c *Client, ctx context.Context, data []*typespb.TestCase) error

func RecordTestReports added in v0.6.0

func RecordTestReports(c *Client, ctx context.Context, data []*typespb.TestReport) error

func RecordTestSuites added in v0.6.0

func RecordTestSuites(c *Client, ctx context.Context, data []*typespb.TestSuite) error

func RecordTraces added in v0.6.0

func RecordTraces(c *Client, ctx context.Context, data []*typespb.Trace) error

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewCLient

func NewCLient(target string, opts ...grpc.DialOption) (*Client, error)

func (*Client) MetricsCollector added in v0.7.0

func (c *Client) MetricsCollector() prometheus.Collector

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL