Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildJobHandler ¶
type BuildJobHandler struct {
// contains filtered or unexported fields
}
func NewBuildJobHandler ¶
func NewBuildJobHandler(runnerConfig *config.Config) *BuildJobHandler
func (*BuildJobHandler) Run ¶
func (h *BuildJobHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (interface{}, error)
func (*BuildJobHandler) WithHttpClientProvider ¶
func (h *BuildJobHandler) WithHttpClientProvider(httpClientProvider httpclient.Provider) *BuildJobHandler
type BuildJobInputs ¶
type BuildJobInputs struct {
JobName string `json:"jobName,omitempty"`
BuildWithParameters *BuildWithParameters `json:"buildWithParameters,omitempty"`
}
type BuildJobOutputs ¶
type BuildJobOutputs struct{}
type BuildWithParameters ¶
type BuildWithParameters struct {
Option BuildWithParametersOption `json:"option,omitempty"`
Parameters map[string]string `json:"parameters,omitempty"`
}
type BuildWithParametersOption ¶
type BuildWithParametersOption = string
const ( NoParameters BuildWithParametersOption = "no_parameters" WithParameters BuildWithParametersOption = "with_parameters" )
type DeleteJobHandler ¶
type DeleteJobHandler struct {
// contains filtered or unexported fields
}
func NewDeleteJobHandler ¶
func NewDeleteJobHandler(runnerConfig *config.Config) *DeleteJobHandler
func (*DeleteJobHandler) Run ¶
func (h *DeleteJobHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (interface{}, error)
func (*DeleteJobHandler) WithHttpClientProvider ¶
func (h *DeleteJobHandler) WithHttpClientProvider(httpClientProvider httpclient.Provider) *DeleteJobHandler
type DeleteJobInputs ¶
type DeleteJobInputs struct {
JobName string `json:"jobName,omitempty"`
}
type DeleteJobOutputs ¶
type DeleteJobOutputs struct{}
type DomainAndHeaders ¶
type GetJobStatusHandler ¶
type GetJobStatusHandler struct {
// contains filtered or unexported fields
}
func NewGetJobStatusHandler ¶
func NewGetJobStatusHandler(runnerConfig *config.Config) *GetJobStatusHandler
func (*GetJobStatusHandler) Run ¶
func (h *GetJobStatusHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (interface{}, error)
func (*GetJobStatusHandler) WithHttpClientProvider ¶
func (h *GetJobStatusHandler) WithHttpClientProvider(httpClientProvider httpclient.Provider) *GetJobStatusHandler
type GetJobStatusInputs ¶
type GetJobStatusInputs struct {
JobName string `json:"jobName,omitempty"`
}
type GetJobStatusOutputs ¶
type GetJobStatusOutputs struct {
DisplayName string `json:"displayName,omitempty"`
Duration int `json:"duration,omitempty"`
EstimatedDuration int `json:"estimatedDuration,omitempty"`
ID string `json:"id,omitempty"`
InProgress bool `json:"inProgress,omitempty"`
Result string `json:"result,omitempty"`
URL string `json:"url,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.