Documentation
¶
Index ¶
- func NewGitlabPipelines() types.Bundle
- type CancelPipelineBuildHandler
- type CancelPipelineBuildInputs
- type CancelPipelineBuildOutputs
- type CreatePipelineHandler
- type CreatePipelineInputs
- type CreatePipelineOptions
- type CreatePipelineOutputs
- type DeletePipelineHandler
- type DeletePipelineInputs
- type DeletePipelineOutputs
- type GetLatestPipelineHandler
- type GetLatestPipelineInputs
- type GetLatestPipelineOutputs
- type GetPipelineHandler
- type GetPipelineInputs
- type GetPipelineOutputs
- type GetPipelineTestReportHandler
- type GetPipelineTestReportInputs
- type GetPipelineTestReportOutputs
- type GetPipelineVariablesHandler
- type GetPipelineVariablesInputs
- type GetPipelineVariablesOutputs
- type GitlabPipelinesBundle
- type ListProjectPipelinesHandler
- type ListProjectPipelinesInputs
- type ListProjectPipelinesOutputs
- type RetryPipelineBuildHandler
- type RetryPipelineBuildInputs
- type RetryPipelineBuildOutputs
- type UpdatePipelineMetadataHandler
- type UpdatePipelineMetadataInputs
- type UpdatePipelineMetadataOutputs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitlabPipelines ¶
Types ¶
type CancelPipelineBuildHandler ¶
type CancelPipelineBuildHandler struct{}
func NewCancelPipelineBuildHandler ¶
func NewCancelPipelineBuildHandler() *CancelPipelineBuildHandler
func (*CancelPipelineBuildHandler) Run ¶
func (h *CancelPipelineBuildHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type CreatePipelineHandler ¶
type CreatePipelineHandler struct{}
func NewCreatePipelineHandler ¶
func NewCreatePipelineHandler() *CreatePipelineHandler
func (*CreatePipelineHandler) Run ¶
func (h *CreatePipelineHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type CreatePipelineInputs ¶
type CreatePipelineInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
*CreatePipelineOptions
}
type CreatePipelineOptions ¶
type CreatePipelineOptions struct {
*gitlab.CreatePipelineOptions
// Inputs are not included in gitlab.CreatePipelineOptions so we add it manually
// TODO: remove this after bumping the sdk version
Inputs map[string]any `json:"inputs,omitempty"`
}
type CreatePipelineOutputs ¶
type DeletePipelineHandler ¶
type DeletePipelineHandler struct{}
func NewDeletePipelineHandler ¶
func NewDeletePipelineHandler() *DeletePipelineHandler
func (*DeletePipelineHandler) Run ¶
func (h *DeletePipelineHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type DeletePipelineInputs ¶
type DeletePipelineOutputs ¶
type DeletePipelineOutputs struct{}
type GetLatestPipelineHandler ¶
type GetLatestPipelineHandler struct{}
func NewGetLatestPipelineHandler ¶
func NewGetLatestPipelineHandler() *GetLatestPipelineHandler
func (*GetLatestPipelineHandler) Run ¶
func (h *GetLatestPipelineHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type GetLatestPipelineInputs ¶
type GetLatestPipelineInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
*gitlab.GetLatestPipelineOptions
}
type GetPipelineHandler ¶
type GetPipelineHandler struct{}
func NewGetPipelineHandler ¶
func NewGetPipelineHandler() *GetPipelineHandler
func (*GetPipelineHandler) Run ¶
func (h *GetPipelineHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type GetPipelineInputs ¶
type GetPipelineOutputs ¶
type GetPipelineTestReportHandler ¶
type GetPipelineTestReportHandler struct{}
func NewGetPipelineTestReportHandler ¶
func NewGetPipelineTestReportHandler() *GetPipelineTestReportHandler
func (*GetPipelineTestReportHandler) Run ¶
func (h *GetPipelineTestReportHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type GetPipelineTestReportOutputs ¶
type GetPipelineTestReportOutputs struct {
PipelineTestReport *gitlab.PipelineTestReport `json:"pipeline_test_report"`
}
type GetPipelineVariablesHandler ¶
type GetPipelineVariablesHandler struct{}
func NewGetPipelineVariablesHandler ¶
func NewGetPipelineVariablesHandler() *GetPipelineVariablesHandler
func (*GetPipelineVariablesHandler) Run ¶
func (h *GetPipelineVariablesHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type GetPipelineVariablesOutputs ¶
type GetPipelineVariablesOutputs struct {
PipelineVariables []*gitlab.PipelineVariable `json:"pipeline_variables"`
}
type GitlabPipelinesBundle ¶
type GitlabPipelinesBundle struct {
// contains filtered or unexported fields
}
type ListProjectPipelinesHandler ¶
type ListProjectPipelinesHandler struct{}
func NewListProjectPipelinesHandler ¶
func NewListProjectPipelinesHandler() *ListProjectPipelinesHandler
func (*ListProjectPipelinesHandler) Run ¶
func (h *ListProjectPipelinesHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type ListProjectPipelinesInputs ¶
type ListProjectPipelinesInputs struct {
ProjectID support.GitlabID `json:"project_id,omitempty"`
*gitlab.ListProjectPipelinesOptions
}
type ListProjectPipelinesOutputs ¶
type ListProjectPipelinesOutputs struct {
Pipelines []*gitlab.PipelineInfo `json:"pipelines"`
}
type RetryPipelineBuildHandler ¶
type RetryPipelineBuildHandler struct{}
func NewRetryPipelineBuildHandler ¶
func NewRetryPipelineBuildHandler() *RetryPipelineBuildHandler
func (*RetryPipelineBuildHandler) Run ¶
func (h *RetryPipelineBuildHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type UpdatePipelineMetadataHandler ¶
type UpdatePipelineMetadataHandler struct{}
func NewUpdatePipelineMetadataHandler ¶
func NewUpdatePipelineMetadataHandler() *UpdatePipelineMetadataHandler
func (*UpdatePipelineMetadataHandler) Run ¶
func (h *UpdatePipelineMetadataHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type UpdatePipelineMetadataInputs ¶
type UpdatePipelineMetadataInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
PipelineId int64 `json:"pipeline_id,omitempty"`
*gitlab.UpdatePipelineMetadataOptions
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.