IGitLabProvider Interface

Summary

Provides the implementation of the Cake aliases defined by GitLabAliases
Assembly
Cake.GitLab.dll
Namespace
Cake.GitLab
Implementing Types
graph BT Type["IGitLabProvider"] class Type type-node Implementing0["DefaultGitLabProvider"]-.->Type click Implementing0 "/api/Cake.GitLab/DefaultGitLabProvider"

Syntax

public interface IGitLabProvider

Attributes

Type Description
NullableContextAttribute

Methods

Name Value Summary
GetPipelineAsync(string, string, ProjectId, long) Task<Pipeline>
Implements the functionality of Cake.GitLab.GitLabAliases.GitLabGetPipelineAsync(Cake.Core.ICakeContext,System.String,System.String,NGitLab.Models.ProjectId,System.Int64)
RepositoryCreateTagAsync(string, string, ProjectId, string, string) Task<Tag>
Implements the functionality of Cake.GitLab.GitLabAliases.GitLabRepositoryCreateTagAsync(Cake.Core.ICakeContext,System.String,System.String,NGitLab.Models.ProjectId,System.String,System.String)
RepositoryDownloadFileAsync(string, string, ProjectId, string, string, FilePath) Task
Implements the functionality of Cake.GitLab.GitLabAliases.GitLabRepositoryDownloadFileAsync(Cake.Core.ICakeContext,System.String,System.String,NGitLab.Models.ProjectId,System.String,System.String,Cake.Core.IO.FilePath)
RepositoryGetBranchesAsync(string, string, ProjectId) Task<IReadOnlyCollection<Branch>>
Implements the functionality of Cake.GitLab.GitLabAliases.GitLabRepositoryGetBranchesAsync(Cake.Core.ICakeContext,System.String,System.String,NGitLab.Models.ProjectId)
SetPipelineNameAsync(string, string, ProjectId, long, string) Task
Implements the functionality of Cake.GitLab.GitLabAliases.GitLabSetPipelineNameAsync(Cake.Core.ICakeContext,System.String,System.String,NGitLab.Models.ProjectId,System.Int64,System.String)
TryGetCurrentProjectIdentity() ProjectIdentity
Implements the functionality of Cake.GitLab.GitLabAliases.GitLabTryGetCurrentProjectIdentity(Cake.Core.ICakeContext)
TryGetCurrentServerIdentity() ServerIdentity
Implements the functionality of Cake.GitLab.GitLabAliases.GitLabTryGetCurrentServerIdentity(Cake.Core.ICakeContext)

Extension Methods

Name Value Summary
Dump<IGitLabProvider>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IGitLabProvider>(IGitLabProvider[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IGitLabProvider>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<IGitLabProvider>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<IGitLabProvider>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<IGitLabProvider>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin