Documentation ¶
Index ¶
- func CheckoutAndAnalyzeOperation(ctx context.Context, db gorp.SqlExecutor, proj sdk.Project, ...) (*sdk.Operation, error)
- func GetRepositoryOperation(ctx context.Context, db gorp.SqlExecutor, uuid string) (*sdk.Operation, error)
- func Poll(ctx context.Context, db gorp.SqlExecutor, operationUUID string) (*sdk.Operation, error)
- func PostRepositoryOperation(ctx context.Context, db gorp.SqlExecutor, prj sdk.Project, ope *sdk.Operation, ...) error
- func PushOperation(ctx context.Context, db gorpmapper.SqlExecutorWithTx, store cache.Store, ...) (*sdk.Operation, error)
- func PushOperationUpdate(ctx context.Context, db gorpmapper.SqlExecutorWithTx, store cache.Store, ...) (*sdk.Operation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckoutAndAnalyzeOperation ¶ added in v0.53.1
func GetRepositoryOperation ¶
func GetRepositoryOperation(ctx context.Context, db gorp.SqlExecutor, uuid string) (*sdk.Operation, error)
GetRepositoryOperation get repository operation status.
func PostRepositoryOperation ¶
func PostRepositoryOperation(ctx context.Context, db gorp.SqlExecutor, prj sdk.Project, ope *sdk.Operation, multipartData *services.MultiPartData) error
PostRepositoryOperation creates a new repository operation
func PushOperation ¶
func PushOperation(ctx context.Context, db gorpmapper.SqlExecutorWithTx, store cache.Store, proj sdk.Project, data exportentities.WorkflowComponents, vcsServerName, repoFullname, branch, message string, vcsStrategy sdk.RepositoryStrategy, u sdk.Identifiable) (*sdk.Operation, error)
func PushOperationUpdate ¶
func PushOperationUpdate(ctx context.Context, db gorpmapper.SqlExecutorWithTx, store cache.Store, proj sdk.Project, data exportentities.WorkflowComponents, vcsServerName, repoFullname, branch, message string, vcsStrategy sdk.RepositoryStrategy, u sdk.Identifiable) (*sdk.Operation, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.