Help us shape the future of Go! Take the 2026 Go Developer Survey

clienttrace

package
v6.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 6 Imported by: 0

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