daos

package
v0.0.0-...-1e95ff8 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateChange

func CreateChange(ctx context.Context, repositoryID primitive.ObjectID, change *models.Change) error

CreateChange creates a new Change.

func CreateChanges

func CreateChanges(ctx context.Context, repositoryID primitive.ObjectID, changes *[]models.Change) error

CreateChanges creates many new Changes.

func CreateChangesPerDay

func CreateChangesPerDay(ctx context.Context, repositoryID primitive.ObjectID, pipelineID primitive.ObjectID, changesPerDay *models.ChangesPerDay) error

CreateChangesPerDay creates a new ChangesPerDay.

func CreateChangesPerDays

func CreateChangesPerDays(ctx context.Context, repositoryID primitive.ObjectID, pipelineID primitive.ObjectID, changesPerDays *[]models.ChangesPerDay) error

CreateChangesPerDays creates many new ChangesPerDay.

func CreateCommit

func CreateCommit(ctx context.Context, repositoryID primitive.ObjectID, commit *models.Commit) error

CreateCommit creates a new Commit.

func CreateCommits

func CreateCommits(ctx context.Context, repositoryID primitive.ObjectID, commits *[]models.Commit) error

CreateCommits creates many new Commits.

func CreateDataflow

func CreateDataflow(ctx context.Context, dataflow *models.Dataflow) error

CreateDataflow creates a new Dataflow.

func CreateIncident

func CreateIncident(ctx context.Context, incident *models.Incident) error

CreateIncident creates a new Incident.

func CreateIncidents

func CreateIncidents(ctx context.Context, incidents *[]models.Incident) error

CreateIncidents creates many new Incidents.

func CreateIncidentsPerDay

func CreateIncidentsPerDay(ctx context.Context, deploymentID primitive.ObjectID, incidentsPerDay *models.IncidentsPerDay) error

CreateIncidentsPerDay creates a new IncidentsPerDay.

func CreateIncidentsPerDays

func CreateIncidentsPerDays(ctx context.Context, deploymentID primitive.ObjectID, incidentsPerDays *[]models.IncidentsPerDay) error

CreateIncidentsPerDays creates many new IncidentsPerDay.

func CreateIntegration

func CreateIntegration(ctx context.Context, integration *models.Integration) error

CreateIntegration creates a new Integration.

func CreatePipelineRun

func CreatePipelineRun(ctx context.Context, pipelineID primitive.ObjectID, pipelineRun *models.PipelineRun) error

CreatePipelineRun creates a new PipelineRun.

func CreatePipelineRuns

func CreatePipelineRuns(ctx context.Context, pipelineID primitive.ObjectID, pipelineRuns *[]models.PipelineRun) error

CreatePipelineRuns creates many new PipelineRuns.

func CreatePipelineRunsPerDay

func CreatePipelineRunsPerDay(ctx context.Context, pipelineID primitive.ObjectID, pipelineRunsPerDay *models.PipelineRunsPerDay) error

CreatePipelineRunsPerDay creates a new PipelineRunsPerDay.

func CreatePipelineRunsPerDays

func CreatePipelineRunsPerDays(ctx context.Context, pipelineID primitive.ObjectID, pipelineRunsPerDays *[]models.PipelineRunsPerDay) error

CreatePipelineRunsPerDays creates many new PipelineRunsPerDay.

func DeleteChange

func DeleteChange(ctx context.Context, changeID primitive.ObjectID) error

DeleteChange deletes an Change.

func DeleteChangesPerDay

func DeleteChangesPerDay(ctx context.Context, changesPerDayID primitive.ObjectID) error

DeleteChangesPerDay deletes a ChangesPerDay.

func DeleteCommit

func DeleteCommit(ctx context.Context, commitID primitive.ObjectID) error

DeleteCommit deletes an Commit.

func DeleteDataflow

func DeleteDataflow(ctx context.Context, objectID primitive.ObjectID) error

DeleteDataflow deletes an Dataflow.

func DeleteIncident

func DeleteIncident(ctx context.Context, incidentID primitive.ObjectID) error

DeleteIncident deletes an Incident.

func DeleteIncidentsPerDay

func DeleteIncidentsPerDay(ctx context.Context, incidentsPerDayID primitive.ObjectID) error

DeleteIncidentsPerDay deletes a IncidentsPerDay.

func DeleteIntegration

func DeleteIntegration(ctx context.Context, objectID primitive.ObjectID) error

DeleteIntegration deletes an Integration.

func DeletePipelineRun

func DeletePipelineRun(ctx context.Context, pipelineRunID primitive.ObjectID) error

DeletePipelineRun deletes an PipelineRun.

func DeletePipelineRunsPerDay

func DeletePipelineRunsPerDay(ctx context.Context, pipelineRunsPerDayID primitive.ObjectID) error

DeletePipelineRunsPerDay deletes a PipelineRunsPerDay.

func GetChange

func GetChange(ctx context.Context, changeID primitive.ObjectID, change *models.Change) error

GetChange retrieves an Change.

func GetChangesPerDay

func GetChangesPerDay(ctx context.Context, changesPerDayID primitive.ObjectID, changesPerDay *models.ChangesPerDay) error

GetChangesPerDay retrieves a ChangesPerDay.

func GetCommit

func GetCommit(ctx context.Context, commitID primitive.ObjectID, commit *models.Commit) error

GetCommit retrieves an Commit.

func GetDataflow

func GetDataflow(ctx context.Context, objectID primitive.ObjectID, dataflow *models.Dataflow) error

GetDataflow retrieves an Dataflow.

func GetIncident

func GetIncident(ctx context.Context, incidentID primitive.ObjectID, incident *models.Incident) error

GetIncident retrieves an Incident.

func GetIncidentsPerDay

func GetIncidentsPerDay(ctx context.Context, incidentsPerDayID primitive.ObjectID, incidentsPerDay *models.IncidentsPerDay) error

GetIncidentsPerDay retrieves a IncidentsPerDay.

func GetIntegration

func GetIntegration(ctx context.Context, objectID primitive.ObjectID, integration *models.Integration) error

GetIntegration retrieves an Integration.

func GetPipelineRun

func GetPipelineRun(ctx context.Context, pipelineRunID primitive.ObjectID, pipelineRun *models.PipelineRun) error

GetPipelineRun retrieves an PipelineRun.

func GetPipelineRunsPerDay

func GetPipelineRunsPerDay(ctx context.Context, pipelineRunsPerDayID primitive.ObjectID, pipelineRunsPerDay *models.PipelineRunsPerDay) error

GetPipelineRunsPerDay retrieves a PipelineRunsPerDay.

func ListChanges

func ListChanges(ctx context.Context, repositoryID primitive.ObjectID, changes *[]models.Change) error

ListChanges retrieves many Changes.

func ListChangesByFilter

func ListChangesByFilter(ctx context.Context, filter bson.M, changes *[]models.Change) error

ListChangesByFilter retrieves many Changes conforming to a filter.

func ListChangesPerDays

func ListChangesPerDays(ctx context.Context, repositoryID primitive.ObjectID, pipelineID primitive.ObjectID, changesPerDay *[]models.ChangesPerDay) error

ListChangesPerDays retrieves many ChangesPerDay.

func ListChangesPerDaysByFilter

func ListChangesPerDaysByFilter(ctx context.Context, filter bson.M, changesPerDay *[]models.ChangesPerDay) error

ListChangesPerDaysByFilter retrieves many ChangesPerDay conforming to a filter.

func ListCommits

func ListCommits(ctx context.Context, repositoryID primitive.ObjectID, commits *[]models.Commit) error

ListCommits retrieves many Commits.

func ListCommitsByFilter

func ListCommitsByFilter(ctx context.Context, filter bson.M, commits *[]models.Commit) error

ListCommitsByFilter retrieves many Commits conforming to a filter.

func ListDataflows

func ListDataflows(ctx context.Context, dataflows *[]models.Dataflow) error

ListDataflows retrieves many Dataflows.

func ListDataflowsByFilter

func ListDataflowsByFilter(ctx context.Context, filter bson.M, dataflows *[]models.Dataflow) error

ListDataflowsByFilter retrieves many Dataflows conforming to a filter. TODO change to pass a struct instead of bson.M

func ListIncidents

func ListIncidents(ctx context.Context, deploymentID primitive.ObjectID, incidents *[]models.Incident) error

ListIncidents retrieves many Incidents.

func ListIncidentsByFilter

func ListIncidentsByFilter(ctx context.Context, filter bson.M, incidents *[]models.Incident) error

ListIncidentsByFilter retrieves many Incidents conforming to a filter.

func ListIncidentsPerDays

func ListIncidentsPerDays(ctx context.Context, deploymentID primitive.ObjectID, incidentsPerDay *[]models.IncidentsPerDay) error

ListIncidentsPerDays retrieves many IncidentsPerDay.

func ListIncidentsPerDaysByFilter

func ListIncidentsPerDaysByFilter(ctx context.Context, filter bson.M, incidentsPerDay *[]models.IncidentsPerDay) error

ListIncidentsPerDaysByFilter retrieves many IncidentsPerDay conforming to a filter.

func ListIntegrations

func ListIntegrations(ctx context.Context, integrations *[]models.Integration) error

ListIntegrations retrieves many Integrations.

func ListIntegrationsByFilter

func ListIntegrationsByFilter(ctx context.Context, filter bson.M, integrations *[]models.Integration) error

ListIntegrationsByFilter retrieves many Integrations conforming to a filter. TODO change to pass a struct instead of bson.M

func ListPipelineRuns

func ListPipelineRuns(ctx context.Context, pipelineID primitive.ObjectID, pipelineRuns *[]models.PipelineRun) error

ListPipelineRuns retrieves many PipelineRuns.

func ListPipelineRunsByFilter

func ListPipelineRunsByFilter(ctx context.Context, filter bson.M, pipelineRuns *[]models.PipelineRun) error

ListPipelineRunsByFilter retrieves many PipelineRuns conforming to a filter.

func ListPipelineRunsPerDays

func ListPipelineRunsPerDays(ctx context.Context, pipelineID primitive.ObjectID, pipelineRunsPerDay *[]models.PipelineRunsPerDay) error

ListPipelineRunsPerDays retrieves many PipelineRunsPerDay.

func ListPipelineRunsPerDaysByFilter

func ListPipelineRunsPerDaysByFilter(ctx context.Context, filter bson.M, pipelineRunsPerDay *[]models.PipelineRunsPerDay) error

ListPipelineRunsPerDaysByFilter retrieves many PipelineRunsPerDay conforming to a filter.

func UpdateChange

func UpdateChange(ctx context.Context, changeID primitive.ObjectID, change *models.Change) error

UpdateChange updates an Change.

func UpdateChangesPerDay

func UpdateChangesPerDay(ctx context.Context, changesPerDayID primitive.ObjectID, changesPerDay *models.ChangesPerDay) error

UpdateChangesPerDay updates a ChangesPerDay.

func UpdateCommit

func UpdateCommit(ctx context.Context, commitID primitive.ObjectID, commit *models.Commit) error

UpdateCommit updates an Commit.

func UpdateDataflow

func UpdateDataflow(ctx context.Context, objectID primitive.ObjectID, dataflow *models.Dataflow) error

UpdateDataflow updates an Dataflow.

func UpdateIncident

func UpdateIncident(ctx context.Context, incidentID primitive.ObjectID, incident *models.Incident) error

UpdateIncident updates an Incident.

func UpdateIncidentsPerDay

func UpdateIncidentsPerDay(ctx context.Context, incidentsPerDayID primitive.ObjectID, incidentsPerDay *models.IncidentsPerDay) error

UpdateIncidentsPerDay updates a IncidentsPerDay.

func UpdateIntegration

func UpdateIntegration(ctx context.Context, objectID primitive.ObjectID, integration *models.Integration) error

UpdateIntegration updates an Integration.

func UpdatePipelineRun

func UpdatePipelineRun(ctx context.Context, pipelineRunID primitive.ObjectID, pipelineRun *models.PipelineRun) error

UpdatePipelineRun updates an PipelineRun.

func UpdatePipelineRunsPerDay

func UpdatePipelineRunsPerDay(ctx context.Context, pipelineRunsPerDayID primitive.ObjectID, pipelineRunsPerDay *models.PipelineRunsPerDay) error

UpdatePipelineRunsPerDay updates a PipelineRunsPerDay.

Types

This section is empty.

Jump to

Keyboard shortcuts

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