com_datadoghq_jenkins

package
v0.0.0-...-b671e1d Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

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 DomainAndHeaders struct {
	Domain  string
	Headers http.Header
}

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"`
}

type Jenkins

type Jenkins struct {
	// contains filtered or unexported fields
}

func NewJenkins

func NewJenkins(runnerConfig *config.Config) *Jenkins

func (*Jenkins) GetAction

func (h *Jenkins) GetAction(actionName string) types.Action

Jump to

Keyboard shortcuts

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