clienttrace

package
v7.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LevelValues = levelValuesType{
	Off:     "off",
	Error:   "error",
	Warning: "warning",
	Info:    "info",
	Verbose: "verbose",
}

Functions

This section is empty.

Types

type Client

type Client interface {
	// [Preview API]
	PublishEvents(context.Context, PublishEventsArgs) error
}

func NewClient

func NewClient(ctx context.Context, connection *azuredevops.Connection) Client

type ClientImpl

type ClientImpl struct {
	Client azuredevops.Client
}

func (*ClientImpl) PublishEvents

func (client *ClientImpl) PublishEvents(ctx context.Context, args PublishEventsArgs) error

[Preview API]

type ClientTraceEvent

type ClientTraceEvent struct {
	Area          *string                 `json:"area,omitempty"`
	Component     *string                 `json:"component,omitempty"`
	ExceptionType *string                 `json:"exceptionType,omitempty"`
	Feature       *string                 `json:"feature,omitempty"`
	Level         *Level                  `json:"level,omitempty"`
	Message       *string                 `json:"message,omitempty"`
	Method        *string                 `json:"method,omitempty"`
	Properties    *map[string]interface{} `json:"properties,omitempty"`
}

type Level

type Level string

type PublishEventsArgs

type PublishEventsArgs struct {
	// (required)
	Events *[]ClientTraceEvent
}

Arguments for the PublishEvents function

Jump to

Keyboard shortcuts

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