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

distributedtaskcommon

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationHeader

type AuthorizationHeader struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type DataSourceBindingBase

type DataSourceBindingBase struct {
	// Pagination format supported by this data source(ContinuationToken/SkipTop).
	CallbackContextTemplate *string `json:"callbackContextTemplate,omitempty"`
	// Subsequent calls needed?
	CallbackRequiredTemplate *string `json:"callbackRequiredTemplate,omitempty"`
	// Gets or sets the name of the data source.
	DataSourceName *string `json:"dataSourceName,omitempty"`
	// Gets or sets the endpoint Id.
	EndpointId *string `json:"endpointId,omitempty"`
	// Gets or sets the url of the service endpoint.
	EndpointUrl *string `json:"endpointUrl,omitempty"`
	// Gets or sets the authorization headers.
	Headers *[]AuthorizationHeader `json:"headers,omitempty"`
	// Defines the initial value of the query params
	InitialContextTemplate *string `json:"initialContextTemplate,omitempty"`
	// Gets or sets the parameters for the data source.
	Parameters *map[string]string `json:"parameters,omitempty"`
	// Gets or sets http request body
	RequestContent *string `json:"requestContent,omitempty"`
	// Gets or sets http request verb
	RequestVerb *string `json:"requestVerb,omitempty"`
	// Gets or sets the result selector.
	ResultSelector *string `json:"resultSelector,omitempty"`
	// Gets or sets the result template.
	ResultTemplate *string `json:"resultTemplate,omitempty"`
	// Gets or sets the target of the data source.
	Target *string `json:"target,omitempty"`
}

Represents binding of data source for the service endpoint request.

type ProcessParameters

type ProcessParameters struct {
	DataSourceBindings *[]DataSourceBindingBase    `json:"dataSourceBindings,omitempty"`
	Inputs             *[]TaskInputDefinitionBase  `json:"inputs,omitempty"`
	SourceDefinitions  *[]TaskSourceDefinitionBase `json:"sourceDefinitions,omitempty"`
}

type TaskInputDefinitionBase

type TaskInputDefinitionBase struct {
	Aliases      *[]string            `json:"aliases,omitempty"`
	DefaultValue *string              `json:"defaultValue,omitempty"`
	GroupName    *string              `json:"groupName,omitempty"`
	HelpMarkDown *string              `json:"helpMarkDown,omitempty"`
	Label        *string              `json:"label,omitempty"`
	Name         *string              `json:"name,omitempty"`
	Options      *map[string]string   `json:"options,omitempty"`
	Properties   *map[string]string   `json:"properties,omitempty"`
	Required     *bool                `json:"required,omitempty"`
	Type         *string              `json:"type,omitempty"`
	Validation   *TaskInputValidation `json:"validation,omitempty"`
	VisibleRule  *string              `json:"visibleRule,omitempty"`
}

type TaskInputValidation

type TaskInputValidation struct {
	// Conditional expression
	Expression *string `json:"expression,omitempty"`
	// Message explaining how user can correct if validation fails
	Message *string `json:"message,omitempty"`
}

type TaskSourceDefinitionBase

type TaskSourceDefinitionBase struct {
	AuthKey     *string `json:"authKey,omitempty"`
	Endpoint    *string `json:"endpoint,omitempty"`
	KeySelector *string `json:"keySelector,omitempty"`
	Selector    *string `json:"selector,omitempty"`
	Target      *string `json:"target,omitempty"`
}

Jump to

Keyboard shortcuts

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