Documentation
¶
Index ¶
- func New(params Params) *service
- func PrependRunEnvPrefix(runEnvVars map[string]string) map[string]string
- type AddActionLabelsRequest
- type ConnectedGithubVCSActionWorkflowConfigRequest
- type CreateActionWorkflowConfigRequest
- type CreateActionWorkflowConfigStepRequest
- type CreateActionWorkflowConfigTriggerRequest
- type CreateAdHocActionRequest
- type CreateAdHocActionResponse
- type CreateAppActionRequest
- type CreateAppActionWorkflowRequest
- type CreateInstallActionWorkflowRunRequest
- type Params
- type PublicGitVCSActionWorkflowConfigRequest
- type RemoveActionLabelsRequest
- type RestartActionWorkflowRequest
- type UpdateActionRequest
- type UpdateActionWorkflowRequest
- type UpdateInstallActionWorkflowRunStepRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddActionLabelsRequest ¶ added in v0.19.894
type CreateActionWorkflowConfigRequest ¶
type CreateActionWorkflowConfigRequest struct {
AppConfigID string `json:"app_config_id" validate:"required"`
Triggers []CreateActionWorkflowConfigTriggerRequest `json:"triggers" validate:"required,dive"`
Steps []CreateActionWorkflowConfigStepRequest `json:"steps" validate:"required,dive"`
Timeout time.Duration `json:"timeout" swaggertype:"primitive,integer"`
Dependencies []string `json:"dependencies"`
References []string `json:"references"`
BreakGlassRoleARN string `json:"break_glass_role_arn"`
Role string `json:"role,omitempty"`
EnableKubeConfig *bool `json:"enable_kube_config" swaggertype:"boolean" extensions:"x-nullable"`
KubernetesContext string `json:"kubernetes_context,omitempty"`
}
type CreateActionWorkflowConfigStepRequest ¶
type CreateActionWorkflowConfigStepRequest struct {
Name string `json:"name" validate:"required"`
EnvVars map[string]*string `json:"env_vars"`
Command string `json:"command"`
InlineContents string `json:"inline_contents"`
References []string `json:"references"`
// contains filtered or unexported fields
}
type CreateActionWorkflowConfigTriggerRequest ¶
type CreateActionWorkflowConfigTriggerRequest struct {
Index int `json:"index,omitempty" swaggertype:"primitive,integer"`
Type app.ActionWorkflowTriggerType `json:"type" validate:"required"`
CronSchedule string `json:"cron_schedule,omitempty" validate:"cron_schedule"`
ComponentName string `json:"component_name"`
}
type CreateAdHocActionRequest ¶ added in v0.19.784
type CreateAdHocActionRequest struct {
InlineContents string `json:"inline_contents" validate:"required_without=Command"`
Command string `json:"command" validate:"required_without=InlineContents"`
EnvVars map[string]string `json:"env_vars"`
Timeout int `json:"timeout,omitempty" validate:"omitempty,min=1,max=3600"`
Name string `json:"name" validate:"max=255"`
Role string `json:"role"`
EnableKubeConfig *bool `json:"enable_kube_config" extensions:"x-nullable"`
}
type CreateAdHocActionResponse ¶ added in v0.19.784
type CreateAdHocActionResponse struct {
ID string `json:"id"`
InstallID string `json:"install_id"`
Status app.InstallActionWorkflowRunStatus `json:"status"`
StatusDescription string `json:"status_description"`
TriggerType app.ActionWorkflowTriggerType `json:"trigger_type"`
CreatedAt time.Time `json:"created_at"`
WorkflowID string `json:"workflow_id"`
}
type CreateAppActionRequest ¶
type CreateAppActionRequest struct {
Name string `json:"name"`
}
type CreateAppActionWorkflowRequest ¶
type CreateInstallActionWorkflowRunRequest ¶
type Params ¶
type Params struct {
fx.In
V *validator.Validate
DB *gorm.DB `name:"psql"`
Cfg *internal.Config
VcsHelpers *vcshelpers.Helpers
CompHelpers *comphelpers.Helpers
Helpers *actionshelpers.Helpers
InstallHelpers *installhelpers.Helpers
EndpointAudit *apiPkg.EndpointAudit
FeaturesClient *features.Features
QueueClient *queueclient.Client
}
type RemoveActionLabelsRequest ¶ added in v0.19.894
type RemoveActionLabelsRequest struct {
Keys []string `json:"keys" validate:"required"`
}
type RestartActionWorkflowRequest ¶
type RestartActionWorkflowRequest struct{}
type UpdateActionRequest ¶
type UpdateActionRequest struct {
Name string `json:"name"`
}
type UpdateActionWorkflowRequest ¶
type UpdateInstallActionWorkflowRunStepRequest ¶
type UpdateInstallActionWorkflowRunStepRequest struct {
Status app.InstallActionWorkflowRunStepStatus `json:"status"`
ExecutionDuration time.Duration `json:"execution_duration" swaggertype:"primitive,integer"`
}
Source Files
¶
- add_action_labels.go
- admin_restart_action.go
- create_action_workflow_config.go
- create_adhoc_action.go
- create_app_action_workflow.go
- create_install_action_run.go
- create_install_action_workflow_run.go
- delete_action_workflow.go
- get_action_label_keys.go
- get_action_workflow.go
- get_action_workflow_config.go
- get_action_workflow_configs.go
- get_action_workflow_latest_config.go
- get_app_action_workflow.go
- get_app_action_workflows.go
- get_install_action_workflow.go
- get_install_action_workflow_recent_runs.go
- get_install_action_workflow_run.go
- get_install_action_workflow_run_step.go
- get_install_action_workflow_runs.go
- get_install_action_workflows.go
- get_install_action_workflows_latest_runs.go
- remove_action_labels.go
- service.go
- shared_vcs_configs.go
- signal_helpers.go
- update_action_workflow.go
- update_install_action_workflow_run_step.go
Click to show internal directories.
Click to hide internal directories.