Documentation ¶
Index ¶
- type CloneCredential
- type CloneCredentialType
- type CommandExecution
- type Database
- func (db *Database) AssignSecretToPipeline(pipelineId uuid.UUID, secretId uuid.UUID) error
- func (db *Database) CreateCredential(name string, credentialtype CloneCredentialType, username string, ...) (CloneCredential, error)
- func (db *Database) CreatePipeline(name string, url string, pollInterval int, credential *uuid.UUID) (Pipeline, error)
- func (db *Database) CreateRun(pipelineId uuid.UUID) (Run, error)
- func (db *Database) CreateRunner(name string) (Runner, error)
- func (db *Database) CreateSecret(name string, secret string) (Secret, error)
- func (db *Database) CreateWebhook(serverType WebhookSender, pipelineId uuid.UUID) (Webhook, error)
- func (db *Database) GetCloneCredentialById(id uuid.UUID) (CloneCredential, error)
- func (db *Database) GetCredentials() ([]CloneCredential, error)
- func (db *Database) GetPipelineById(id uuid.UUID) (Pipeline, error)
- func (db *Database) GetPipelineRefs(pipelineId uuid.UUID) (map[string]string, error)
- func (db *Database) GetPipelines() ([]Pipeline, error)
- func (db *Database) GetRunnerById(id uuid.UUID) (Runner, error)
- func (db *Database) GetRunners() ([]Runner, error)
- func (db *Database) GetRunsForPipeline(pipelineId uuid.UUID) ([]Run, error)
- func (db *Database) GetSecretById(id uuid.UUID) (Secret, error)
- func (db *Database) GetSecrets() ([]Secret, error)
- func (db *Database) GetSecretsForPipeline(pipelineId uuid.UUID) ([]Secret, error)
- func (db *Database) GetWebhookById(id uuid.UUID) (Webhook, error)
- func (db *Database) GetWebhooksForPipeline(id uuid.UUID) ([]Webhook, error)
- func (db *Database) RemovePipelineCredential(pipelineId uuid.UUID) (Pipeline, error)
- func (db *Database) RemoveSecretFromPipeline(pipelineId uuid.UUID, secretId uuid.UUID) error
- func (db *Database) SetPipelineCloneCredential(pipelineId uuid.UUID, credentialId *uuid.UUID) (Pipeline, error)
- func (db *Database) UpdatePipeline(pipelineId uuid.UUID, name *string, url *string, pollInterval *int) (Pipeline, error)
- func (db *Database) UpdatePipelineRefs(pipelineId uuid.UUID, refsMap map[string]string) error
- func (db *Database) UpdateRunBuildOutput(runId uuid.UUID, buildResult string) error
- func (db *Database) UpdateRunResult(r Run) error
- type Pipeline
- type PipelineSecretMapping
- type Run
- type Runner
- type Secret
- type Webhook
- type WebhookSender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloneCredential ¶
type CloneCredentialType ¶
type CloneCredentialType string
const ( USER_PASS CloneCredentialType = "USER_PASS" SSH_KEY CloneCredentialType = "SSH_KEY" )
type CommandExecution ¶
type Database ¶
func (*Database) AssignSecretToPipeline ¶
func (*Database) CreateCredential ¶
func (db *Database) CreateCredential(name string, credentialtype CloneCredentialType, username string, secret string) (CloneCredential, error)
func (*Database) CreatePipeline ¶
func (*Database) CreateSecret ¶
func (*Database) CreateWebhook ¶
func (*Database) GetCloneCredentialById ¶
func (db *Database) GetCloneCredentialById(id uuid.UUID) (CloneCredential, error)
func (*Database) GetCredentials ¶
func (db *Database) GetCredentials() ([]CloneCredential, error)
func (*Database) GetPipelineById ¶
func (*Database) GetPipelineRefs ¶
func (*Database) GetPipelines ¶
func (*Database) GetRunners ¶
func (*Database) GetRunsForPipeline ¶
func (*Database) GetSecrets ¶
func (*Database) GetSecretsForPipeline ¶
func (*Database) GetWebhooksForPipeline ¶
func (*Database) RemovePipelineCredential ¶
func (*Database) RemoveSecretFromPipeline ¶
func (*Database) SetPipelineCloneCredential ¶
func (*Database) UpdatePipeline ¶ added in v0.2.0
func (*Database) UpdatePipelineRefs ¶
func (*Database) UpdateRunBuildOutput ¶
func (*Database) UpdateRunResult ¶
type PipelineSecretMapping ¶
Click to show internal directories.
Click to hide internal directories.