Documentation
¶
Index ¶
- func NewGitlabDeployments() types.Bundle
- type ApproveOrRejectProjectDeploymentHandler
- type ApproveOrRejectProjectDeploymentInputs
- type ApproveOrRejectProjectDeploymentOutputs
- type CreateProjectDeploymentHandler
- type CreateProjectDeploymentInputs
- type CreateProjectDeploymentOutputs
- type DeleteProjectDeploymentHandler
- type DeleteProjectDeploymentInputs
- type DeleteProjectDeploymentOutputs
- type GetProjectDeploymentHandler
- type GetProjectDeploymentInputs
- type GetProjectDeploymentOutputs
- type GitlabDeploymentsBundle
- type ListProjectDeploymentsHandler
- type ListProjectDeploymentsInputs
- type ListProjectDeploymentsOutputs
- type UpdateProjectDeploymentHandler
- type UpdateProjectDeploymentInputs
- type UpdateProjectDeploymentOutputs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitlabDeployments ¶
Types ¶
type ApproveOrRejectProjectDeploymentHandler ¶
type ApproveOrRejectProjectDeploymentHandler struct{}
func NewApproveOrRejectProjectDeploymentHandler ¶
func NewApproveOrRejectProjectDeploymentHandler() *ApproveOrRejectProjectDeploymentHandler
func (*ApproveOrRejectProjectDeploymentHandler) Run ¶
func (h *ApproveOrRejectProjectDeploymentHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type ApproveOrRejectProjectDeploymentInputs ¶
type ApproveOrRejectProjectDeploymentInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
DeploymentId int64 `json:"deployment_id,omitempty"`
*gitlab.ApproveOrRejectProjectDeploymentOptions
}
type ApproveOrRejectProjectDeploymentOutputs ¶
type ApproveOrRejectProjectDeploymentOutputs struct{}
type CreateProjectDeploymentHandler ¶
type CreateProjectDeploymentHandler struct{}
func NewCreateProjectDeploymentHandler ¶
func NewCreateProjectDeploymentHandler() *CreateProjectDeploymentHandler
func (*CreateProjectDeploymentHandler) Run ¶
func (h *CreateProjectDeploymentHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type CreateProjectDeploymentInputs ¶
type CreateProjectDeploymentInputs struct {
ProjectID support.GitlabID `json:"project_id,omitempty"`
*gitlab.CreateProjectDeploymentOptions
}
type CreateProjectDeploymentOutputs ¶
type CreateProjectDeploymentOutputs struct {
Deployment *gitlab.Deployment `json:"deployment"`
}
type DeleteProjectDeploymentHandler ¶
type DeleteProjectDeploymentHandler struct{}
func NewDeleteProjectDeploymentHandler ¶
func NewDeleteProjectDeploymentHandler() *DeleteProjectDeploymentHandler
func (*DeleteProjectDeploymentHandler) Run ¶
func (h *DeleteProjectDeploymentHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type DeleteProjectDeploymentOutputs ¶
type DeleteProjectDeploymentOutputs struct{}
type GetProjectDeploymentHandler ¶
type GetProjectDeploymentHandler struct{}
func NewGetProjectDeploymentHandler ¶
func NewGetProjectDeploymentHandler() *GetProjectDeploymentHandler
func (*GetProjectDeploymentHandler) Run ¶
func (h *GetProjectDeploymentHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type GetProjectDeploymentOutputs ¶
type GetProjectDeploymentOutputs struct {
Deployment *gitlab.Deployment `json:"deployment"`
}
type GitlabDeploymentsBundle ¶
type GitlabDeploymentsBundle struct {
// contains filtered or unexported fields
}
type ListProjectDeploymentsHandler ¶
type ListProjectDeploymentsHandler struct{}
func NewListProjectDeploymentsHandler ¶
func NewListProjectDeploymentsHandler() *ListProjectDeploymentsHandler
func (*ListProjectDeploymentsHandler) Run ¶
func (h *ListProjectDeploymentsHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type ListProjectDeploymentsInputs ¶
type ListProjectDeploymentsInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
*gitlab.ListProjectDeploymentsOptions
}
type ListProjectDeploymentsOutputs ¶
type ListProjectDeploymentsOutputs struct {
Deployments []*gitlab.Deployment `json:"deployments"`
}
type UpdateProjectDeploymentHandler ¶
type UpdateProjectDeploymentHandler struct{}
func NewUpdateProjectDeploymentHandler ¶
func NewUpdateProjectDeploymentHandler() *UpdateProjectDeploymentHandler
func (*UpdateProjectDeploymentHandler) Run ¶
func (h *UpdateProjectDeploymentHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type UpdateProjectDeploymentInputs ¶
type UpdateProjectDeploymentInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
DeploymentId int64 `json:"deployment_id,omitempty"`
*gitlab.UpdateProjectDeploymentOptions
}
type UpdateProjectDeploymentOutputs ¶
type UpdateProjectDeploymentOutputs struct {
Deployment *gitlab.Deployment `json:"deployment"`
}
Click to show internal directories.
Click to hide internal directories.