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 PublishEventsArgs ¶
type PublishEventsArgs struct {
// (required)
Events *[]ClientTraceEvent
}
Arguments for the PublishEvents function
Click to show internal directories.
Click to hide internal directories.