Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TaskName is the name of the HTTP request task TaskName string = "notification/http" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Inputs ¶
type Inputs struct {
URL string `json:"URL" yaml:"URL"`
Method *v2alpha2.MethodType `json:"method,omitempty" yaml:"method,omitempty"`
AuthType *v2alpha2.AuthType `json:"authType,omitempty" yaml:"authType,omitempty"`
Secret *string `json:"secret,omitempty" yaml:"secret,omitempty"`
Headers []v2alpha2.NamedValue `json:"headers,omitempty" yaml:"headers,omitempty"`
Body *string `json:"body,omitempty" yaml:"body,omitempty"`
VersionInfo []core.VersionInfo `json:"versionInfo,omitempty" yaml:"versionInfo,omitempty"`
IgnoreFailure *bool `json:"ignoreFailure,omitempty" yaml:"ignoreFailure,omitempty"`
}
Inputs contain the name and arguments of the task.
Click to show internal directories.
Click to hide internal directories.