Documentation
¶
Index ¶
- Constants
- Variables
- func GetDirectoryInHomeDirectory(path ...string) (directoryInHome files.Directory, err error)
- func GetFileInHomeDirectory(path ...string) (fileInHome files.File, err error)
- func GetGitignoreDefaultBaseName() (defaultBaseName string)
- func GetGitlabCiYamlDefaultBaseName() (defaultBaseName string)
- func GetSoftwareNameString() (name string)
- func GetSoftwareVersionString() (version string)
- func GitRepositoryDefaultCommitMessageForInitializeWithEmptyCommit() (msg string)
- func GitRepositryDefaultAuthorEmail() (email string)
- func GitRepositryDefaultAuthorName() (name string)
- func IsRunningAsRoot(verbose bool) (isRunningAsRoot bool, err error)
- func LogVersion()
- func MustGetDirectoryInHomeDirectory(path ...string) (directoryInHome files.Directory)
- func MustGetFileInHomeDirectory(path ...string) (fileInHome files.File)
- func MustIsRunningAsRoot(verbose bool) (isRunningAsRoot bool)
- func MustWhoAmI(verbose bool) (userName string)
- func WhoAmI(verbose bool) (userName string, err error)
- type BinaryInfo
- func (b *BinaryInfo) GetGitHash() (gitHash string, err error)
- func (b *BinaryInfo) GetGitHashOrErrorMessageOnError() (gitHash string)
- func (b *BinaryInfo) GetInfoString() (infoString string)
- func (b *BinaryInfo) GetSoftwareName() (softwareName string)
- func (b *BinaryInfo) GetSoftwareNameString() (version string)
- func (b *BinaryInfo) GetSoftwareVersionString() (version string)
- func (b *BinaryInfo) IsFallbackSoftwareNameSet() (isSet bool)
- func (b *BinaryInfo) IsSoftwareNameSet() (isSet bool)
- func (b *BinaryInfo) LogInfo()
- func (b *BinaryInfo) MustGetGitHash() (gitHash string)
- func (b *BinaryInfo) MustSetFallbackSoftwareName(defaultName string)
- func (b *BinaryInfo) SetFallbackSoftwareName(defaultName string) (err error)
- type CommandExecutorGitRepository
- func GetCommandExecutorGitRepositoryByPath(commandExecutor commandexecutor.CommandExecutor, path string) (gitRepo *CommandExecutorGitRepository, err error)
- func GetCommandExecutorGitRepositoryFromDirectory(directory files.Directory) (c *CommandExecutorGitRepository, err error)
- func GetLocalCommandExecutorGitRepositoryByDirectory(directory files.Directory) (gitRepo *CommandExecutorGitRepository, err error)
- func GetLocalCommandExecutorGitRepositoryByPath(path string) (gitRepo *CommandExecutorGitRepository, err error)
- func MustGetCommandExecutorGitRepositoryByPath(commandExecutor commandexecutor.CommandExecutor, path string) (gitRepo *CommandExecutorGitRepository)
- func MustGetCommandExecutorGitRepositoryFromDirectory(directory files.Directory) (c *CommandExecutorGitRepository)
- func MustGetLocalCommandExecutorGitRepositoryByDirectory(directory files.Directory) (gitRepo *CommandExecutorGitRepository)
- func MustGetLocalCommandExecutorGitRepositoryByPath(path string) (gitRepo *CommandExecutorGitRepository)
- func MustNewCommandExecutorGitRepository(commandExecutor commandexecutor.CommandExecutor) (c *CommandExecutorGitRepository)
- func NewCommandExecutorGitRepository(commandExecutor commandexecutor.CommandExecutor) (c *CommandExecutorGitRepository, err error)
- func (c *CommandExecutorGitRepository) AddFileByPath(pathToAdd string, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) AddRemote(remoteOptions *GitRemoteAddOptions) (err error)
- func (c *CommandExecutorGitRepository) CheckoutBranchByName(name string, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) CloneRepository(repository GitRepository, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) CloneRepositoryByPathOrUrl(pathOrUrlToClone string, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) Commit(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error)
- func (c *CommandExecutorGitRepository) CommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool, err error)
- func (c *CommandExecutorGitRepository) CreateBranch(createOptions *parameteroptions.CreateBranchOptions) (err error)
- func (c *CommandExecutorGitRepository) CreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag, err error)
- func (c *CommandExecutorGitRepository) DeleteBranchByName(name string, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) Fetch(verbose bool) (err error)
- func (c *CommandExecutorGitRepository) FileByPathExists(path string, verbose bool) (exists bool, err error)
- func (c *CommandExecutorGitRepository) GetAsLocalDirectory() (l *files.LocalDirectory, err error)
- func (c *CommandExecutorGitRepository) GetAsLocalGitRepository() (l *LocalGitRepository, err error)
- func (c *CommandExecutorGitRepository) GetAuthorEmailByCommitHash(hash string) (authorEmail string, err error)
- func (c *CommandExecutorGitRepository) GetAuthorStringByCommitHash(hash string) (authorEmail string, err error)
- func (c *CommandExecutorGitRepository) GetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration, err error)
- func (c *CommandExecutorGitRepository) GetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64, err error)
- func (c *CommandExecutorGitRepository) GetCommitByHash(hash string) (gitCommit *GitCommit, err error)
- func (c *CommandExecutorGitRepository) GetCommitMessageByCommitHash(hash string) (commitMessage string, err error)
- func (c *CommandExecutorGitRepository) GetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit, err error)
- func (c *CommandExecutorGitRepository) GetCommitTimeByCommitHash(hash string) (commitTime *time.Time, err error)
- func (c *CommandExecutorGitRepository) GetCurrentBranchName(verbose bool) (branchName string, err error)
- func (c *CommandExecutorGitRepository) GetCurrentCommit(verbose bool) (currentCommit *GitCommit, err error)
- func (c *CommandExecutorGitRepository) GetCurrentCommitHash(verbose bool) (currentCommitHash string, err error)
- func (c *CommandExecutorGitRepository) GetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory, err error)
- func (c *CommandExecutorGitRepository) GetGitStatusOutput(verbose bool) (output string, err error)
- func (c *CommandExecutorGitRepository) GetHashByTagName(tagName string) (hash string, err error)
- func (c *CommandExecutorGitRepository) GetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig, err error)
- func (c *CommandExecutorGitRepository) GetRootDirectory(verbose bool) (rootDirectory files.Directory, err error)
- func (c *CommandExecutorGitRepository) GetRootDirectoryPath(verbose bool) (rootDirectoryPath string, err error)
- func (c *CommandExecutorGitRepository) GetTagByName(name string) (tag GitTag, err error)
- func (c *CommandExecutorGitRepository) HasInitialCommit(verbose bool) (hasInitialCommit bool, err error)
- func (c *CommandExecutorGitRepository) HasUncommittedChanges(verbose bool) (hasUncommitedChanges bool, err error)
- func (c *CommandExecutorGitRepository) Init(options *parameteroptions.CreateRepositoryOptions) (err error)
- func (c *CommandExecutorGitRepository) IsBareRepository(verbose bool) (isBare bool, err error)
- func (c *CommandExecutorGitRepository) IsGitRepository(verbose bool) (isRepository bool, err error)
- func (c *CommandExecutorGitRepository) IsInitialized(verbose bool) (isInitialited bool, err error)
- func (c *CommandExecutorGitRepository) ListBranchNames(verbose bool) (branchNames []string, err error)
- func (c *CommandExecutorGitRepository) ListTagNames(verbose bool) (tagNames []string, err error)
- func (c *CommandExecutorGitRepository) ListTags(verbose bool) (tags []GitTag, err error)
- func (c *CommandExecutorGitRepository) ListTagsForCommitHash(hash string, verbose bool) (tags []GitTag, err error)
- func (c *CommandExecutorGitRepository) MustAddFileByPath(pathToAdd string, verbose bool)
- func (c *CommandExecutorGitRepository) MustAddRemote(remoteOptions *GitRemoteAddOptions)
- func (c *CommandExecutorGitRepository) MustCheckoutBranchByName(name string, verbose bool)
- func (c *CommandExecutorGitRepository) MustCloneRepository(repository GitRepository, verbose bool)
- func (c *CommandExecutorGitRepository) MustCloneRepositoryByPathOrUrl(pathOrUrlToClone string, verbose bool)
- func (c *CommandExecutorGitRepository) MustCommit(commitOptions *GitCommitOptions) (createdCommit *GitCommit)
- func (c *CommandExecutorGitRepository) MustCommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool)
- func (c *CommandExecutorGitRepository) MustCreateBranch(createOptions *parameteroptions.CreateBranchOptions)
- func (c *CommandExecutorGitRepository) MustCreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag)
- func (c *CommandExecutorGitRepository) MustDeleteBranchByName(name string, verbose bool)
- func (c *CommandExecutorGitRepository) MustFetch(verbose bool)
- func (c *CommandExecutorGitRepository) MustFileByPathExists(path string, verbose bool) (exists bool)
- func (c *CommandExecutorGitRepository) MustGetAsLocalDirectory() (l *files.LocalDirectory)
- func (c *CommandExecutorGitRepository) MustGetAsLocalGitRepository() (l *LocalGitRepository)
- func (c *CommandExecutorGitRepository) MustGetAuthorEmailByCommitHash(hash string) (authorEmail string)
- func (c *CommandExecutorGitRepository) MustGetAuthorStringByCommitHash(hash string) (authorEmail string)
- func (c *CommandExecutorGitRepository) MustGetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration)
- func (c *CommandExecutorGitRepository) MustGetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64)
- func (c *CommandExecutorGitRepository) MustGetCommitByHash(hash string) (gitCommit *GitCommit)
- func (c *CommandExecutorGitRepository) MustGetCommitMessageByCommitHash(hash string) (commitMessage string)
- func (c *CommandExecutorGitRepository) MustGetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit)
- func (c *CommandExecutorGitRepository) MustGetCommitTimeByCommitHash(hash string) (commitTime *time.Time)
- func (c *CommandExecutorGitRepository) MustGetCurrentBranchName(verbose bool) (branchName string)
- func (c *CommandExecutorGitRepository) MustGetCurrentCommit(verbose bool) (currentCommit *GitCommit)
- func (c *CommandExecutorGitRepository) MustGetCurrentCommitHash(verbose bool) (currentCommitHash string)
- func (c *CommandExecutorGitRepository) MustGetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory)
- func (c *CommandExecutorGitRepository) MustGetGitStatusOutput(verbose bool) (output string)
- func (c *CommandExecutorGitRepository) MustGetHashByTagName(tagName string) (hash string)
- func (c *CommandExecutorGitRepository) MustGetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig)
- func (c *CommandExecutorGitRepository) MustGetRootDirectory(verbose bool) (rootDirectory files.Directory)
- func (c *CommandExecutorGitRepository) MustGetRootDirectoryPath(verbose bool) (rootDirectoryPath string)
- func (c *CommandExecutorGitRepository) MustGetTagByName(name string) (tag GitTag)
- func (c *CommandExecutorGitRepository) MustHasInitialCommit(verbose bool) (hasInitialCommit bool)
- func (c *CommandExecutorGitRepository) MustHasUncommittedChanges(verbose bool) (hasUncommitedChanges bool)
- func (c *CommandExecutorGitRepository) MustInit(options *parameteroptions.CreateRepositoryOptions)
- func (c *CommandExecutorGitRepository) MustIsBareRepository(verbose bool) (isBare bool)
- func (c *CommandExecutorGitRepository) MustIsGitRepository(verbose bool) (isRepository bool)
- func (c *CommandExecutorGitRepository) MustIsInitialized(verbose bool) (isInitialited bool)
- func (c *CommandExecutorGitRepository) MustListBranchNames(verbose bool) (branchNames []string)
- func (c *CommandExecutorGitRepository) MustListTagNames(verbose bool) (tagNames []string)
- func (c *CommandExecutorGitRepository) MustListTags(verbose bool) (tags []GitTag)
- func (c *CommandExecutorGitRepository) MustListTagsForCommitHash(hash string, verbose bool) (tags []GitTag)
- func (c *CommandExecutorGitRepository) MustPull(verbose bool)
- func (c *CommandExecutorGitRepository) MustPullFromRemote(pullOptions *GitPullFromRemoteOptions)
- func (c *CommandExecutorGitRepository) MustPush(verbose bool)
- func (c *CommandExecutorGitRepository) MustPushTagsToRemote(remoteName string, verbose bool)
- func (c *CommandExecutorGitRepository) MustPushToRemote(remoteName string, verbose bool)
- func (c *CommandExecutorGitRepository) MustRemoteByNameExists(remoteName string, verbose bool) (remoteExists bool)
- func (c *CommandExecutorGitRepository) MustRemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool)
- func (c *CommandExecutorGitRepository) MustRemoveRemoteByName(remoteNameToRemove string, verbose bool)
- func (c *CommandExecutorGitRepository) MustRunGitCommand(gitCommand []string, verbose bool) (commandOutput *commandexecutor.CommandOutput)
- func (c *CommandExecutorGitRepository) MustRunGitCommandAndGetStdoutAsLines(command []string, verbose bool) (lines []string)
- func (c *CommandExecutorGitRepository) MustRunGitCommandAndGetStdoutAsString(command []string, verbose bool) (stdout string)
- func (c *CommandExecutorGitRepository) MustSetDefaultAuthor(verbose bool)
- func (c *CommandExecutorGitRepository) MustSetGitConfig(options *GitConfigSetOptions)
- func (c *CommandExecutorGitRepository) MustSetRemoteUrl(remoteUrl string, verbose bool)
- func (c *CommandExecutorGitRepository) MustSetUserEmail(email string, verbose bool)
- func (c *CommandExecutorGitRepository) MustSetUserName(name string, verbose bool)
- func (c *CommandExecutorGitRepository) Pull(verbose bool) (err error)
- func (c *CommandExecutorGitRepository) PullFromRemote(pullOptions *GitPullFromRemoteOptions) (err error)
- func (c *CommandExecutorGitRepository) Push(verbose bool) (err error)
- func (c *CommandExecutorGitRepository) PushTagsToRemote(remoteName string, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) PushToRemote(remoteName string, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) RemoteByNameExists(remoteName string, verbose bool) (remoteExists bool, err error)
- func (c *CommandExecutorGitRepository) RemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool, err error)
- func (c *CommandExecutorGitRepository) RemoveRemoteByName(remoteNameToRemove string, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) RunGitCommand(gitCommand []string, verbose bool) (commandOutput *commandexecutor.CommandOutput, err error)
- func (c *CommandExecutorGitRepository) RunGitCommandAndGetStdoutAsLines(command []string, verbose bool) (lines []string, err error)
- func (c *CommandExecutorGitRepository) RunGitCommandAndGetStdoutAsString(command []string, verbose bool) (stdout string, err error)
- func (c *CommandExecutorGitRepository) SetDefaultAuthor(verbose bool) (err error)
- func (c *CommandExecutorGitRepository) SetGitConfig(options *GitConfigSetOptions) (err error)
- func (c *CommandExecutorGitRepository) SetRemoteUrl(remoteUrl string, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) SetUserEmail(email string, verbose bool) (err error)
- func (c *CommandExecutorGitRepository) SetUserName(name string, verbose bool) (err error)
- type DependenciesSliceService
- func (d *DependenciesSliceService) AddSourceFileForEveryEntry(dependencies []Dependency, sourceFile files.File) (err error)
- func (d *DependenciesSliceService) GetDependencyNames(dependencies []Dependency) (dependencyNames []string, err error)
- func (d *DependenciesSliceService) MustAddSourceFileForEveryEntry(dependencies []Dependency, sourceFile files.File)
- func (d *DependenciesSliceService) MustGetDependencyNames(dependencies []Dependency) (dependencyNames []string)
- type Dependency
- type DependencyGitRepository
- func (d *DependencyGitRepository) AddSourceFile(sourceFile files.File) (err error)
- func (d *DependencyGitRepository) GetName() (name string, err error)
- func (d *DependencyGitRepository) GetNewestVersion(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (newestVersion Version, err error)
- func (d *DependencyGitRepository) GetNewestVersionAsString(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (newestVersionString string, err error)
- func (d *DependencyGitRepository) GetSourceFiles() (sourceFiles []files.File, err error)
- func (d *DependencyGitRepository) GetTargetVersion() (targetVersion Version, err error)
- func (d *DependencyGitRepository) GetTargetVersionString() (targetVersionString string, err error)
- func (d *DependencyGitRepository) GetUrl() (url string, err error)
- func (d *DependencyGitRepository) GetVersion() (version Version, err error)
- func (d *DependencyGitRepository) GetVersionString() (versionString string, err error)
- func (d *DependencyGitRepository) IsAtLeastOneSourceFileSet() (isSet bool)
- func (d *DependencyGitRepository) IsTargetVersionSet() (isSet bool)
- func (d *DependencyGitRepository) IsUpdateAvailable(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (isUpdateAvailable bool, err error)
- func (d *DependencyGitRepository) IsVersionStringUnset() (isUnset bool)
- func (d *DependencyGitRepository) MustAddSourceFile(sourceFile files.File)
- func (d *DependencyGitRepository) MustGetName() (name string)
- func (d *DependencyGitRepository) MustGetNewestVersion(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (newestVersion Version)
- func (d *DependencyGitRepository) MustGetNewestVersionAsString(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (newestVersion string)
- func (d *DependencyGitRepository) MustGetSourceFiles() (sourceFiles []files.File)
- func (d *DependencyGitRepository) MustGetTargetVersion() (targeVersion Version)
- func (d *DependencyGitRepository) MustGetTargetVersionString() (targetVersionString string)
- func (d *DependencyGitRepository) MustGetUrl() (url string)
- func (d *DependencyGitRepository) MustGetVersion() (version Version)
- func (d *DependencyGitRepository) MustGetVersionString() (versionString string)
- func (d *DependencyGitRepository) MustIsUpdateAvailable(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (isUpdateAvailable bool)
- func (d *DependencyGitRepository) MustSetSourceFiles(sourceFiles []files.File)
- func (d *DependencyGitRepository) MustSetTargetVersionString(targetVersionString string)
- func (d *DependencyGitRepository) MustSetUrl(url string)
- func (d *DependencyGitRepository) MustSetVersionString(versionString string)
- func (d *DependencyGitRepository) MustUpdate(options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary)
- func (d *DependencyGitRepository) MustUpdateVersionByStringInSourceFile(version string, sourceFile files.File, ...) (changeSummary *changesummary.ChangeSummary)
- func (d *DependencyGitRepository) SetSourceFiles(sourceFiles []files.File) (err error)
- func (d *DependencyGitRepository) SetTargetVersionString(targetVersionString string) (err error)
- func (d *DependencyGitRepository) SetUrl(url string) (err error)
- func (d *DependencyGitRepository) SetVersionString(versionString string) (err error)
- func (d *DependencyGitRepository) Update(options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary, err error)
- func (d *DependencyGitRepository) UpdateVersionByStringInSourceFile(version string, sourceFile files.File, ...) (changeSummary *changesummary.ChangeSummary, err error)
- type DurationFormatterService
- type FTPService
- type GitCommit
- func (g *GitCommit) CreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag, err error)
- func (g *GitCommit) GetAgeSeconds() (age float64, err error)
- func (g *GitCommit) GetAuthorEmail() (authorEmail string, err error)
- func (g *GitCommit) GetAuthorString() (authorString string, err error)
- func (g *GitCommit) GetCommitMessage() (commitMessage string, err error)
- func (g *GitCommit) GetGitRepo() (gitRepo GitRepository, err error)
- func (g *GitCommit) GetHash() (hash string, err error)
- func (g *GitCommit) GetNewestTagVersion(verbose bool) (newestVersion Version, err error)
- func (g *GitCommit) GetNewestTagVersionOrNilIfUnset(verbose bool) (newestVersion Version, err error)
- func (g *GitCommit) GetParentCommits(options *parameteroptions.GitCommitGetParentsOptions) (parentCommit []*GitCommit, err error)
- func (g *GitCommit) GetRepoRootPathAndHostDescription() (repoRootPath string, hostDescription string, err error)
- func (g *GitCommit) HasParentCommit() (hasParentCommit bool, err error)
- func (g *GitCommit) HasVersionTag(verbose bool) (hasVersionTag bool, err error)
- func (g *GitCommit) ListTagNames(verbose bool) (tagNames []string, err error)
- func (g *GitCommit) ListTags(verbose bool) (tags []GitTag, err error)
- func (g *GitCommit) ListVersionTagNames(verbose bool) (tagNames []string, err error)
- func (g *GitCommit) ListVersionTagVersions(verbose bool) (versions []Version, err error)
- func (g *GitCommit) ListVersionTags(verbose bool) (tags []GitTag, err error)
- func (g *GitCommit) MustCreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag)
- func (g *GitCommit) MustGetAgeSeconds() (age float64)
- func (g *GitCommit) MustGetAuthorEmail() (authorEmail string)
- func (g *GitCommit) MustGetAuthorString() (authorString string)
- func (g *GitCommit) MustGetCommitMessage() (commitMessage string)
- func (g *GitCommit) MustGetGitRepo() (gitRepo GitRepository)
- func (g *GitCommit) MustGetHash() (hash string)
- func (g *GitCommit) MustGetNewestTagVersion(verbose bool) (newestVersion Version)
- func (g *GitCommit) MustGetNewestTagVersionOrNilIfUnset(verbose bool) (newestVersion Version)
- func (g *GitCommit) MustGetParentCommits(options *parameteroptions.GitCommitGetParentsOptions) (parentCommit []*GitCommit)
- func (g *GitCommit) MustGetRepoRootPathAndHostDescription() (repoRootPath string, hostDescription string)
- func (g *GitCommit) MustHasParentCommit() (hasParentCommit bool)
- func (g *GitCommit) MustHasVersionTag(verbose bool) (hasVersionTag bool)
- func (g *GitCommit) MustListTagNames(verbose bool) (tagNames []string)
- func (g *GitCommit) MustListTags(verbose bool) (tags []GitTag)
- func (g *GitCommit) MustListVersionTagNames(verbose bool) (tagNames []string)
- func (g *GitCommit) MustListVersionTagVersions(verbose bool) (versions []Version)
- func (g *GitCommit) MustListVersionTags(verbose bool) (tags []GitTag)
- func (g *GitCommit) MustSetGitRepo(gitRepo GitRepository)
- func (g *GitCommit) MustSetHash(hash string)
- func (g *GitCommit) SetGitRepo(gitRepo GitRepository) (err error)
- func (g *GitCommit) SetHash(hash string) (err error)
- type GitCommitOptions
- func (g *GitCommitOptions) GetAllowEmpty() (allowEmpty bool)
- func (g *GitCommitOptions) GetCommitAllChanges() (commitAllChanges bool)
- func (g *GitCommitOptions) GetDeepCopy() (deepCopy *GitCommitOptions)
- func (g *GitCommitOptions) GetMessage() (message string, err error)
- func (g *GitCommitOptions) GetVerbose() (verbose bool)
- func (g *GitCommitOptions) MustGetMessage() (message string)
- func (g *GitCommitOptions) MustSetMessage(message string)
- func (g *GitCommitOptions) SetAllowEmpty(allowEmpty bool)
- func (g *GitCommitOptions) SetCommitAllChanges(commitAllChanges bool)
- func (g *GitCommitOptions) SetMessage(message string) (err error)
- func (g *GitCommitOptions) SetVerbose(verbose bool)
- type GitConfigSetOptions
- func (g *GitConfigSetOptions) GetEmail() (email string, err error)
- func (g *GitConfigSetOptions) GetName() (name string, err error)
- func (g *GitConfigSetOptions) GetVerbose() (verbose bool)
- func (g *GitConfigSetOptions) IsEmailSet() (isSet bool)
- func (g *GitConfigSetOptions) IsNameSet() (isSet bool)
- func (g *GitConfigSetOptions) MustGetEmail() (email string)
- func (g *GitConfigSetOptions) MustGetName() (name string)
- func (g *GitConfigSetOptions) MustSetEmail(email string)
- func (g *GitConfigSetOptions) MustSetName(name string)
- func (g *GitConfigSetOptions) SetEmail(email string) (err error)
- func (g *GitConfigSetOptions) SetName(name string) (err error)
- func (g *GitConfigSetOptions) SetVerbose(verbose bool)
- type GitPullFromRemoteOptions
- func (o *GitPullFromRemoteOptions) GetBranchName() (branchName string, err error)
- func (o *GitPullFromRemoteOptions) GetRemoteName() (remoteName string, err error)
- func (g *GitPullFromRemoteOptions) GetVerbose() (verbose bool, err error)
- func (g *GitPullFromRemoteOptions) MustGetBranchName() (branchName string)
- func (g *GitPullFromRemoteOptions) MustGetRemoteName() (remoteName string)
- func (g *GitPullFromRemoteOptions) MustGetVerbose() (verbose bool)
- func (g *GitPullFromRemoteOptions) MustSetBranchName(branchName string)
- func (g *GitPullFromRemoteOptions) MustSetRemoteName(remoteName string)
- func (g *GitPullFromRemoteOptions) MustSetVerbose(verbose bool)
- func (g *GitPullFromRemoteOptions) SetBranchName(branchName string) (err error)
- func (g *GitPullFromRemoteOptions) SetRemoteName(remoteName string) (err error)
- func (g *GitPullFromRemoteOptions) SetVerbose(verbose bool) (err error)
- type GitRemoteAddOptions
- func (o *GitRemoteAddOptions) GetRemoteName() (remoteName string, err error)
- func (o *GitRemoteAddOptions) GetRemoteUrl() (remoteUrl string, err error)
- func (g *GitRemoteAddOptions) GetVerbose() (verbose bool, err error)
- func (g *GitRemoteAddOptions) MustGetRemoteName() (remoteName string)
- func (g *GitRemoteAddOptions) MustGetRemoteUrl() (remoteUrl string)
- func (g *GitRemoteAddOptions) MustGetVerbose() (verbose bool)
- func (g *GitRemoteAddOptions) MustSetRemoteName(remoteName string)
- func (g *GitRemoteAddOptions) MustSetRemoteUrl(remoteUrl string)
- func (g *GitRemoteAddOptions) MustSetVerbose(verbose bool)
- func (g *GitRemoteAddOptions) SetRemoteName(remoteName string) (err error)
- func (g *GitRemoteAddOptions) SetRemoteUrl(remoteUrl string) (err error)
- func (g *GitRemoteAddOptions) SetVerbose(verbose bool) (err error)
- type GitRemoteConfig
- func (c *GitRemoteConfig) Equals(other *GitRemoteConfig) (equals bool)
- func (g *GitRemoteConfig) GetRemoteName() (remoteName string, err error)
- func (g *GitRemoteConfig) GetUrlFetch() (urlFetch string, err error)
- func (g *GitRemoteConfig) GetUrlPush() (urlPush string, err error)
- func (g *GitRemoteConfig) MustGetRemoteName() (remoteName string)
- func (g *GitRemoteConfig) MustGetUrlFetch() (urlFetch string)
- func (g *GitRemoteConfig) MustGetUrlPush() (urlPush string)
- func (g *GitRemoteConfig) MustSetRemoteName(remoteName string)
- func (g *GitRemoteConfig) MustSetUrlFetch(urlFetch string)
- func (g *GitRemoteConfig) MustSetUrlPush(urlPush string)
- func (g *GitRemoteConfig) SetRemoteName(remoteName string) (err error)
- func (g *GitRemoteConfig) SetUrlFetch(urlFetch string) (err error)
- func (g *GitRemoteConfig) SetUrlPush(urlPush string) (err error)
- type GitRepositoriesService
- func (g *GitRepositoriesService) CloneGitRepositoryToDirectory(toClone GitRepository, destinationPath string, verbose bool) (repo GitRepository, err error)
- func (g *GitRepositoriesService) CloneGitRepositoryToTemporaryDirectory(toClone GitRepository, verbose bool) (repo GitRepository, err error)
- func (g *GitRepositoriesService) CloneToDirectoryByPath(urlOrPath string, destinationPath string, verbose bool) (repo *LocalGitRepository, err error)
- func (g *GitRepositoriesService) CloneToTemporaryDirectory(urlOrPath string, verbose bool) (repo GitRepository, err error)
- func (g *GitRepositoriesService) CreateTemporaryInitializedRepository(options *parameteroptions.CreateRepositoryOptions) (repo GitRepository, err error)
- func (g *GitRepositoriesService) MustCloneGitRepositoryToDirectory(toClone GitRepository, destinationPath string, verbose bool) (repo GitRepository)
- func (g *GitRepositoriesService) MustCloneGitRepositoryToTemporaryDirectory(toClone GitRepository, verbose bool) (repo GitRepository)
- func (g *GitRepositoriesService) MustCloneToDirectoryByPath(urlOrPath string, destinationPath string, verbose bool) (repo GitRepository)
- func (g *GitRepositoriesService) MustCloneToTemporaryDirectory(urlOrPath string, verbose bool) (repo GitRepository)
- func (g *GitRepositoriesService) MustCreateTemporaryInitializedRepository(options *parameteroptions.CreateRepositoryOptions) (repo GitRepository)
- type GitRepository
- func GetGitRepositoryByDirectory(directory files.Directory) (repository GitRepository, err error)
- func GetLocalGitReposioryFromDirectory(directory files.Directory) (repo GitRepository, err error)
- func MustGetGitRepositoryByDirectory(directory files.Directory) (repository GitRepository)
- func MustGetLocalGitReposioryFromDirectory(directory files.Directory) (repo GitRepository)
- type GitRepositoryBase
- func (g *GitRepositoryBase) AddFilesByPath(pathsToAdd []string, verbose bool) (err error)
- func (g *GitRepositoryBase) BranchByNameExists(branchName string, verbose bool) (branchExists bool, err error)
- func (g *GitRepositoryBase) CheckHasNoUncommittedChanges(verbose bool) (err error)
- func (g *GitRepositoryBase) CheckIsGolangApplication(verbose bool) (err error)
- func (g *GitRepositoryBase) CheckIsGolangPackage(verbose bool) (err error)
- func (g *GitRepositoryBase) CheckIsOnLocalhost(verbose bool) (err error)
- func (g *GitRepositoryBase) CheckIsPreCommitRepository(verbose bool) (err error)
- func (g *GitRepositoryBase) CommitAndPush(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error)
- func (g *GitRepositoryBase) CommitIfUncommittedChanges(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error)
- func (g *GitRepositoryBase) ContainsGoSourceFileOfMainPackageWithMainFunction(verbose bool) (mainFound bool, err error)
- func (g *GitRepositoryBase) CreateAndInit(createOptions *parameteroptions.CreateRepositoryOptions) (err error)
- func (g *GitRepositoryBase) DirectoryByPathExists(verbose bool, path ...string) (exists bool, err error)
- func (g *GitRepositoryBase) EnsureMainReadmeMdExists(verbose bool) (err error)
- func (g *GitRepositoryBase) GetCurrentCommitMessage(verbose bool) (currentCommitMessage string, err error)
- func (g *GitRepositoryBase) GetCurrentCommitsNewestVersion(verbose bool) (newestVersion Version, err error)
- func (g *GitRepositoryBase) GetCurrentCommitsNewestVersionOrNilIfNotPresent(verbose bool) (newestVersion Version, err error)
- func (g *GitRepositoryBase) GetFileByPath(path ...string) (file files.File, err error)
- func (g *GitRepositoryBase) GetLatestTagVersion(verbose bool) (latestTagVersion Version, err error)
- func (g *GitRepositoryBase) GetLatestTagVersionAsString(verbose bool) (latestTagVersion string, err error)
- func (g *GitRepositoryBase) GetLatestTagVersionOrNilIfNotFound(verbose bool) (latestTagVersion Version, err error)
- func (g *GitRepositoryBase) GetParentRepositoryForBaseClass() (parentRepositoryForBaseClass GitRepository, err error)
- func (g *GitRepositoryBase) GetPathAndHostDescription() (path string, hostDescription string, err error)
- func (g *GitRepositoryBase) HasNoUncommittedChanges(verbose bool) (hasNoUncommittedChanges bool, err error)
- func (g *GitRepositoryBase) IsGolangApplication(verbose bool) (isGolangApplication bool, err error)
- func (g *GitRepositoryBase) IsGolangPackage(verbose bool) (isGolangPackage bool, err error)
- func (g *GitRepositoryBase) IsOnLocalhost(verbose bool) (isOnLocalhost bool, err error)
- func (g *GitRepositoryBase) IsPreCommitRepository(verbose bool) (isPreCommitRepository bool, err error)
- func (g *GitRepositoryBase) ListVersionTags(verbose bool) (versionTags []GitTag, err error)
- func (g *GitRepositoryBase) MustAddFilesByPath(pathsToAdd []string, verbose bool)
- func (g *GitRepositoryBase) MustBranchByNameExists(branchName string, verbose bool) (branchExists bool)
- func (g *GitRepositoryBase) MustCheckHasNoUncommittedChanges(verbose bool)
- func (g *GitRepositoryBase) MustCheckIsGolangApplication(verbose bool)
- func (g *GitRepositoryBase) MustCheckIsGolangPackage(verbose bool)
- func (g *GitRepositoryBase) MustCheckIsOnLocalhost(verbose bool)
- func (g *GitRepositoryBase) MustCheckIsPreCommitRepository(verbose bool)
- func (g *GitRepositoryBase) MustCommitAndPush(commitOptions *GitCommitOptions) (createdCommit *GitCommit)
- func (g *GitRepositoryBase) MustCommitIfUncommittedChanges(commitOptions *GitCommitOptions) (createdCommit *GitCommit)
- func (g *GitRepositoryBase) MustContainsGoSourceFileOfMainPackageWithMainFunction(verbose bool) (mainFound bool)
- func (g *GitRepositoryBase) MustCreateAndInit(createOptions *parameteroptions.CreateRepositoryOptions)
- func (g *GitRepositoryBase) MustDirectoryByPathExists(verbose bool, path ...string) (exists bool)
- func (g *GitRepositoryBase) MustEnsureMainReadmeMdExists(verbose bool)
- func (g *GitRepositoryBase) MustGetCurrentCommitMessage(verbose bool) (currentCommitMessage string)
- func (g *GitRepositoryBase) MustGetCurrentCommitsNewestVersion(verbose bool) (newestVersion Version)
- func (g *GitRepositoryBase) MustGetCurrentCommitsNewestVersionOrNilIfNotPresent(verbose bool) (newestVersion Version)
- func (g *GitRepositoryBase) MustGetFileByPath(path ...string) (file files.File)
- func (g *GitRepositoryBase) MustGetLatestTagVersion(verbose bool) (latestTagVersion Version)
- func (g *GitRepositoryBase) MustGetLatestTagVersionAsString(verbose bool) (latestTagVersion string)
- func (g *GitRepositoryBase) MustGetLatestTagVersionOrNilIfNotFound(verbose bool) (latestTagVersion Version)
- func (g *GitRepositoryBase) MustGetParentRepositoryForBaseClass() (parentRepositoryForBaseClass GitRepository)
- func (g *GitRepositoryBase) MustGetPathAndHostDescription() (path string, hostDescription string)
- func (g *GitRepositoryBase) MustHasNoUncommittedChanges(verbose bool) (hasNoUncommittedChanges bool)
- func (g *GitRepositoryBase) MustIsGolangApplication(verbose bool) (isGolangApplication bool)
- func (g *GitRepositoryBase) MustIsGolangPackage(verbose bool) (isGolangPackage bool)
- func (g *GitRepositoryBase) MustIsOnLocalhost(verbose bool) (isOnLocalhost bool)
- func (g *GitRepositoryBase) MustIsPreCommitRepository(verbose bool) (isPreCommitRepository bool)
- func (g *GitRepositoryBase) MustListVersionTags(verbose bool) (versionTags []GitTag)
- func (g *GitRepositoryBase) MustSetParentRepositoryForBaseClass(parentRepositoryForBaseClass GitRepository)
- func (g *GitRepositoryBase) MustWriteStringToFile(content string, verbose bool, path ...string) (writtenFile files.File)
- func (g *GitRepositoryBase) SetParentRepositoryForBaseClass(parentRepositoryForBaseClass GitRepository) (err error)
- func (g *GitRepositoryBase) WriteStringToFile(content string, verbose bool, path ...string) (writtenFile files.File, err error)
- type GitRepositoryCreateTagOptions
- func (g *GitRepositoryCreateTagOptions) GetCommitHash() (commitHash string, err error)
- func (g *GitRepositoryCreateTagOptions) GetDeepCopy() (copy *GitRepositoryCreateTagOptions)
- func (g *GitRepositoryCreateTagOptions) GetPushTagsToAllRemotes() (pushTagsToAllRemotes bool, err error)
- func (g *GitRepositoryCreateTagOptions) GetTagComment() (tagComment string, err error)
- func (g *GitRepositoryCreateTagOptions) GetTagCommentOrDefaultIfUnset() (tagComment string)
- func (g *GitRepositoryCreateTagOptions) GetTagName() (tagName string, err error)
- func (g *GitRepositoryCreateTagOptions) GetTagNameOrEmptyStringIfUnset() (tagName string)
- func (g *GitRepositoryCreateTagOptions) GetVerbose() (verbose bool, err error)
- func (g *GitRepositoryCreateTagOptions) IsCommitHashSet() (isSet bool)
- func (g *GitRepositoryCreateTagOptions) IsTagCommentSet() (isSet bool)
- func (g *GitRepositoryCreateTagOptions) MustGetCommitHash() (commitHash string)
- func (g *GitRepositoryCreateTagOptions) MustGetPushTagsToAllRemotes() (pushTagsToAllRemotes bool)
- func (g *GitRepositoryCreateTagOptions) MustGetTagComment() (tagComment string)
- func (g *GitRepositoryCreateTagOptions) MustGetTagName() (tagName string)
- func (g *GitRepositoryCreateTagOptions) MustGetVerbose() (verbose bool)
- func (g *GitRepositoryCreateTagOptions) MustSetCommitHash(commitHash string)
- func (g *GitRepositoryCreateTagOptions) MustSetPushTagsToAllRemotes(pushTagsToAllRemotes bool)
- func (g *GitRepositoryCreateTagOptions) MustSetTagComment(tagComment string)
- func (g *GitRepositoryCreateTagOptions) MustSetTagName(tagName string)
- func (g *GitRepositoryCreateTagOptions) MustSetVerbose(verbose bool)
- func (g *GitRepositoryCreateTagOptions) SetCommitHash(commitHash string) (err error)
- func (g *GitRepositoryCreateTagOptions) SetPushTagsToAllRemotes(pushTagsToAllRemotes bool) (err error)
- func (g *GitRepositoryCreateTagOptions) SetTagComment(tagComment string) (err error)
- func (g *GitRepositoryCreateTagOptions) SetTagName(tagName string) (err error)
- func (g *GitRepositoryCreateTagOptions) SetVerbose(verbose bool) (err error)
- type GitRepositoryTag
- func GetGitRepositoryTagByName(tagName string) (g *GitRepositoryTag, err error)
- func GetGitRepositoryTagByNameAndRepository(tagName string, gitRepository GitRepository) (g *GitRepositoryTag, err error)
- func MustGetGitRepositoryTagByName(tagName string) (g *GitRepositoryTag)
- func MustGetGitRepositoryTagByNameAndRepository(tagName string, gitRepository GitRepository) (g *GitRepositoryTag)
- func NewGitRepositoryTag() (g *GitRepositoryTag)
- func (g *GitRepositoryTag) GetGitRepository() (gitRepository GitRepository, err error)
- func (g *GitRepositoryTag) GetHash() (hash string, err error)
- func (g *GitRepositoryTag) GetName() (name string, err error)
- func (g *GitRepositoryTag) GetVersion() (version Version, err error)
- func (g *GitRepositoryTag) IsVersionTag() (isVersionTag bool, err error)
- func (g *GitRepositoryTag) MustGetGitRepository() (gitRepository GitRepository)
- func (g *GitRepositoryTag) MustGetHash() (hash string)
- func (g *GitRepositoryTag) MustGetName() (name string)
- func (g *GitRepositoryTag) MustGetVersion() (version Version)
- func (g *GitRepositoryTag) MustIsVersionTag() (isVersionTag bool)
- func (g *GitRepositoryTag) MustSetGitRepository(gitRepository GitRepository)
- func (g *GitRepositoryTag) MustSetName(name string)
- func (g *GitRepositoryTag) SetGitRepository(gitRepository GitRepository) (err error)
- func (g *GitRepositoryTag) SetName(name string) (err error)
- type GitService
- type GitTag
- type GitTagBase
- func (g *GitTagBase) GetParentGitTagForBaseClass() (parentGitTagForBaseClass GitTag, err error)
- func (g *GitTagBase) GetVersion() (version Version, err error)
- func (g *GitTagBase) MustGetParentGitTagForBaseClass() (parentGitTagForBaseClass GitTag)
- func (g *GitTagBase) MustGetVersion() (version Version)
- func (g *GitTagBase) MustSetParentGitTagForBaseClass(parentGitTagForBaseClass GitTag)
- func (g *GitTagBase) SetParentGitTagForBaseClass(parentGitTagForBaseClass GitTag) (err error)
- type GitignoreFile
- func GetGitignoreFileByFile(fileToUse files.File) (gitignoreFile *GitignoreFile, err error)
- func GetGitignoreFileByPath(filePath string) (gitignoreFile *GitignoreFile, err error)
- func GetGitignoreFileInGitRepository(gitRepository GitRepository) (gitignoreFile *GitignoreFile, err error)
- func MustGetGitignoreFileByFile(fileToUse files.File) (gitignoreFile *GitignoreFile)
- func MustGetGitignoreFileByPath(filePath string) (gitignoreFile *GitignoreFile)
- func MustGetGitignoreFileInGitRepository(gitRepository GitRepository) (gitignoreFile *GitignoreFile)
- func NewGitignoreFile() (g *GitignoreFile)
- func (g *GitignoreFile) AddDirToIgnore(pathToIgnore string, comment string, verbose bool) (err error)
- func (g *GitignoreFile) AddFileToIgnore(pathToIgnore string, comment string, verbose bool) (err error)
- func (g *GitignoreFile) ContainsIgnore(pathToCheck string) (containsIgnore bool, err error)
- func (g *GitignoreFile) GetIgnoredPaths() (ignoredPaths []string, err error)
- func (g *GitignoreFile) MustAddDirToIgnore(pathToIgnore string, comment string, verbose bool)
- func (g *GitignoreFile) MustAddFileToIgnore(pathToIgnore string, comment string, verbose bool)
- func (g *GitignoreFile) MustContainsIgnore(pathToCheck string) (containsIgnore bool)
- func (g *GitignoreFile) MustGetIgnoredPaths() (ignoredPaths []string)
- func (g *GitignoreFile) MustReformat(verbose bool)
- func (g *GitignoreFile) Reformat(verbose bool) (err error)
- type GitlabAddRunnerOptions
- func (g *GitlabAddRunnerOptions) GetName() (name string, err error)
- func (o *GitlabAddRunnerOptions) GetRunnerName() (runnerName string, err error)
- func (g *GitlabAddRunnerOptions) GetRunnerTags() (runnerTags []string, err error)
- func (o *GitlabAddRunnerOptions) GetTags() (runnerTags []string, err error)
- func (o *GitlabAddRunnerOptions) GetTagsCommaSeparated() (tagsCommaSeperated string, err error)
- func (g *GitlabAddRunnerOptions) GetVerbose() (verbose bool, err error)
- func (g *GitlabAddRunnerOptions) MustGetName() (name string)
- func (g *GitlabAddRunnerOptions) MustGetRunnerName() (runnerName string)
- func (g *GitlabAddRunnerOptions) MustGetRunnerTags() (runnerTags []string)
- func (g *GitlabAddRunnerOptions) MustGetTags() (runnerTags []string)
- func (g *GitlabAddRunnerOptions) MustGetTagsCommaSeparated() (tagsCommaSeperated string)
- func (g *GitlabAddRunnerOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabAddRunnerOptions) MustSetName(name string)
- func (g *GitlabAddRunnerOptions) MustSetRunnerTags(runnerTags []string)
- func (g *GitlabAddRunnerOptions) MustSetVerbose(verbose bool)
- func (g *GitlabAddRunnerOptions) SetName(name string) (err error)
- func (g *GitlabAddRunnerOptions) SetRunnerTags(runnerTags []string) (err error)
- func (g *GitlabAddRunnerOptions) SetVerbose(verbose bool) (err error)
- type GitlabAuthenticationOptions
- func (g *GitlabAuthenticationOptions) GetAccessToken() (accessToken string, err error)
- func (g *GitlabAuthenticationOptions) GetAccessTokensFromGopass() (accessTokensFromGopass []string, err error)
- func (g *GitlabAuthenticationOptions) GetGitlabUrl() (gitlabUrl string, err error)
- func (g *GitlabAuthenticationOptions) GetVerbose() (verbose bool, err error)
- func (g *GitlabAuthenticationOptions) IsAccessTokenSet() (isSet bool)
- func (g *GitlabAuthenticationOptions) IsAuthenticatingAgainst(serviceName string) (isAuthenticatingAgainst bool, err error)
- func (g *GitlabAuthenticationOptions) IsVerbose() (isVerbose bool)
- func (g *GitlabAuthenticationOptions) MustGetAccessToken() (accessToken string)
- func (g *GitlabAuthenticationOptions) MustGetAccessTokensFromGopass() (accessTokensFromGopass []string)
- func (g *GitlabAuthenticationOptions) MustGetGitlabUrl() (gitlabUrl string)
- func (g *GitlabAuthenticationOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabAuthenticationOptions) MustIsAuthenticatingAgainst(serviceName string) (isAuthenticatingAgainst bool)
- func (g *GitlabAuthenticationOptions) MustSetAccessToken(accessToken string)
- func (g *GitlabAuthenticationOptions) MustSetAccessTokensFromGopass(accessTokensFromGopass []string)
- func (g *GitlabAuthenticationOptions) MustSetGitlabUrl(gitlabUrl string)
- func (g *GitlabAuthenticationOptions) MustSetVerbose(verbose bool)
- func (g *GitlabAuthenticationOptions) SetAccessToken(accessToken string) (err error)
- func (g *GitlabAuthenticationOptions) SetAccessTokensFromGopass(accessTokensFromGopass []string) (err error)
- func (g *GitlabAuthenticationOptions) SetGitlabUrl(gitlabUrl string) (err error)
- func (g *GitlabAuthenticationOptions) SetVerbose(verbose bool) (err error)
- type GitlabBranch
- func (g *GitlabBranch) CopyFileToBranch(filePath string, targetBranch *GitlabBranch, verbose bool) (targetFile *GitlabRepositoryFile, err error)
- func (g *GitlabBranch) CreateFromDefaultBranch(verbose bool) (err error)
- func (g *GitlabBranch) CreateMergeRequest(options *GitlabCreateMergeRequestOptions) (mergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabBranch) Delete(options *GitlabDeleteBranchOptions) (err error)
- func (g *GitlabBranch) DeleteRepositoryFile(filePath string, commitMessage string, verbose bool) (err error)
- func (g *GitlabBranch) Exists() (exists bool, err error)
- func (g *GitlabBranch) GetBranches() (branches *GitlabBranches, err error)
- func (g *GitlabBranch) GetDeepCopy() (copy *GitlabBranch)
- func (g *GitlabBranch) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabBranch) GetGitlabBranches() (branches *GitlabBranches, err error)
- func (g *GitlabBranch) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabBranch) GetLatestCommit(verbose bool) (latestCommit *GitlabCommit, err error)
- func (g *GitlabBranch) GetLatestCommitHashAsString(verbose bool) (commitHash string, err error)
- func (g *GitlabBranch) GetMergeRequests() (mergeRequests *GitlabProjectMergeRequests, err error)
- func (g *GitlabBranch) GetName() (name string, err error)
- func (g *GitlabBranch) GetNativeBranchesClient() (nativeClient *gitlab.BranchesService, err error)
- func (g *GitlabBranch) GetNativeBranchesClientAndId() (nativeClient *gitlab.BranchesService, projectId int, err error)
- func (g *GitlabBranch) GetProjectId() (projectId int, err error)
- func (g *GitlabBranch) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabBranch) GetRawResponse() (rawResponse *gitlab.Branch, err error)
- func (g *GitlabBranch) GetRepositoryFile(filePath string, verbose bool) (repositoryFile *GitlabRepositoryFile, err error)
- func (g *GitlabBranch) GetRepositoryFileSha256Sum(filePath string, verbose bool) (sha256sum string, err error)
- func (g *GitlabBranch) MustCopyFileToBranch(filePath string, targetBranch *GitlabBranch, verbose bool) (targetFile *GitlabRepositoryFile)
- func (g *GitlabBranch) MustCreateFromDefaultBranch(verbose bool)
- func (g *GitlabBranch) MustCreateMergeRequest(options *GitlabCreateMergeRequestOptions) (mergeRequest *GitlabMergeRequest)
- func (g *GitlabBranch) MustDelete(options *GitlabDeleteBranchOptions)
- func (g *GitlabBranch) MustDeleteRepositoryFile(filePath string, commitMessage string, verbose bool)
- func (g *GitlabBranch) MustExists() (exists bool)
- func (g *GitlabBranch) MustGetBranches() (branches *GitlabBranches)
- func (g *GitlabBranch) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabBranch) MustGetGitlabBranches() (branches *GitlabBranches)
- func (g *GitlabBranch) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabBranch) MustGetLatestCommit(verbose bool) (latestCommit *GitlabCommit)
- func (g *GitlabBranch) MustGetLatestCommitHashAsString(verbose bool) (commitHash string)
- func (g *GitlabBranch) MustGetMergeRequests() (mergeRequests *GitlabProjectMergeRequests)
- func (g *GitlabBranch) MustGetName() (name string)
- func (g *GitlabBranch) MustGetNativeBranchesClient() (nativeClient *gitlab.BranchesService)
- func (g *GitlabBranch) MustGetNativeBranchesClientAndId() (nativeClient *gitlab.BranchesService, projectId int)
- func (g *GitlabBranch) MustGetProjectId() (projectId int)
- func (g *GitlabBranch) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabBranch) MustGetRawResponse() (rawResponse *gitlab.Branch)
- func (g *GitlabBranch) MustGetRepositoryFile(filePath string, verbose bool) (repositoryFile *GitlabRepositoryFile)
- func (g *GitlabBranch) MustGetRepositoryFileSha256Sum(filePath string, verbose bool) (sha256sum string)
- func (g *GitlabBranch) MustReadFileContentAsString(options *GitlabReadFileOptions) (content string)
- func (g *GitlabBranch) MustRepositoryFileExists(filePath string, verbose bool) (exists bool)
- func (g *GitlabBranch) MustSetGitlabProject(gitlabProject *GitlabProject)
- func (g *GitlabBranch) MustSetName(name string)
- func (g *GitlabBranch) MustSyncFilesToBranch(options *GitlabSyncBranchOptions)
- func (g *GitlabBranch) MustSyncFilesToBranchUsingMergeRequest(options *GitlabSyncBranchOptions) (createdMergeRequest *GitlabMergeRequest)
- func (g *GitlabBranch) MustWriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile)
- func (g *GitlabBranch) ReadFileContentAsString(options *GitlabReadFileOptions) (content string, err error)
- func (g *GitlabBranch) RepositoryFileExists(filePath string, verbose bool) (exists bool, err error)
- func (g *GitlabBranch) SetGitlabProject(gitlabProject *GitlabProject) (err error)
- func (g *GitlabBranch) SetName(name string) (err error)
- func (g *GitlabBranch) SyncFilesToBranch(options *GitlabSyncBranchOptions) (err error)
- func (g *GitlabBranch) SyncFilesToBranchUsingMergeRequest(options *GitlabSyncBranchOptions) (createdMergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabBranch) WriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile, err error)
- type GitlabBranches
- func (g *GitlabBranches) BranchByNameExists(branchName string) (exists bool, err error)
- func (g *GitlabBranches) CreateBranch(options *GitlabCreateBranchOptions) (createdBranch *GitlabBranch, err error)
- func (g *GitlabBranches) CreateBranchFromDefaultBranch(branchName string, verbose bool) (createdBranch *GitlabBranch, err error)
- func (g *GitlabBranches) DeleteAllBranchesExceptDefaultBranch(verbose bool) (err error)
- func (g *GitlabBranches) GetBranchByName(branchName string) (branch *GitlabBranch, err error)
- func (g *GitlabBranches) GetBranchNames(verbose bool) (branchNames []string, err error)
- func (g *GitlabBranches) GetBranchNamesExceptDefaultBranch(verbose bool) (branchNames []string, err error)
- func (g *GitlabBranches) GetBranchesExceptDefaultBranch(verbose bool) (branches []*GitlabBranch, err error)
- func (g *GitlabBranches) GetDefaultBranchName() (defaultBranchName string, err error)
- func (g *GitlabBranches) GetFilesFromListWithDiffBetweenBranches(branchA *GitlabBranch, branchB *GitlabBranch, filesToCheck []string, ...) (filesWithDiffBetweenBranches []string, err error)
- func (g *GitlabBranches) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabBranches) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabBranches) GetNativeBranchesClient() (nativeBranches *gitlab.BranchesService, err error)
- func (g *GitlabBranches) GetNativeBranchesClientAndId() (nativeClient *gitlab.BranchesService, projectId int, err error)
- func (g *GitlabBranches) GetProjectId() (projectId int, err error)
- func (g *GitlabBranches) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabBranches) MustBranchByNameExists(branchName string) (exists bool)
- func (g *GitlabBranches) MustCreateBranch(options *GitlabCreateBranchOptions) (createdBranch *GitlabBranch)
- func (g *GitlabBranches) MustCreateBranchFromDefaultBranch(branchName string, verbose bool) (createdBranch *GitlabBranch)
- func (g *GitlabBranches) MustDeleteAllBranchesExceptDefaultBranch(verbose bool)
- func (g *GitlabBranches) MustGetBranchByName(branchName string) (branch *GitlabBranch)
- func (g *GitlabBranches) MustGetBranchNames(verbose bool) (branchNames []string)
- func (g *GitlabBranches) MustGetBranchNamesExceptDefaultBranch(verbose bool) (branchNames []string)
- func (g *GitlabBranches) MustGetBranchesExceptDefaultBranch(verbose bool) (branches []*GitlabBranch)
- func (g *GitlabBranches) MustGetDefaultBranchName() (defaultBranchName string)
- func (g *GitlabBranches) MustGetFilesFromListWithDiffBetweenBranches(branchA *GitlabBranch, branchB *GitlabBranch, filesToCheck []string, ...) (filesWithDiffBetweenBranches []string)
- func (g *GitlabBranches) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabBranches) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabBranches) MustGetNativeBranchesClient() (nativeBranches *gitlab.BranchesService)
- func (g *GitlabBranches) MustGetNativeBranchesClientAndId() (nativeClient *gitlab.BranchesService, projectId int)
- func (g *GitlabBranches) MustGetProjectId() (projectId int)
- func (g *GitlabBranches) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabBranches) MustSetGitlabProject(gitlabProject *GitlabProject)
- func (g *GitlabBranches) SetGitlabProject(gitlabProject *GitlabProject) (err error)
- type GitlabCiYamlFile
- func GetGitlabCiYamlFileByFile(file files.File) (gitlabCiYamlFile *GitlabCiYamlFile, err error)
- func GetGitlabCiYamlFileByPath(filePath string) (gitlabCiYamlFile *GitlabCiYamlFile, err error)
- func GetGitlabCiYamlFileInGitRepository(gitRepository GitRepository) (gitlabCiYamlFile *GitlabCiYamlFile, err error)
- func MustGetGitlabCiYamlFileByFile(file files.File) (gitlabCiYamlFile *GitlabCiYamlFile)
- func MustGetGitlabCiYamlFileByPath(filePath string) (gitlabCiYamlFile *GitlabCiYamlFile)
- func MustGetGitlabCiYamlFileInGitRepository(gitRepository GitRepository) (gitlabCiYamlFile *GitlabCiYamlFile)
- func NewGitlabCiYamlFile() (g *GitlabCiYamlFile)
- func (g *GitlabCiYamlFile) AddInclude(include *GitlabCiYamlInclude, verbose bool) (err error)
- func (g *GitlabCiYamlFile) ContainsInclude(include *GitlabCiYamlInclude, ignoreVersion bool, verbose bool) (containsInclude bool, err error)
- func (g *GitlabCiYamlFile) GetIncludes(verbose bool) (includes []*GitlabCiYamlInclude, err error)
- func (g *GitlabCiYamlFile) GetTextBlocksWithoutIncludes(verbose bool) (textBlocks []string, err error)
- func (g *GitlabCiYamlFile) MustAddInclude(include *GitlabCiYamlInclude, verbose bool)
- func (g *GitlabCiYamlFile) MustContainsInclude(include *GitlabCiYamlInclude, ignoreVersion bool, verbose bool) (containsInclude bool)
- func (g *GitlabCiYamlFile) MustGetIncludes(verbose bool) (includes []*GitlabCiYamlInclude)
- func (g *GitlabCiYamlFile) MustGetTextBlocksWithoutIncludes(verbose bool) (textBlocks []string)
- func (g *GitlabCiYamlFile) MustRewriteIncludes(includes []*GitlabCiYamlInclude, verbose bool)
- func (g *GitlabCiYamlFile) RewriteIncludes(includes []*GitlabCiYamlInclude, verbose bool) (err error)
- type GitlabCiYamlInclude
- func (g *GitlabCiYamlInclude) EqualsIgnoreVersion(other *GitlabCiYamlInclude) (isEqual bool, err error)
- func (g *GitlabCiYamlInclude) GetFile() (file string, err error)
- func (g *GitlabCiYamlInclude) GetLoggableString() (loggableString string, err error)
- func (g *GitlabCiYamlInclude) GetProject() (project string, err error)
- func (g *GitlabCiYamlInclude) GetProjectAndFile() (project string, file string, err error)
- func (g *GitlabCiYamlInclude) GetRef() (ref string, err error)
- func (g *GitlabCiYamlInclude) IsEmpty() (isEmpty bool)
- func (g *GitlabCiYamlInclude) IsNonEmpty() (isNonEmpty bool)
- func (g *GitlabCiYamlInclude) MustEqualsIgnoreVersion(other *GitlabCiYamlInclude) (isEqual bool)
- func (g *GitlabCiYamlInclude) MustGetFile() (file string)
- func (g *GitlabCiYamlInclude) MustGetLoggableString() (loggableString string)
- func (g *GitlabCiYamlInclude) MustGetProject() (project string)
- func (g *GitlabCiYamlInclude) MustGetProjectAndFile() (project string, file string)
- func (g *GitlabCiYamlInclude) MustGetRef() (ref string)
- func (g *GitlabCiYamlInclude) MustSetFile(file string)
- func (g *GitlabCiYamlInclude) MustSetProject(project string)
- func (g *GitlabCiYamlInclude) MustSetRef(ref string)
- func (g *GitlabCiYamlInclude) SetFile(file string) (err error)
- func (g *GitlabCiYamlInclude) SetProject(project string) (err error)
- func (g *GitlabCiYamlInclude) SetRef(ref string) (err error)
- func (g *GitlabCiYamlInclude) UnmarshalYAML(unmarshal func(interface{}) error) (err error)
- type GitlabCommit
- func (g *GitlabCommit) CreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease, err error)
- func (g *GitlabCommit) CreateTag(createTagOptions *GitlabCreateTagOptions) (createdTag *GitlabTag, err error)
- func (g *GitlabCommit) GetAuthorEmail(verbose bool) (authorEmail string, err error)
- func (g *GitlabCommit) GetCommitHash() (commitHash string, err error)
- func (g *GitlabCommit) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabCommit) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabCommit) GetGitlabProjectUrlAsString() (projectUrl string, err error)
- func (g *GitlabCommit) GetGitlabProjectsCommits() (gitlabProjectsCommit *GitlabProjectCommits, err error)
- func (g *GitlabCommit) GetGitlabTags() (gitlabTags *GitlabTags, err error)
- func (g *GitlabCommit) GetNativeCommitsService() (nativeCommitsService *gitlab.CommitsService, err error)
- func (g *GitlabCommit) GetParentCommitHashesAsString(verbose bool) (parentCommitHashes []string, err error)
- func (g *GitlabCommit) GetParentCommits(verbose bool) (parentCommits []*GitlabCommit, err error)
- func (g *GitlabCommit) GetProjectId() (projectId int, err error)
- func (g *GitlabCommit) GetRawResponse() (rawResponse *gitlab.Commit, err error)
- func (g *GitlabCommit) IsMergeCommit(verbose bool) (isMergeCommit bool, err error)
- func (g *GitlabCommit) IsParentCommitOf(childCommit *GitlabCommit, verbose bool) (isParent bool, err error)
- func (g *GitlabCommit) MustCreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease)
- func (g *GitlabCommit) MustCreateTag(createTagOptions *GitlabCreateTagOptions) (createdTag *GitlabTag)
- func (g *GitlabCommit) MustGetAuthorEmail(verbose bool) (authorEmail string)
- func (g *GitlabCommit) MustGetCommitHash() (commitHash string)
- func (g *GitlabCommit) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabCommit) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabCommit) MustGetGitlabProjectUrlAsString() (projectUrl string)
- func (g *GitlabCommit) MustGetGitlabProjectsCommits() (gitlabProjectsCommit *GitlabProjectCommits)
- func (g *GitlabCommit) MustGetGitlabTags() (gitlabTags *GitlabTags)
- func (g *GitlabCommit) MustGetNativeCommitsService() (nativeCommitsService *gitlab.CommitsService)
- func (g *GitlabCommit) MustGetParentCommitHashesAsString(verbose bool) (parentCommitHashes []string)
- func (g *GitlabCommit) MustGetParentCommits(verbose bool) (parentCommits []*GitlabCommit)
- func (g *GitlabCommit) MustGetProjectId() (projectId int)
- func (g *GitlabCommit) MustGetRawResponse() (rawResponse *gitlab.Commit)
- func (g *GitlabCommit) MustIsMergeCommit(verbose bool) (isMergeCommit bool)
- func (g *GitlabCommit) MustIsParentCommitOf(childCommit *GitlabCommit, verbose bool) (isParent bool)
- func (g *GitlabCommit) MustSetCommitHash(commitHash string)
- func (g *GitlabCommit) MustSetGitlabProjectsCommits(gitlabProjectsCommit *GitlabProjectCommits)
- func (g *GitlabCommit) SetCommitHash(commitHash string) (err error)
- func (g *GitlabCommit) SetGitlabProjectsCommits(gitlabProjectsCommit *GitlabProjectCommits) (err error)
- type GitlabCreateAccessTokenOptions
- func (o *GitlabCreateAccessTokenOptions) GetExipiresAtOrDefaultIfUnset() (expiresAt *time.Time, err error)
- func (g *GitlabCreateAccessTokenOptions) GetExpiresAt() (expiresAt *time.Time, err error)
- func (o *GitlabCreateAccessTokenOptions) GetScopes() (scopes []string, err error)
- func (o *GitlabCreateAccessTokenOptions) GetTokenName() (tokenName string, err error)
- func (o *GitlabCreateAccessTokenOptions) GetUserName() (userName string, err error)
- func (g *GitlabCreateAccessTokenOptions) GetVerbose() (verbose bool, err error)
- func (g *GitlabCreateAccessTokenOptions) MustGetExipiresAtOrDefaultIfUnset() (expiresAt *time.Time)
- func (g *GitlabCreateAccessTokenOptions) MustGetExpiresAt() (expiresAt *time.Time)
- func (g *GitlabCreateAccessTokenOptions) MustGetScopes() (scopes []string)
- func (g *GitlabCreateAccessTokenOptions) MustGetTokenName() (tokenName string)
- func (g *GitlabCreateAccessTokenOptions) MustGetUserName() (userName string)
- func (g *GitlabCreateAccessTokenOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabCreateAccessTokenOptions) MustSetExpiresAt(expiresAt *time.Time)
- func (g *GitlabCreateAccessTokenOptions) MustSetScopes(scopes []string)
- func (g *GitlabCreateAccessTokenOptions) MustSetTokenName(tokenName string)
- func (g *GitlabCreateAccessTokenOptions) MustSetUserName(userName string)
- func (g *GitlabCreateAccessTokenOptions) MustSetVerbose(verbose bool)
- func (g *GitlabCreateAccessTokenOptions) SetExpiresAt(expiresAt *time.Time) (err error)
- func (g *GitlabCreateAccessTokenOptions) SetScopes(scopes []string) (err error)
- func (g *GitlabCreateAccessTokenOptions) SetTokenName(tokenName string) (err error)
- func (g *GitlabCreateAccessTokenOptions) SetUserName(userName string) (err error)
- func (g *GitlabCreateAccessTokenOptions) SetVerbose(verbose bool) (err error)
- type GitlabCreateBranchOptions
- func (g *GitlabCreateBranchOptions) GetBranchName() (branchName string, err error)
- func (g *GitlabCreateBranchOptions) GetFailIfAlreadyExists() (failIfAlreadyExists bool)
- func (g *GitlabCreateBranchOptions) GetSourceBranchName() (sourceBranchName string, err error)
- func (g *GitlabCreateBranchOptions) GetVerbose() (verbose bool)
- func (g *GitlabCreateBranchOptions) MustGetBranchName() (branchName string)
- func (g *GitlabCreateBranchOptions) MustGetSourceBranchName() (sourceBranchName string)
- func (g *GitlabCreateBranchOptions) MustSetBranchName(branchName string)
- func (g *GitlabCreateBranchOptions) MustSetSourceBranchName(sourceBranchName string)
- func (g *GitlabCreateBranchOptions) SetBranchName(branchName string) (err error)
- func (g *GitlabCreateBranchOptions) SetFailIfAlreadyExists(failIfAlreadyExists bool)
- func (g *GitlabCreateBranchOptions) SetSourceBranchName(sourceBranchName string) (err error)
- func (g *GitlabCreateBranchOptions) SetVerbose(verbose bool)
- type GitlabCreateDeployKeyOptions
- func (o *GitlabCreateDeployKeyOptions) GetName() (name string, err error)
- func (g *GitlabCreateDeployKeyOptions) GetPublicKeyFile() (publicKeyFile files.File, err error)
- func (o *GitlabCreateDeployKeyOptions) GetPublicKeyMaterialString() (keyMaterial string, err error)
- func (o *GitlabCreateDeployKeyOptions) GetPublicKeyfile() (keyFile files.File, err error)
- func (g *GitlabCreateDeployKeyOptions) GetVerbose() (verbose bool, err error)
- func (g *GitlabCreateDeployKeyOptions) GetWriteAccess() (writeAccess bool, err error)
- func (g *GitlabCreateDeployKeyOptions) MustGetName() (name string)
- func (g *GitlabCreateDeployKeyOptions) MustGetPublicKeyFile() (publicKeyFile files.File)
- func (g *GitlabCreateDeployKeyOptions) MustGetPublicKeyMaterialString() (keyMaterial string)
- func (g *GitlabCreateDeployKeyOptions) MustGetPublicKeyfile() (keyFile files.File)
- func (g *GitlabCreateDeployKeyOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabCreateDeployKeyOptions) MustGetWriteAccess() (writeAccess bool)
- func (g *GitlabCreateDeployKeyOptions) MustSetName(name string)
- func (g *GitlabCreateDeployKeyOptions) MustSetPublicKeyFile(publicKeyFile files.File)
- func (g *GitlabCreateDeployKeyOptions) MustSetVerbose(verbose bool)
- func (g *GitlabCreateDeployKeyOptions) MustSetWriteAccess(writeAccess bool)
- func (g *GitlabCreateDeployKeyOptions) SetName(name string) (err error)
- func (g *GitlabCreateDeployKeyOptions) SetPublicKeyFile(publicKeyFile files.File) (err error)
- func (g *GitlabCreateDeployKeyOptions) SetVerbose(verbose bool) (err error)
- func (g *GitlabCreateDeployKeyOptions) SetWriteAccess(writeAccess bool) (err error)
- type GitlabCreateGroupOptions
- func (o *GitlabCreateGroupOptions) GetDeepCopy() (copy *GitlabCreateGroupOptions)
- func (g *GitlabCreateGroupOptions) GetVerbose() (verbose bool, err error)
- func (g *GitlabCreateGroupOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabCreateGroupOptions) MustSetVerbose(verbose bool)
- func (g *GitlabCreateGroupOptions) SetVerbose(verbose bool) (err error)
- type GitlabCreateMergeRequestOptions
- func (g *GitlabCreateMergeRequestOptions) GetAssignToSelf() (assignToSelf bool)
- func (g *GitlabCreateMergeRequestOptions) GetDeepCopy() (copy *GitlabCreateMergeRequestOptions)
- func (g *GitlabCreateMergeRequestOptions) GetDeleteSourceBranchOnMerge() (deleteSourceBranchOnMerge bool)
- func (g *GitlabCreateMergeRequestOptions) GetDescription() (description string, err error)
- func (g *GitlabCreateMergeRequestOptions) GetDescriptionOrEmptyStringIfUnset() (description string)
- func (g *GitlabCreateMergeRequestOptions) GetFailIfMergeRequestAlreadyExists() (failIfMergeRequestAlreadyExists bool)
- func (g *GitlabCreateMergeRequestOptions) GetLabels() (labels []string, err error)
- func (g *GitlabCreateMergeRequestOptions) GetLabelsOrEmptySliceIfUnset() (labels []string)
- func (g *GitlabCreateMergeRequestOptions) GetSourceBranchName() (sourceBranchName string, err error)
- func (g *GitlabCreateMergeRequestOptions) GetSquashEnabled() (squashEnabled bool)
- func (g *GitlabCreateMergeRequestOptions) GetTargetBranchName() (targetBranchName string, err error)
- func (g *GitlabCreateMergeRequestOptions) GetTitle() (title string, err error)
- func (g *GitlabCreateMergeRequestOptions) GetVerbose() (verbose bool)
- func (g *GitlabCreateMergeRequestOptions) IsTargetBranchSet() (isSet bool)
- func (g *GitlabCreateMergeRequestOptions) MustGetDescription() (description string)
- func (g *GitlabCreateMergeRequestOptions) MustGetLabels() (labels []string)
- func (g *GitlabCreateMergeRequestOptions) MustGetSourceBranchName() (sourceBranchName string)
- func (g *GitlabCreateMergeRequestOptions) MustGetTargetBranchName() (targetBranchName string)
- func (g *GitlabCreateMergeRequestOptions) MustGetTitle() (title string)
- func (g *GitlabCreateMergeRequestOptions) MustSetDescription(description string)
- func (g *GitlabCreateMergeRequestOptions) MustSetLabels(labels []string)
- func (g *GitlabCreateMergeRequestOptions) MustSetSourceBranchName(sourceBranchName string)
- func (g *GitlabCreateMergeRequestOptions) MustSetTargetBranchName(targetBranchName string)
- func (g *GitlabCreateMergeRequestOptions) MustSetTitle(title string)
- func (g *GitlabCreateMergeRequestOptions) SetAssignToSelf(assignToSelf bool)
- func (g *GitlabCreateMergeRequestOptions) SetDeleteSourceBranchOnMerge(deleteSourceBranchOnMerge bool)
- func (g *GitlabCreateMergeRequestOptions) SetDescription(description string) (err error)
- func (g *GitlabCreateMergeRequestOptions) SetFailIfMergeRequestAlreadyExists(failIfMergeRequestAlreadyExists bool)
- func (g *GitlabCreateMergeRequestOptions) SetLabels(labels []string) (err error)
- func (g *GitlabCreateMergeRequestOptions) SetSourceBranchName(sourceBranchName string) (err error)
- func (g *GitlabCreateMergeRequestOptions) SetSquashEnabled(squashEnabled bool)
- func (g *GitlabCreateMergeRequestOptions) SetTargetBranchName(targetBranchName string) (err error)
- func (g *GitlabCreateMergeRequestOptions) SetTitle(title string) (err error)
- func (g *GitlabCreateMergeRequestOptions) SetVerbose(verbose bool)
- type GitlabCreatePersonalAccessTokenOptions
- func (o *GitlabCreatePersonalAccessTokenOptions) GetName() (name string, err error)
- func (g *GitlabCreatePersonalAccessTokenOptions) GetVerbose() (verbose bool, err error)
- func (g *GitlabCreatePersonalAccessTokenOptions) MustGetName() (name string)
- func (g *GitlabCreatePersonalAccessTokenOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabCreatePersonalAccessTokenOptions) MustSetName(name string)
- func (g *GitlabCreatePersonalAccessTokenOptions) MustSetVerbose(verbose bool)
- func (g *GitlabCreatePersonalAccessTokenOptions) SetName(name string) (err error)
- func (g *GitlabCreatePersonalAccessTokenOptions) SetVerbose(verbose bool) (err error)
- type GitlabCreateProjectOptions
- func (o *GitlabCreateProjectOptions) GetGroupNames(verbose bool) (groupNames []string, err error)
- func (o *GitlabCreateProjectOptions) GetGroupPath(verbose bool) (groupPath string, err error)
- func (g *GitlabCreateProjectOptions) GetIsPublic() (isPublic bool, err error)
- func (o *GitlabCreateProjectOptions) GetProjectName() (projectName string, err error)
- func (o *GitlabCreateProjectOptions) GetProjectPath() (projectPath string, err error)
- func (g *GitlabCreateProjectOptions) GetVerbose() (verbose bool, err error)
- func (g *GitlabCreateProjectOptions) MustGetGroupNames(verbose bool) (groupNames []string)
- func (g *GitlabCreateProjectOptions) MustGetGroupPath(verbose bool) (groupPath string)
- func (g *GitlabCreateProjectOptions) MustGetIsPublic() (isPublic bool)
- func (g *GitlabCreateProjectOptions) MustGetProjectName() (projectName string)
- func (g *GitlabCreateProjectOptions) MustGetProjectPath() (projectPath string)
- func (g *GitlabCreateProjectOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabCreateProjectOptions) MustSetIsPublic(isPublic bool)
- func (g *GitlabCreateProjectOptions) MustSetProjectPath(projectPath string)
- func (g *GitlabCreateProjectOptions) MustSetVerbose(verbose bool)
- func (g *GitlabCreateProjectOptions) SetIsPublic(isPublic bool) (err error)
- func (g *GitlabCreateProjectOptions) SetProjectPath(projectPath string) (err error)
- func (g *GitlabCreateProjectOptions) SetVerbose(verbose bool) (err error)
- type GitlabCreateReleaseLinkOptions
- func (g *GitlabCreateReleaseLinkOptions) GetName() (name string, err error)
- func (g *GitlabCreateReleaseLinkOptions) GetNameAndUrl() (name string, url string, err error)
- func (g *GitlabCreateReleaseLinkOptions) GetUrl() (url string, err error)
- func (g *GitlabCreateReleaseLinkOptions) GetVerbose() (verbose bool)
- func (g *GitlabCreateReleaseLinkOptions) MustGetName() (name string)
- func (g *GitlabCreateReleaseLinkOptions) MustGetNameAndUrl() (name string, url string)
- func (g *GitlabCreateReleaseLinkOptions) MustGetUrl() (url string)
- func (g *GitlabCreateReleaseLinkOptions) MustSetName(name string)
- func (g *GitlabCreateReleaseLinkOptions) MustSetUrl(url string)
- func (g *GitlabCreateReleaseLinkOptions) SetName(name string) (err error)
- func (g *GitlabCreateReleaseLinkOptions) SetUrl(url string) (err error)
- func (g *GitlabCreateReleaseLinkOptions) SetVerbose(verbose bool)
- type GitlabCreateReleaseOptions
- func (g *GitlabCreateReleaseOptions) GetDescription() (description string, err error)
- func (g *GitlabCreateReleaseOptions) GetName() (name string, err error)
- func (g *GitlabCreateReleaseOptions) GetVerbose() (verbose bool)
- func (g *GitlabCreateReleaseOptions) MustGetDescription() (description string)
- func (g *GitlabCreateReleaseOptions) MustGetName() (name string)
- func (g *GitlabCreateReleaseOptions) MustSetDescription(description string)
- func (g *GitlabCreateReleaseOptions) MustSetName(name string)
- func (g *GitlabCreateReleaseOptions) SetDescription(description string) (err error)
- func (g *GitlabCreateReleaseOptions) SetName(name string) (err error)
- func (g *GitlabCreateReleaseOptions) SetVerbose(verbose bool)
- type GitlabCreateTagOptions
- func (g *GitlabCreateTagOptions) GetDeepCopy() (deepCopy *GitlabCreateTagOptions)
- func (g *GitlabCreateTagOptions) GetName() (name string, err error)
- func (g *GitlabCreateTagOptions) GetRef() (ref string, err error)
- func (g *GitlabCreateTagOptions) GetVerbose() (verbose bool)
- func (g *GitlabCreateTagOptions) MustGetName() (name string)
- func (g *GitlabCreateTagOptions) MustGetRef() (ref string)
- func (g *GitlabCreateTagOptions) MustSetName(name string)
- func (g *GitlabCreateTagOptions) MustSetRef(ref string)
- func (g *GitlabCreateTagOptions) SetName(name string) (err error)
- func (g *GitlabCreateTagOptions) SetRef(ref string) (err error)
- func (g *GitlabCreateTagOptions) SetVerbose(verbose bool)
- type GitlabCreateUserOptions
- func (g *GitlabCreateUserOptions) GetEmail() (email string, err error)
- func (g *GitlabCreateUserOptions) GetName() (name string, err error)
- func (g *GitlabCreateUserOptions) GetPassword() (password string, err error)
- func (g *GitlabCreateUserOptions) GetUsername() (username string, err error)
- func (g *GitlabCreateUserOptions) GetVerbose() (verbose bool, err error)
- func (g *GitlabCreateUserOptions) MustGetEmail() (email string)
- func (g *GitlabCreateUserOptions) MustGetName() (name string)
- func (g *GitlabCreateUserOptions) MustGetPassword() (password string)
- func (g *GitlabCreateUserOptions) MustGetUsername() (username string)
- func (g *GitlabCreateUserOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabCreateUserOptions) MustSetEmail(email string)
- func (g *GitlabCreateUserOptions) MustSetName(name string)
- func (g *GitlabCreateUserOptions) MustSetPassword(password string)
- func (g *GitlabCreateUserOptions) MustSetUsername(username string)
- func (g *GitlabCreateUserOptions) MustSetVerbose(verbose bool)
- func (g *GitlabCreateUserOptions) SetEmail(email string) (err error)
- func (g *GitlabCreateUserOptions) SetName(name string) (err error)
- func (g *GitlabCreateUserOptions) SetPassword(password string) (err error)
- func (g *GitlabCreateUserOptions) SetUsername(username string) (err error)
- func (g *GitlabCreateUserOptions) SetVerbose(verbose bool) (err error)
- type GitlabDeleteBranchOptions
- type GitlabDeleteProjectOptions
- func (g *GitlabDeleteProjectOptions) GetProjectPath() (projectPath string, err error)
- func (g *GitlabDeleteProjectOptions) GetVerbose() (verbose bool)
- func (g *GitlabDeleteProjectOptions) MustGetProjectPath() (projectPath string)
- func (g *GitlabDeleteProjectOptions) MustSetProjectPath(projectPath string)
- func (g *GitlabDeleteProjectOptions) SetProjectPath(projectPath string) (err error)
- func (g *GitlabDeleteProjectOptions) SetVerbose(verbose bool)
- type GitlabDeleteReleaseOptions
- func (g *GitlabDeleteReleaseOptions) GetDeleteCorrespondingTag() (deleteCorrespondingTag bool)
- func (g *GitlabDeleteReleaseOptions) GetVerbose() (verbose bool)
- func (g *GitlabDeleteReleaseOptions) SetDeleteCorrespondingTag(deleteCorrespondingTag bool)
- func (g *GitlabDeleteReleaseOptions) SetVerbose(verbose bool)
- type GitlabGetRepositoryFileOptions
- func (g *GitlabGetRepositoryFileOptions) GetBranchName() (branchName string, err error)
- func (g *GitlabGetRepositoryFileOptions) GetPath() (path string, err error)
- func (g *GitlabGetRepositoryFileOptions) GetVerbose() (verbose bool)
- func (g *GitlabGetRepositoryFileOptions) IsBranchNameSet() (isSet bool)
- func (g *GitlabGetRepositoryFileOptions) MustGetBranchName() (branchName string)
- func (g *GitlabGetRepositoryFileOptions) MustGetPath() (path string)
- func (g *GitlabGetRepositoryFileOptions) MustSetBranchName(branchName string)
- func (g *GitlabGetRepositoryFileOptions) MustSetPath(path string)
- func (g *GitlabGetRepositoryFileOptions) SetBranchName(branchName string) (err error)
- func (g *GitlabGetRepositoryFileOptions) SetPath(path string) (err error)
- func (g *GitlabGetRepositoryFileOptions) SetVerbose(verbose bool)
- type GitlabGroup
- func (g *GitlabGroup) Create(createOptions *GitlabCreateGroupOptions) (err error)
- func (g *GitlabGroup) Delete(verbose bool) (err error)
- func (g *GitlabGroup) Exists(verbose bool) (exists bool, err error)
- func (p *GitlabGroup) GetFqdn() (fqdn string, err error)
- func (p *GitlabGroup) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabGroup) GetGitlabFqdn() (gitlabFqdn string, err error)
- func (g *GitlabGroup) GetGitlabGroups() (gitlabGroups *GitlabGroups, err error)
- func (g *GitlabGroup) GetGroupIdOrPath() (groupIdOrPath interface{}, err error)
- func (g *GitlabGroup) GetGroupIdOrPathAsString() (groupIdOrPath string, err error)
- func (g *GitlabGroup) GetGroupName() (groupName string, err error)
- func (g *GitlabGroup) GetGroupPath() (groupPath string, err error)
- func (g *GitlabGroup) GetGroupPathAndId() (groupPath string, groupId int, err error)
- func (g *GitlabGroup) GetGroupPathAndIdOrEmptyIfUnset() (groupPath string, groupId int)
- func (g *GitlabGroup) GetGroupPathOrEmptyStringIfUnset() (groupPath string)
- func (p *GitlabGroup) GetId() (id int, err error)
- func (g *GitlabGroup) GetIdOrMinusOneIfUnset() (id int)
- func (p *GitlabGroup) GetNativeClient() (nativeClient *gitlab.Client, err error)
- func (g *GitlabGroup) GetNativeGroupsService() (nativeGroupsService *gitlab.GroupsService, err error)
- func (g *GitlabGroup) GetParentGroup(verbose bool) (parentGroup *GitlabGroup, err error)
- func (p *GitlabGroup) GetParentGroupPath(verbose bool) (parentGroupPath string, err error)
- func (g *GitlabGroup) GetRawResponse() (rawRespoonse *gitlab.Group, err error)
- func (g *GitlabGroup) IsGroupPathSet() (isSet bool)
- func (g *GitlabGroup) IsIdSet() (isSet bool)
- func (g *GitlabGroup) IsSubgroup() (isSubgroup bool, err error)
- func (g *GitlabGroup) ListProjectPaths(options *GitlabListProjectsOptions) (projectPaths []string, err error)
- func (g *GitlabGroup) MustCreate(createOptions *GitlabCreateGroupOptions)
- func (g *GitlabGroup) MustDelete(verbose bool)
- func (g *GitlabGroup) MustExists(verbose bool) (exists bool)
- func (g *GitlabGroup) MustGetFqdn() (fqdn string)
- func (g *GitlabGroup) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabGroup) MustGetGitlabFqdn() (gitlabFqdn string)
- func (g *GitlabGroup) MustGetGitlabGroups() (gitlabGroups *GitlabGroups)
- func (g *GitlabGroup) MustGetGroupIdOrPath() (groupIdOrPath interface{})
- func (g *GitlabGroup) MustGetGroupIdOrPathAsString() (groupIdOrPath string)
- func (g *GitlabGroup) MustGetGroupName() (groupName string)
- func (g *GitlabGroup) MustGetGroupPath() (groupPath string)
- func (g *GitlabGroup) MustGetGroupPathAndId() (groupPath string, groupId int)
- func (g *GitlabGroup) MustGetId(verbose bool) (id int)
- func (g *GitlabGroup) MustGetNativeClient() (nativeClient *gitlab.Client)
- func (g *GitlabGroup) MustGetNativeGroupsService() (nativeGroupsService *gitlab.GroupsService)
- func (g *GitlabGroup) MustGetParentGroup(verbose bool) (parentGroup *GitlabGroup)
- func (g *GitlabGroup) MustGetParentGroupPath(verbose bool) (parentGroupPath string)
- func (g *GitlabGroup) MustGetRawResponse() (rawRespoonse *gitlab.Group)
- func (g *GitlabGroup) MustIsSubgroup() (isSubgroup bool)
- func (g *GitlabGroup) MustListProjectPaths(options *GitlabListProjectsOptions) (projectPaths []string)
- func (g *GitlabGroup) MustSetGitlab(gitlab *GitlabInstance)
- func (g *GitlabGroup) MustSetGroupPath(groupPath string)
- func (g *GitlabGroup) MustSetId(id int)
- func (p *GitlabGroup) SetGitlab(gitlab *GitlabInstance) (err error)
- func (g *GitlabGroup) SetGroupPath(groupPath string) (err error)
- func (p *GitlabGroup) SetId(id int) (err error)
- type GitlabGroups
- func (g *GitlabGroups) CreateGroup(groupPath string, createOptions *GitlabCreateGroupOptions) (createdGroup *GitlabGroup, err error)
- func (p *GitlabGroups) GetFqdn() (fqdn string, err error)
- func (p *GitlabGroups) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabGroups) GetGroupById(id int, verbose bool) (gitlabGroup *GitlabGroup, err error)
- func (g *GitlabGroups) GetGroupByPath(groupPath string, verbose bool) (gitlabGroup *GitlabGroup, err error)
- func (p *GitlabGroups) GetNativeClient() (nativeClient *gitlab.Client, err error)
- func (p *GitlabGroups) GetNativeGroupsService() (nativeGroupsService *gitlab.GroupsService, err error)
- func (g *GitlabGroups) GroupByGroupPathExists(groupPath string, verbose bool) (groupExists bool, err error)
- func (g *GitlabGroups) MustCreateGroup(groupPath string, createOptions *GitlabCreateGroupOptions) (createdGroup *GitlabGroup)
- func (g *GitlabGroups) MustGetFqdn() (fqdn string)
- func (g *GitlabGroups) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabGroups) MustGetGroupById(id int, verbose bool) (gitlabGroup *GitlabGroup)
- func (g *GitlabGroups) MustGetGroupByPath(groupPath string, verbose bool) (gitlabGroup *GitlabGroup)
- func (g *GitlabGroups) MustGetNativeClient() (nativeClient *gitlab.Client)
- func (g *GitlabGroups) MustGetNativeGroupsService() (nativeGroupsService *gitlab.GroupsService)
- func (g *GitlabGroups) MustGroupByGroupPathExists(groupPath string, verbose bool) (groupExists bool)
- func (g *GitlabGroups) MustSetGitlab(gitlab *GitlabInstance)
- func (p *GitlabGroups) SetGitlab(gitlab *GitlabInstance) (err error)
- type GitlabInstance
- func (g *GitlabInstance) AddRunner(newRunnerOptions *GitlabAddRunnerOptions) (createdRunner *GitlabRunner, err error)
- func (g *GitlabInstance) Authenticate(authOptions *GitlabAuthenticationOptions) (err error)
- func (g *GitlabInstance) CheckProjectByPathExists(projectPath string, verbose bool) (projectExists bool, err error)
- func (g *GitlabInstance) CheckRunnerStatusOk(runnerName string, verbose bool) (isStatusOk bool, err error)
- func (g *GitlabInstance) CreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string, err error)
- func (g *GitlabInstance) CreateGroupByPath(groupPath string, createOptions *GitlabCreateGroupOptions) (createdGroup *GitlabGroup, err error)
- func (g *GitlabInstance) CreatePersonalProject(projectName string, verbose bool) (personalProject *GitlabProject, err error)
- func (g *GitlabInstance) CreateProject(createOptions *GitlabCreateProjectOptions) (gitlabProject *GitlabProject, err error)
- func (g *GitlabInstance) DeleteGroupByPath(groupPath string, verbose bool) (err error)
- func (g *GitlabInstance) GetApiV4Url() (v4ApiUrl string, err error)
- func (g *GitlabInstance) GetCurrentUser(verbose bool) (currentUser *GitlabUser, err error)
- func (g *GitlabInstance) GetCurrentUsersName(verbose bool) (currentUserName string, err error)
- func (g *GitlabInstance) GetCurrentUsersUsername(verbose bool) (currentUserName string, err error)
- func (g *GitlabInstance) GetCurrentlyUsedAccessToken() (gitlabAccessToken string, err error)
- func (g *GitlabInstance) GetDeepCopy() (copy *GitlabInstance)
- func (g *GitlabInstance) GetFqdn() (fqdn string, err error)
- func (g *GitlabInstance) GetGitlabGroups() (gitlabGroups *GitlabGroups, err error)
- func (g *GitlabInstance) GetGitlabProjectById(projectId int, verbose bool) (gitlabProject *GitlabProject, err error)
- func (g *GitlabInstance) GetGitlabProjectByPath(projectPath string, verbose bool) (gitlabProject *GitlabProject, err error)
- func (g *GitlabInstance) GetGitlabProjects() (gitlabProjects *GitlabProjects, err error)
- func (g *GitlabInstance) GetGitlabRunners() (gitlabRunners *GitlabRunnersService, err error)
- func (g *GitlabInstance) GetGitlabSettings() (gitlabSettings *GitlabSettings, err error)
- func (g *GitlabInstance) GetGitlabUsers() (gitlabUsers *GitlabUsers, err error)
- func (g *GitlabInstance) GetGroupById(id int, verbose bool) (gitlabGroup *GitlabGroup, err error)
- func (g *GitlabInstance) GetGroupByPath(groupPath string, verbose bool) (gitlabGroup *GitlabGroup, err error)
- func (g *GitlabInstance) GetNativeBranchesClient() (nativeClient *gitlab.BranchesService, err error)
- func (g *GitlabInstance) GetNativeClient() (nativeClient *gitlab.Client, err error)
- func (g *GitlabInstance) GetNativeMergeRequestsService() (nativeClient *gitlab.MergeRequestsService, err error)
- func (g *GitlabInstance) GetNativeReleaseLinksClient() (nativeClient *gitlab.ReleaseLinksService, err error)
- func (g *GitlabInstance) GetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService, err error)
- func (g *GitlabInstance) GetNativeRepositoriesClient() (nativeRepositoriesClient *gitlab.RepositoriesService, err error)
- func (g *GitlabInstance) GetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, err error)
- func (g *GitlabInstance) GetNativeTagsService() (nativeTagsService *gitlab.TagsService, err error)
- func (g *GitlabInstance) GetPersonalAccessTokenList(verbose bool) (personalAccessTokens []*GitlabPersonalAccessToken, err error)
- func (g *GitlabInstance) GetPersonalAccessTokens() (tokens *GitlabPersonalAccessTokenService, err error)
- func (g *GitlabInstance) GetPersonalProjectByName(projectName string, verbose bool) (project *GitlabProject, err error)
- func (g *GitlabInstance) GetPersonalProjectsPath(verbose bool) (personalProjetsPath string, err error)
- func (g *GitlabInstance) GetProjectIdByPath(projectPath string, verbose bool) (projectId int, err error)
- func (g *GitlabInstance) GetProjectPathList(options *GitlabgetProjectListOptions) (projectPaths []string, err error)
- func (g *GitlabInstance) GetRunnerByName(name string) (runner *GitlabRunner, err error)
- func (g *GitlabInstance) GetUserById(id int) (gitlabUser *GitlabUser, err error)
- func (g *GitlabInstance) GetUserByUsername(username string) (gitlabUser *GitlabUser, err error)
- func (g *GitlabInstance) GetUserId() (userId int, err error)
- func (g *GitlabInstance) GetUserNameList(verbose bool) (userNames []string, err error)
- func (g *GitlabInstance) GroupByGroupPathExists(groupPath string, verbose bool) (groupExists bool, err error)
- func (g *GitlabInstance) MustAddRunner(newRunnerOptions *GitlabAddRunnerOptions) (createdRunner *GitlabRunner)
- func (g *GitlabInstance) MustAuthenticate(authOptions *GitlabAuthenticationOptions)
- func (g *GitlabInstance) MustCheckProjectByPathExists(projectPath string, verbose bool) (projectExists bool)
- func (g *GitlabInstance) MustCheckRunnerStatusOk(runnerName string, verbose bool) (isStatusOk bool)
- func (g *GitlabInstance) MustCreateGroupByPath(groupPath string, createOptions *GitlabCreateGroupOptions) (createdGroup *GitlabGroup)
- func (g *GitlabInstance) MustCreatePersonalProject(projectName string, verbose bool) (personalProject *GitlabProject)
- func (g *GitlabInstance) MustCreateProject(createOptions *GitlabCreateProjectOptions) (gitlabProject *GitlabProject)
- func (g *GitlabInstance) MustDeleteGroupByPath(groupPath string, verbose bool)
- func (g *GitlabInstance) MustGetApiV4Url() (v4ApiUrl string)
- func (g *GitlabInstance) MustGetCurrentUser(verbose bool) (currentUser *GitlabUser)
- func (g *GitlabInstance) MustGetCurrentUserName(verbose bool) (currentUserName string)
- func (g *GitlabInstance) MustGetCurrentUsersName(verbose bool) (currentUserName string)
- func (g *GitlabInstance) MustGetCurrentUsersUsername(verbose bool) (currentUserName string)
- func (g *GitlabInstance) MustGetCurrentlyUsedAccessToken() (gitlabAccessToken string)
- func (g *GitlabInstance) MustGetFqdn() (fqdn string)
- func (g *GitlabInstance) MustGetGitlabGroups() (gitlabGroups *GitlabGroups)
- func (g *GitlabInstance) MustGetGitlabProjectById(projectId int, verbose bool) (gitlabProject *GitlabProject)
- func (g *GitlabInstance) MustGetGitlabProjectByPath(projectPath string, verbose bool) (gitlabProject *GitlabProject)
- func (g *GitlabInstance) MustGetGitlabProjects() (gitlabProjects *GitlabProjects)
- func (g *GitlabInstance) MustGetGitlabRunners() (gitlabRunners *GitlabRunnersService)
- func (g *GitlabInstance) MustGetGitlabSettings() (gitlabSettings *GitlabSettings)
- func (g *GitlabInstance) MustGetGitlabUsers() (gitlabUsers *GitlabUsers)
- func (g *GitlabInstance) MustGetGroupById(id int, verbose bool) (gitlabGroup *GitlabGroup)
- func (g *GitlabInstance) MustGetGroupByPath(groupPath string, verbose bool) (gitlabGroup *GitlabGroup)
- func (g *GitlabInstance) MustGetNativeBranchesClient() (nativeClient *gitlab.BranchesService)
- func (g *GitlabInstance) MustGetNativeClient() (nativeClient *gitlab.Client)
- func (g *GitlabInstance) MustGetNativeMergeRequestsService() (nativeClient *gitlab.MergeRequestsService)
- func (g *GitlabInstance) MustGetNativeReleaseLinksClient() (nativeClient *gitlab.ReleaseLinksService)
- func (g *GitlabInstance) MustGetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService)
- func (g *GitlabInstance) MustGetNativeRepositoriesClient() (nativeRepositoriesClient *gitlab.RepositoriesService)
- func (g *GitlabInstance) MustGetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService)
- func (g *GitlabInstance) MustGetNativeTagsService() (nativeTagsService *gitlab.TagsService)
- func (g *GitlabInstance) MustGetPersonalAccessTokenList(verbose bool) (personalAccessTokens []*GitlabPersonalAccessToken)
- func (g *GitlabInstance) MustGetPersonalAccessTokens() (tokens *GitlabPersonalAccessTokenService)
- func (g *GitlabInstance) MustGetPersonalProjectByName(projectName string, verbose bool) (project *GitlabProject)
- func (g *GitlabInstance) MustGetPersonalProjectsPath(verbose bool) (personalProjetsPath string)
- func (g *GitlabInstance) MustGetProjectIdByPath(projectPath string, verbose bool) (projectId int)
- func (g *GitlabInstance) MustGetProjectPathList(options *GitlabgetProjectListOptions) (projectPaths []string)
- func (g *GitlabInstance) MustGetRunnerByName(name string) (runner *GitlabRunner)
- func (g *GitlabInstance) MustGetUserById(id int) (gitlabUser *GitlabUser)
- func (g *GitlabInstance) MustGetUserByUsername(username string) (gitlabUser *GitlabUser)
- func (g *GitlabInstance) MustGetUserId() (userId int)
- func (g *GitlabInstance) MustGetUserNameList(verbose bool) (userNames []string)
- func (g *GitlabInstance) MustGroupByGroupPathExists(groupPath string, verbose bool) (groupExists bool)
- func (g *GitlabInstance) MustProjectByProjectIdExists(projectId int, verbose bool) (projectExists bool)
- func (g *GitlabInstance) MustProjectByProjectPathExists(projectPath string, verbose bool) (projectExists bool)
- func (g *GitlabInstance) MustRecreatePersonalAccessToken(createOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string)
- func (g *GitlabInstance) MustRemoveAllRunners(verbose bool)
- func (g *GitlabInstance) MustResetAccessToken(options *GitlabResetAccessTokenOptions)
- func (g *GitlabInstance) MustResetUserPassword(resetOptions *GitlabResetPasswordOptions)
- func (g *GitlabInstance) MustSetCurrentlyUsedAccessToken(currentlyUsedAccessToken *string)
- func (g *GitlabInstance) MustSetFqdn(fqdn string)
- func (g *GitlabInstance) MustSetNativeClient(nativeClient *gitlab.Client)
- func (g *GitlabInstance) MustUseUnauthenticatedClient(verbose bool)
- func (g *GitlabInstance) ProjectByProjectIdExists(projectId int, verbose bool) (projectExists bool, err error)
- func (g *GitlabInstance) ProjectByProjectPathExists(projectPath string, verbose bool) (projectExists bool, err error)
- func (g *GitlabInstance) RecreatePersonalAccessToken(createOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string, err error)
- func (g *GitlabInstance) RemoveAllRunners(verbose bool) (err error)
- func (g *GitlabInstance) ResetAccessToken(options *GitlabResetAccessTokenOptions) (err error)
- func (g *GitlabInstance) ResetUserPassword(resetOptions *GitlabResetPasswordOptions) (err error)
- func (g *GitlabInstance) SetCurrentlyUsedAccessToken(currentlyUsedAccessToken *string) (err error)
- func (g *GitlabInstance) SetFqdn(fqdn string) (err error)
- func (g *GitlabInstance) SetNativeClient(nativeClient *gitlab.Client) (err error)
- func (g *GitlabInstance) UseUnauthenticatedClient(verbose bool) (err error)
- type GitlabListProjectsOptions
- type GitlabMergeOptions
- type GitlabMergeRequest
- func (g *GitlabMergeRequest) GetCachedSourceBranchName() (cachedSourceBranchName string, err error)
- func (g *GitlabMergeRequest) GetCachedTargetBranchName() (cachedTargetBranchName string, err error)
- func (g *GitlabMergeRequest) GetCachedTitle() (cachedTitle string, err error)
- func (g *GitlabMergeRequest) GetDescription() (description string, err error)
- func (g *GitlabMergeRequest) GetDetailedMergeStatus(verbose bool) (mergeStatus string, err error)
- func (g *GitlabMergeRequest) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabMergeRequest) GetGitlabProjectMergeRequests() (gitlabProjectMergeRequests *GitlabProjectMergeRequests, err error)
- func (g *GitlabMergeRequest) GetId() (id int, err error)
- func (g *GitlabMergeRequest) GetLabels() (labels []string, err error)
- func (g *GitlabMergeRequest) GetMergeCommit(verbose bool) (mergeCommit *GitlabCommit, err error)
- func (g *GitlabMergeRequest) GetMergeCommitSha(verbose bool) (mergeCommitSha string, err error)
- func (g *GitlabMergeRequest) GetNativeMergeRequestsService() (nativeService *gitlab.MergeRequestsService, err error)
- func (g *GitlabMergeRequest) GetProject() (project *GitlabProject, err error)
- func (g *GitlabMergeRequest) GetProjectId() (projectId int, err error)
- func (g *GitlabMergeRequest) GetRawResponse() (rawResponse *gitlab.MergeRequest, err error)
- func (g *GitlabMergeRequest) GetSourceBranchName() (sourceBranchName string, err error)
- func (g *GitlabMergeRequest) GetTargetBranchName() (targetBranchName string, err error)
- func (g *GitlabMergeRequest) GetUrlAsString() (url string, err error)
- func (g *GitlabMergeRequest) IsClosed() (isClosed bool, err error)
- func (g *GitlabMergeRequest) IsMerged() (isMerged bool, err error)
- func (g *GitlabMergeRequest) IsOpen() (isOpen bool, err error)
- func (g *GitlabMergeRequest) Merge(options *GitlabMergeOptions) (mergeCommit *GitlabCommit, err error)
- func (g *GitlabMergeRequest) MustClose(closeMessage string, verbose bool) (err error)
- func (g *GitlabMergeRequest) MustGetCachedSourceBranchName() (cachedSourceBranchName string)
- func (g *GitlabMergeRequest) MustGetCachedTargetBranchName() (cachedTargetBranchName string)
- func (g *GitlabMergeRequest) MustGetCachedTitle() (cachedTitle string)
- func (g *GitlabMergeRequest) MustGetDescription() (description string)
- func (g *GitlabMergeRequest) MustGetDetailedMergeStatus(verbose bool) (mergeStatus string)
- func (g *GitlabMergeRequest) MustGetGitlabMergeRequests() (gitlabMergeRequests *GitlabProjectMergeRequests)
- func (g *GitlabMergeRequest) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabMergeRequest) MustGetGitlabProjectMergeRequests() (gitlabProjectMergeRequests *GitlabProjectMergeRequests)
- func (g *GitlabMergeRequest) MustGetId() (id int)
- func (g *GitlabMergeRequest) MustGetLabels() (labels []string)
- func (g *GitlabMergeRequest) MustGetMergeCommit(verbose bool) (mergeCommit *GitlabCommit)
- func (g *GitlabMergeRequest) MustGetMergeCommitSha(verbose bool) (mergeCommitSha string)
- func (g *GitlabMergeRequest) MustGetNativeMergeRequestsService() (nativeService *gitlab.MergeRequestsService)
- func (g *GitlabMergeRequest) MustGetProject() (project *GitlabProject)
- func (g *GitlabMergeRequest) MustGetProjectId() (projectId int)
- func (g *GitlabMergeRequest) MustGetRawResponse() (rawResponse *gitlab.MergeRequest)
- func (g *GitlabMergeRequest) MustGetSourceBranchName() (sourceBranchName string)
- func (g *GitlabMergeRequest) MustGetTargetBranchName() (targetBranchName string)
- func (g *GitlabMergeRequest) MustGetUrlAsString() (url string)
- func (g *GitlabMergeRequest) MustIsClosed() (isClosed bool)
- func (g *GitlabMergeRequest) MustIsMerged() (isMerged bool)
- func (g *GitlabMergeRequest) MustIsOpen() (isOpen bool)
- func (g *GitlabMergeRequest) MustMerge(options *GitlabMergeOptions) (mergeCommit *GitlabCommit)
- func (g *GitlabMergeRequest) MustSetCachedSourceBranchName(cachedSourceBranchName string)
- func (g *GitlabMergeRequest) MustSetCachedTargetBranchName(cachedTargetBranchName string)
- func (g *GitlabMergeRequest) MustSetCachedTitle(cachedTitle string)
- func (g *GitlabMergeRequest) MustSetGitlabProjectMergeRequests(gitlabProjectMergeRequests *GitlabProjectMergeRequests)
- func (g *GitlabMergeRequest) MustSetId(id int)
- func (g *GitlabMergeRequest) MustWaitUntilDetailedMergeStatusIsNotChecking(verbose bool)
- func (g *GitlabMergeRequest) SetCachedSourceBranchName(cachedSourceBranchName string) (err error)
- func (g *GitlabMergeRequest) SetCachedTargetBranchName(cachedTargetBranchName string) (err error)
- func (g *GitlabMergeRequest) SetCachedTitle(cachedTitle string) (err error)
- func (g *GitlabMergeRequest) SetGitlabProjectMergeRequests(gitlabProjectMergeRequests *GitlabProjectMergeRequests) (err error)
- func (g *GitlabMergeRequest) SetId(id int) (err error)
- func (g *GitlabMergeRequest) WaitUntilDetailedMergeStatusIsNotChecking(verbose bool) (err error)
- type GitlabPersonalAccessToken
- func (t *GitlabPersonalAccessToken) GetCachedName() (cachedName string, err error)
- func (g *GitlabPersonalAccessToken) GetGitlabPersonalAccessTokens() (gitlabPersonalAccessTokens *GitlabPersonalAccessTokenService, err error)
- func (t *GitlabPersonalAccessToken) GetId() (id int, err error)
- func (t *GitlabPersonalAccessToken) GetInfoString(verbose bool) (infoString string, err error)
- func (t *GitlabPersonalAccessToken) GetNativePersonalTokenService() (nativeService *gitlab.PersonalAccessTokensService, err error)
- func (t *GitlabPersonalAccessToken) GetPersonalAccessTokens() (tokensService *GitlabPersonalAccessTokenService, err error)
- func (t *GitlabPersonalAccessToken) GetTokenRawResponse(verbose bool) (nativeResponse *gitlab.PersonalAccessToken, err error)
- func (g *GitlabPersonalAccessToken) MustGetCachedName() (cachedName string)
- func (g *GitlabPersonalAccessToken) MustGetGitlabPersonalAccessTokens() (gitlabPersonalAccessTokens *GitlabPersonalAccessTokenService)
- func (g *GitlabPersonalAccessToken) MustGetId() (id int)
- func (g *GitlabPersonalAccessToken) MustGetInfoString(verbose bool) (infoString string)
- func (g *GitlabPersonalAccessToken) MustGetNativePersonalTokenService() (nativeService *gitlab.PersonalAccessTokensService)
- func (g *GitlabPersonalAccessToken) MustGetPersonalAccessTokens() (tokensService *GitlabPersonalAccessTokenService)
- func (g *GitlabPersonalAccessToken) MustGetTokenRawResponse(verbose bool) (nativeResponse *gitlab.PersonalAccessToken)
- func (g *GitlabPersonalAccessToken) MustSetCachedName(cachedName string)
- func (g *GitlabPersonalAccessToken) MustSetGitlabPersonalAccessTokens(gitlabPersonalAccessTokens *GitlabPersonalAccessTokenService)
- func (g *GitlabPersonalAccessToken) MustSetId(id int)
- func (g *GitlabPersonalAccessToken) MustSetPersonalAccessTokens(tokensService *GitlabPersonalAccessTokenService)
- func (t *GitlabPersonalAccessToken) SetCachedName(cachedName string) (err error)
- func (g *GitlabPersonalAccessToken) SetGitlabPersonalAccessTokens(gitlabPersonalAccessTokens *GitlabPersonalAccessTokenService) (err error)
- func (t *GitlabPersonalAccessToken) SetId(id int) (err error)
- func (t *GitlabPersonalAccessToken) SetPersonalAccessTokens(tokensService *GitlabPersonalAccessTokenService) (err error)
- type GitlabPersonalAccessTokenService
- func (p *GitlabPersonalAccessTokenService) CreateToken(tokenOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string, err error)
- func (p *GitlabPersonalAccessTokenService) ExistsByName(tokenName string, verbose bool) (exists bool, err error)
- func (p *GitlabPersonalAccessTokenService) GetApiV4Url() (apiV4Url string, err error)
- func (p *GitlabPersonalAccessTokenService) GetCurrentUserId(verbose bool) (userId int, err error)
- func (p *GitlabPersonalAccessTokenService) GetCurrentlyUsedAccessToken() (accessToken string, err error)
- func (p *GitlabPersonalAccessTokenService) GetGitlab() (gitlab *GitlabInstance, err error)
- func (p *GitlabPersonalAccessTokenService) GetGitlabUsers() (gitlabUsers *GitlabUsers, err error)
- func (p *GitlabPersonalAccessTokenService) GetNativeGitlabClient() (nativeClient *gitlab.Client, err error)
- func (p *GitlabPersonalAccessTokenService) GetNativePersonalTokenService() (nativeService *gitlab.PersonalAccessTokensService, err error)
- func (p *GitlabPersonalAccessTokenService) GetNativeUsersService() (nativeService *gitlab.UsersService, err error)
- func (p *GitlabPersonalAccessTokenService) GetPersonalAccessTokenList(verbose bool) (tokens []*GitlabPersonalAccessToken, err error)
- func (p *GitlabPersonalAccessTokenService) GetPersonalAccessTokenNameList(verbose bool) (tokenNames []string, err error)
- func (p *GitlabPersonalAccessTokenService) GetTokenIdByName(tokenName string, verbose bool) (tokenId int, err error)
- func (g *GitlabPersonalAccessTokenService) MustCreateToken(tokenOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string)
- func (g *GitlabPersonalAccessTokenService) MustExistsByName(tokenName string, verbose bool) (exists bool)
- func (g *GitlabPersonalAccessTokenService) MustGetApiV4Url() (apiV4Url string)
- func (g *GitlabPersonalAccessTokenService) MustGetCurrentUserId(verbose bool) (userId int)
- func (g *GitlabPersonalAccessTokenService) MustGetCurrentlyUsedAccessToken() (accessToken string)
- func (g *GitlabPersonalAccessTokenService) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabPersonalAccessTokenService) MustGetGitlabUsers() (gitlabUsers *GitlabUsers)
- func (g *GitlabPersonalAccessTokenService) MustGetNativeGitlabClient() (nativeClient *gitlab.Client)
- func (g *GitlabPersonalAccessTokenService) MustGetNativePersonalTokenService() (nativeService *gitlab.PersonalAccessTokensService)
- func (g *GitlabPersonalAccessTokenService) MustGetNativeUsersService() (nativeService *gitlab.UsersService)
- func (g *GitlabPersonalAccessTokenService) MustGetPersonalAccessTokenList(verbose bool) (tokens []*GitlabPersonalAccessToken)
- func (g *GitlabPersonalAccessTokenService) MustGetPersonalAccessTokenNameList(verbose bool) (tokenNames []string)
- func (g *GitlabPersonalAccessTokenService) MustGetTokenIdByName(tokenName string, verbose bool) (tokenId int)
- func (g *GitlabPersonalAccessTokenService) MustRecreateToken(tokenOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string)
- func (g *GitlabPersonalAccessTokenService) MustRevokeTokenByName(tokenName string, verbose bool)
- func (g *GitlabPersonalAccessTokenService) MustSetGitlab(gitlab *GitlabInstance)
- func (p *GitlabPersonalAccessTokenService) RecreateToken(tokenOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string, err error)
- func (p *GitlabPersonalAccessTokenService) RevokeTokenByName(tokenName string, verbose bool) (err error)
- func (p *GitlabPersonalAccessTokenService) SetGitlab(gitlab *GitlabInstance) (err error)
- type GitlabPersonalProjects
- func (g *GitlabPersonalProjects) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabPersonalProjects) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabPersonalProjects) MustSetGitlab(gitlab *GitlabInstance)
- func (g *GitlabPersonalProjects) SetGitlab(gitlab *GitlabInstance) (err error)
- type GitlabProject
- func GetGitlabProjectByUrl(url *urlsutils.URL, authOptions []authenticationoptions.AuthenticationOption, ...) (gitlabProject *GitlabProject, err error)
- func GetGitlabProjectByUrlFromString(urlString string, authOptions []authenticationoptions.AuthenticationOption, ...) (gitlabProject *GitlabProject, err error)
- func MustGetGitlabProjectByUrl(url *urlsutils.URL, authOptions []authenticationoptions.AuthenticationOption, ...) (gitlabProject *GitlabProject)
- func MustGetGitlabProjectByUrlFromString(urlString string, authOptions []authenticationoptions.AuthenticationOption, ...) (gitlabProject *GitlabProject)
- func NewGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabProject) Create(verbose bool) (err error)
- func (g *GitlabProject) CreateBranchFromDefaultBranch(branchName string, verbose bool) (createdBranch *GitlabBranch, err error)
- func (g *GitlabProject) CreateEmptyFile(fileName string, ref string, verbose bool) (createdFile *GitlabRepositoryFile, err error)
- func (g *GitlabProject) CreateMergeRequest(options *GitlabCreateMergeRequestOptions) (createdMergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabProject) CreateNextMajorReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease, err error)
- func (g *GitlabProject) CreateNextMinorReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease, err error)
- func (g *GitlabProject) CreateNextPatchReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease, err error)
- func (p *GitlabProject) CreateReleaseFromLatestCommitInDefaultBranch(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease, err error)
- func (g *GitlabProject) Delete(verbose bool) (err error)
- func (g *GitlabProject) DeleteAllBranchesExceptDefaultBranch(verbose bool) (err error)
- func (g *GitlabProject) DeleteAllReleases(deleteOptions *GitlabDeleteReleaseOptions) (err error)
- func (g *GitlabProject) DeleteAllRepositoryFiles(branchName string, verbose bool) (err error)
- func (g *GitlabProject) DeleteBranch(branchName string, deleteOptions *GitlabDeleteBranchOptions) (err error)
- func (g *GitlabProject) DeleteFileInDefaultBranch(fileName string, commitMessage string, verbose bool) (err error)
- func (p *GitlabProject) DeployKeyByNameExists(keyName string) (exists bool, err error)
- func (g *GitlabProject) Exists(verbose bool) (projectExists bool, err error)
- func (g *GitlabProject) GetBranchByName(branchName string) (branch *GitlabBranch, err error)
- func (g *GitlabProject) GetBranchNames(verbose bool) (branchNames []string, err error)
- func (g *GitlabProject) GetBranches() (branches *GitlabBranches, err error)
- func (p *GitlabProject) GetCachedPath() (path string, err error)
- func (g *GitlabProject) GetCachedPathForPersonalProject() (cachedPath string, err error)
- func (g *GitlabProject) GetCachedProjectName() (projectName string, err error)
- func (g *GitlabProject) GetCommitByHashString(hashString string, verbose bool) (commit *GitlabCommit, err error)
- func (g *GitlabProject) GetCurrentUserName(verbose bool) (userName string, err error)
- func (g *GitlabProject) GetDeepCopy() (copy *GitlabProject)
- func (g *GitlabProject) GetDefaultBranch() (defaultBranch *GitlabBranch, err error)
- func (g *GitlabProject) GetDefaultBranchName() (defaultBranchName string, err error)
- func (p *GitlabProject) GetDeployKeyByName(keyName string) (projectDeployKey *GitlabProjectDeployKey, err error)
- func (p *GitlabProject) GetDeployKeys() (deployKeys *GitlabProjectDeployKeys, err error)
- func (g *GitlabProject) GetDirectoryNames(ref string, verbose bool) (directoryNames []string, err error)
- func (g *GitlabProject) GetFileInDefaultBranch(fileName string, verbose bool) (repositoryFile *GitlabRepositoryFile, err error)
- func (g *GitlabProject) GetFilesNames(ref string, verbose bool) (fileNames []string, err error)
- func (p *GitlabProject) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabProject) GetGitlabFqdn() (fqdn string, err error)
- func (p *GitlabProject) GetGitlabProjectDeployKeys() (projectDeployKeys *GitlabProjectDeployKeys, err error)
- func (p *GitlabProject) GetGitlabProjects() (projects *GitlabProjects, err error)
- func (p *GitlabProject) GetGitlabReleases() (gitlabReleases *GitlabReleases, err error)
- func (p *GitlabProject) GetId() (id int, err error)
- func (g *GitlabProject) GetLatestCommit(branchName string, verbose bool) (latestCommit *GitlabCommit, err error)
- func (g *GitlabProject) GetLatestCommitHashAsString(branchName string, verbose bool) (commitHash string, err error)
- func (g *GitlabProject) GetLatestCommitOfDefaultBranch(verbose bool) (latestCommit *GitlabCommit, err error)
- func (g *GitlabProject) GetMergeRequests() (mergeRequestes *GitlabProjectMergeRequests, err error)
- func (p *GitlabProject) GetNativeProjectsService() (nativeGitlabProject *gitlab.ProjectsService, err error)
- func (g *GitlabProject) GetNewestSemanticVersion(verbose bool) (newestSemanticVersion *VersionSemanticVersion, err error)
- func (g *GitlabProject) GetNewestVersion(verbose bool) (newestVersion Version, err error)
- func (g *GitlabProject) GetNewestVersionAsString(verbose bool) (newestVersionString string, err error)
- func (g *GitlabProject) GetNextMajorReleaseVersionString(verbose bool) (nextVersionString string, err error)
- func (g *GitlabProject) GetNextMinorReleaseVersionString(verbose bool) (nextVersionString string, err error)
- func (g *GitlabProject) GetNextPatchReleaseVersionString(verbose bool) (nextVersionString string, err error)
- func (g *GitlabProject) GetOpenMergeRequestBySourceAndTargetBranch(sourceBranchName string, targetBranchName string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabProject) GetOpenMergeRequestByTitle(title string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabProject) GetPath() (projectPath string, err error)
- func (g *GitlabProject) GetProjectCommits() (projectCommits *GitlabProjectCommits, err error)
- func (g *GitlabProject) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabProject) GetRawResponse() (nativeGitlabProject *gitlab.Project, err error)
- func (p *GitlabProject) GetReleaseByName(releaseName string) (gitlabRelease *GitlabRelease, err error)
- func (g *GitlabProject) GetRepositoryFile(options *GitlabGetRepositoryFileOptions) (repositoryFile *GitlabRepositoryFile, err error)
- func (g *GitlabProject) GetRepositoryFiles() (repositoryFiles *GitlabRepositoryFiles, err error)
- func (g *GitlabProject) GetSemanticVersions(verbose bool) (semanticVersions []Version, err error)
- func (g *GitlabProject) GetTagByName(tagName string) (tag *GitlabTag, err error)
- func (g *GitlabProject) GetTags() (gitlabTags *GitlabTags, err error)
- func (g *GitlabProject) GetVersionTags(verbose bool) (versionTags []*GitlabTag, err error)
- func (g *GitlabProject) GetVersions(verbose bool) (versions []Version, err error)
- func (g *GitlabProject) HasNoRepositoryFiles(branchName string, verbose bool) (hasNoRepositoryFiles bool, err error)
- func (g *GitlabProject) IsCachedPathSet() (isSet bool)
- func (g *GitlabProject) IsIdSet() (isSet bool, err error)
- func (g *GitlabProject) IsPersonalProject() (isPersonalProject bool, err error)
- func (g *GitlabProject) ListVersionTagNames(verbose bool) (versionTagNames []string, err error)
- func (p *GitlabProject) MakePrivate(verbose bool) (err error)
- func (p *GitlabProject) MakePublic(verbose bool) (err error)
- func (g *GitlabProject) MustCreate(verbose bool)
- func (g *GitlabProject) MustCreateBranchFromDefaultBranch(branchName string, verbose bool) (createdBranch *GitlabBranch)
- func (g *GitlabProject) MustCreateEmptyFile(fileName string, ref string, verbose bool) (createdFile *GitlabRepositoryFile)
- func (g *GitlabProject) MustCreateMergeRequest(options *GitlabCreateMergeRequestOptions) (createdMergeRequest *GitlabMergeRequest)
- func (g *GitlabProject) MustCreateNextMajorReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease)
- func (g *GitlabProject) MustCreateNextMinorReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease)
- func (g *GitlabProject) MustCreateNextPatchReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease)
- func (g *GitlabProject) MustCreateReleaseFromLatestCommitInDefaultBranch(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease)
- func (g *GitlabProject) MustDelete(verbose bool)
- func (g *GitlabProject) MustDeleteAllBranchesExceptDefaultBranch(verbose bool)
- func (g *GitlabProject) MustDeleteAllReleases(deleteOptions *GitlabDeleteReleaseOptions)
- func (g *GitlabProject) MustDeleteAllRepositoryFiles(branchName string, verbose bool)
- func (g *GitlabProject) MustDeleteBranch(branchName string, deleteOptions *GitlabDeleteBranchOptions)
- func (g *GitlabProject) MustDeleteFileInDefaultBranch(fileName string, commitMessage string, verbose bool)
- func (g *GitlabProject) MustDeployKeyByNameExists(keyName string) (exists bool)
- func (g *GitlabProject) MustExists(verbose bool) (projectExists bool)
- func (g *GitlabProject) MustGetBranchByName(branchName string) (branch *GitlabBranch)
- func (g *GitlabProject) MustGetBranchNames(verbose bool) (branchNames []string)
- func (g *GitlabProject) MustGetBranches() (branches *GitlabBranches)
- func (g *GitlabProject) MustGetCachedPath() (path string)
- func (g *GitlabProject) MustGetCachedPathForPersonalProject() (cachedPath string)
- func (g *GitlabProject) MustGetCachedProjectName() (projectName string)
- func (g *GitlabProject) MustGetCommitByHashString(hashString string, verbose bool) (commit *GitlabCommit)
- func (g *GitlabProject) MustGetCurrentUserName(verbose bool) (userName string)
- func (g *GitlabProject) MustGetDefaultBranch() (defaultBranch *GitlabBranch)
- func (g *GitlabProject) MustGetDefaultBranchName() (defaultBranchName string)
- func (g *GitlabProject) MustGetDeployKeyByName(keyName string) (projectDeployKey *GitlabProjectDeployKey)
- func (g *GitlabProject) MustGetDeployKeys() (deployKeys *GitlabProjectDeployKeys)
- func (g *GitlabProject) MustGetDirectoryNames(ref string, verbose bool) (directoryNames []string)
- func (g *GitlabProject) MustGetFileInDefaultBranch(fileName string, verbose bool) (repositoryFile *GitlabRepositoryFile)
- func (g *GitlabProject) MustGetFilesNames(ref string, verbose bool) (fileNames []string)
- func (g *GitlabProject) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabProject) MustGetGitlabFqdn() (fqdn string)
- func (g *GitlabProject) MustGetGitlabProjectDeployKeys() (projectDeployKeys *GitlabProjectDeployKeys)
- func (g *GitlabProject) MustGetGitlabProjects() (projects *GitlabProjects)
- func (g *GitlabProject) MustGetGitlabReleases() (gitlabReleases *GitlabReleases)
- func (g *GitlabProject) MustGetId() (id int)
- func (g *GitlabProject) MustGetLatestCommit(branchName string, verbose bool) (latestCommit *GitlabCommit)
- func (g *GitlabProject) MustGetLatestCommitHashAsString(branchName string, verbose bool) (commitHash string)
- func (g *GitlabProject) MustGetLatestCommitOfDefaultBranch(verbose bool) (latestCommit *GitlabCommit)
- func (g *GitlabProject) MustGetMergeRequests() (mergeRequestes *GitlabProjectMergeRequests)
- func (g *GitlabProject) MustGetNativeGitlabProject() (nativeGitlabProject *gitlab.Project)
- func (g *GitlabProject) MustGetNativeProjectsService() (nativeGitlabProject *gitlab.ProjectsService)
- func (g *GitlabProject) MustGetNewestSemanticVersion(verbose bool) (newestSemanticVersion *VersionSemanticVersion)
- func (g *GitlabProject) MustGetNewestVersion(verbose bool) (newestVersion Version)
- func (g *GitlabProject) MustGetNewestVersionAsString(verbose bool) (newestVersionString string)
- func (g *GitlabProject) MustGetNextMajorReleaseVersionString(verbose bool) (nextVersionString string)
- func (g *GitlabProject) MustGetNextMinorReleaseVersionString(verbose bool) (nextVersionString string)
- func (g *GitlabProject) MustGetNextPatchReleaseVersionString(verbose bool) (nextVersionString string)
- func (g *GitlabProject) MustGetOpenMergeRequestBySourceAndTargetBranch(sourceBranchName string, targetBranchName string, verbose bool) (mergeRequest *GitlabMergeRequest)
- func (g *GitlabProject) MustGetOpenMergeRequestByTitle(title string, verbose bool) (mergeRequest *GitlabMergeRequest)
- func (g *GitlabProject) MustGetPath() (projectPath string)
- func (g *GitlabProject) MustGetProjectCommits() (projectCommits *GitlabProjectCommits)
- func (g *GitlabProject) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabProject) MustGetRawResponse() (nativeGitlabProject *gitlab.Project)
- func (g *GitlabProject) MustGetReleaseByName(releaseName string) (gitlabRelease *GitlabRelease)
- func (g *GitlabProject) MustGetRepositoryFile(options *GitlabGetRepositoryFileOptions) (repositoryFile *GitlabRepositoryFile)
- func (g *GitlabProject) MustGetRepositoryFiles() (repositoryFiles *GitlabRepositoryFiles)
- func (g *GitlabProject) MustGetSemanticVersions(verbose bool) (semanticVersions []Version)
- func (g *GitlabProject) MustGetTagByName(tagName string) (tag *GitlabTag)
- func (g *GitlabProject) MustGetTags() (gitlabTags *GitlabTags)
- func (g *GitlabProject) MustGetVersionTags(verbose bool) (versionTags []*GitlabTag)
- func (g *GitlabProject) MustGetVersions(verbose bool) (versions []Version)
- func (g *GitlabProject) MustHasNoRepositoryFiles(branchName string, verbose bool) (hasNoRepositoryFiles bool)
- func (g *GitlabProject) MustIsIdSet() (isSet bool)
- func (g *GitlabProject) MustIsPersonalProject() (isPersonalProject bool)
- func (g *GitlabProject) MustListVersionTagNames(verbose bool) (versionTagNames []string)
- func (g *GitlabProject) MustMakePrivate(verbose bool)
- func (g *GitlabProject) MustMakePublic(verbose bool)
- func (g *GitlabProject) MustReadFileContentAsString(options *GitlabReadFileOptions) (content string)
- func (g *GitlabProject) MustRecreateDeployKey(keyOptions *GitlabCreateDeployKeyOptions)
- func (g *GitlabProject) MustSetCachedPath(pathToCache string)
- func (g *GitlabProject) MustSetGitlab(gitlab *GitlabInstance)
- func (g *GitlabProject) MustSetId(id int)
- func (g *GitlabProject) MustWriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile)
- func (g *GitlabProject) MustWriteFileContentInDefaultBranch(writeOptions *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile)
- func (g *GitlabProject) ReadFileContentAsString(options *GitlabReadFileOptions) (content string, err error)
- func (p *GitlabProject) RecreateDeployKey(keyOptions *GitlabCreateDeployKeyOptions) (err error)
- func (p *GitlabProject) SetCachedPath(pathToCache string) (err error)
- func (p *GitlabProject) SetGitlab(gitlab *GitlabInstance) (err error)
- func (g *GitlabProject) SetId(id int) (err error)
- func (g *GitlabProject) WriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile, err error)
- func (g *GitlabProject) WriteFileContentInDefaultBranch(writeOptions *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile, err error)
- type GitlabProjectCommits
- func (g *GitlabProjectCommits) GetCommitByHashString(hash string, verbose bool) (commit *GitlabCommit, err error)
- func (g *GitlabProjectCommits) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabProjectCommits) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabProjectCommits) GetNativeCommitsService() (nativeCommitsService *gitlab.CommitsService, err error)
- func (g *GitlabProjectCommits) GetNativeGitlabClient() (nativeClient *gitlab.Client, err error)
- func (g *GitlabProjectCommits) MustGetCommitByHashString(hash string, verbose bool) (commit *GitlabCommit)
- func (g *GitlabProjectCommits) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabProjectCommits) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabProjectCommits) MustGetNativeCommitsService() (nativeCommitsService *gitlab.CommitsService)
- func (g *GitlabProjectCommits) MustGetNativeGitlabClient() (nativeClient *gitlab.Client)
- func (g *GitlabProjectCommits) MustSetGitlabProject(gitlabProject *GitlabProject)
- func (g *GitlabProjectCommits) SetGitlabProject(gitlabProject *GitlabProject) (err error)
- type GitlabProjectDeployKey
- func (k *GitlabProjectDeployKey) CreateDeployKey(createOptions *GitlabCreateDeployKeyOptions) (err error)
- func (k *GitlabProjectDeployKey) Delete(verbose bool) (err error)
- func (k *GitlabProjectDeployKey) Exists() (exists bool, err error)
- func (k *GitlabProjectDeployKey) GetGitlab() (gitlab *GitlabInstance, err error)
- func (k *GitlabProjectDeployKey) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (k *GitlabProjectDeployKey) GetGitlabProjectDeployKeys() (gitlabProjectProjectDeployKeys *GitlabProjectDeployKeys, err error)
- func (k *GitlabProjectDeployKey) GetId() (id int, err error)
- func (k *GitlabProjectDeployKey) GetName() (name string, err error)
- func (k *GitlabProjectDeployKey) GetNativeProjectDeployKeyService() (nativeService *gitlab.DeployKeysService, err error)
- func (k *GitlabProjectDeployKey) GetProjectId() (id int, err error)
- func (g *GitlabProjectDeployKey) MustCreateDeployKey(createOptions *GitlabCreateDeployKeyOptions)
- func (g *GitlabProjectDeployKey) MustDelete(verbose bool)
- func (g *GitlabProjectDeployKey) MustExists() (exists bool)
- func (g *GitlabProjectDeployKey) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabProjectDeployKey) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabProjectDeployKey) MustGetGitlabProjectDeployKeys() (gitlabProjectProjectDeployKeys *GitlabProjectDeployKeys)
- func (g *GitlabProjectDeployKey) MustGetId() (id int)
- func (g *GitlabProjectDeployKey) MustGetName() (name string)
- func (g *GitlabProjectDeployKey) MustGetNativeProjectDeployKeyService() (nativeService *gitlab.DeployKeysService)
- func (g *GitlabProjectDeployKey) MustGetProjectId() (id int)
- func (g *GitlabProjectDeployKey) MustRecreateDeployKey(createOptions *GitlabCreateDeployKeyOptions)
- func (g *GitlabProjectDeployKey) MustSetGitlabProjectDeployKeys(gitlabProjectDeployKeys *GitlabProjectDeployKeys)
- func (g *GitlabProjectDeployKey) MustSetId(id int)
- func (g *GitlabProjectDeployKey) MustSetName(name string)
- func (k *GitlabProjectDeployKey) RecreateDeployKey(createOptions *GitlabCreateDeployKeyOptions) (err error)
- func (k *GitlabProjectDeployKey) SetGitlabProjectDeployKeys(gitlabProjectDeployKeys *GitlabProjectDeployKeys) (err error)
- func (k *GitlabProjectDeployKey) SetId(id int) (err error)
- func (k *GitlabProjectDeployKey) SetName(name string) (err error)
- type GitlabProjectDeployKeys
- func (k *GitlabProjectDeployKeys) DeployKeyByNameExists(keyName string) (keyExists bool, err error)
- func (k *GitlabProjectDeployKeys) GetGitlab() (gitlab *GitlabInstance, err error)
- func (k *GitlabProjectDeployKeys) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (k *GitlabProjectDeployKeys) GetGitlabProjectDeployKeyByName(keyName string) (deployKey *GitlabProjectDeployKey, err error)
- func (k *GitlabProjectDeployKeys) GetKeyIdByKeyName(keyName string) (id int, err error)
- func (k *GitlabProjectDeployKeys) GetKeyNameList() (keyNames []string, err error)
- func (k *GitlabProjectDeployKeys) GetKeysList() (keys []*GitlabProjectDeployKey, err error)
- func (k *GitlabProjectDeployKeys) GetNativeGitlabClient() (nativeGitlabClient *gitlab.Client, err error)
- func (k *GitlabProjectDeployKeys) GetNativeProjectDeployKeyService() (nativeService *gitlab.DeployKeysService, err error)
- func (k *GitlabProjectDeployKeys) GetProjectId() (id int, err error)
- func (g *GitlabProjectDeployKeys) MustDeployKeyByNameExists(keyName string) (keyExists bool)
- func (g *GitlabProjectDeployKeys) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabProjectDeployKeys) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabProjectDeployKeys) MustGetGitlabProjectDeployKeyByName(keyName string) (deployKey *GitlabProjectDeployKey)
- func (g *GitlabProjectDeployKeys) MustGetKeyIdByKeyName(keyName string) (id int)
- func (g *GitlabProjectDeployKeys) MustGetKeyNameList() (keyNames []string)
- func (g *GitlabProjectDeployKeys) MustGetKeysList() (keys []*GitlabProjectDeployKey)
- func (g *GitlabProjectDeployKeys) MustGetNativeGitlabClient() (nativeGitlabClient *gitlab.Client)
- func (g *GitlabProjectDeployKeys) MustGetNativeProjectDeployKeyService() (nativeService *gitlab.DeployKeysService)
- func (g *GitlabProjectDeployKeys) MustGetProjectId() (id int)
- func (g *GitlabProjectDeployKeys) MustSetGitlabProject(gitlabProject *GitlabProject)
- func (k *GitlabProjectDeployKeys) SetGitlabProject(gitlabProject *GitlabProject) (err error)
- type GitlabProjectMergeRequests
- func (g *GitlabProjectMergeRequests) CreateMergeRequest(options *GitlabCreateMergeRequestOptions) (createdMergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabProjectMergeRequests) GetDefaultBranchName() (defaultBranchName string, err error)
- func (g *GitlabProjectMergeRequests) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabProjectMergeRequests) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabProjectMergeRequests) GetMergeRequestByNativeMergeRequest(nativeMergeRequest *gitlab.MergeRequest) (mergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabProjectMergeRequests) GetNativeMergeRequestsService() (nativeService *gitlab.MergeRequestsService, err error)
- func (g *GitlabProjectMergeRequests) GetOpenMergeRequestBySourceAndTargetBranch(sourceBranchName string, targetBranchName string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabProjectMergeRequests) GetOpenMergeRequestByTitle(title string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabProjectMergeRequests) GetOpenMergeRequestByTitleOrNilIfNotPresent(title string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
- func (g *GitlabProjectMergeRequests) GetOpenMergeRequests(verbose bool) (openMergeRequest []*GitlabMergeRequest, err error)
- func (g *GitlabProjectMergeRequests) GetProjectId() (projectId int, err error)
- func (g *GitlabProjectMergeRequests) GetProjectUrlAsString() (projectUrl string, err error)
- func (g *GitlabProjectMergeRequests) GetRawMergeRequests(options *gitlab.ListProjectMergeRequestsOptions) (rawMergeRequests []*gitlab.MergeRequest, err error)
- func (g *GitlabProjectMergeRequests) GetUserId() (userId int, err error)
- func (g *GitlabProjectMergeRequests) MustCreateMergeRequest(options *GitlabCreateMergeRequestOptions) (createdMergeRequest *GitlabMergeRequest)
- func (g *GitlabProjectMergeRequests) MustGetDefaultBranchName() (defaultBranchName string)
- func (g *GitlabProjectMergeRequests) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabProjectMergeRequests) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabProjectMergeRequests) MustGetMergeRequestByNativeMergeRequest(nativeMergeRequest *gitlab.MergeRequest) (mergeRequest *GitlabMergeRequest)
- func (g *GitlabProjectMergeRequests) MustGetNativeMergeRequestsService() (nativeService *gitlab.MergeRequestsService)
- func (g *GitlabProjectMergeRequests) MustGetOpenMergeRequestBySourceAndTargetBranch(sourceBranchName string, targetBranchName string, verbose bool) (mergeRequest *GitlabMergeRequest)
- func (g *GitlabProjectMergeRequests) MustGetOpenMergeRequestByTitle(title string, verbose bool) (mergeRequest *GitlabMergeRequest)
- func (g *GitlabProjectMergeRequests) MustGetOpenMergeRequestByTitleOrNilIfNotPresent(title string, verbose bool) (mergeRequest *GitlabMergeRequest)
- func (g *GitlabProjectMergeRequests) MustGetOpenMergeRequests(verbose bool) (openMergeRequest []*GitlabMergeRequest)
- func (g *GitlabProjectMergeRequests) MustGetProjectId() (projectId int)
- func (g *GitlabProjectMergeRequests) MustGetProjectUrlAsString() (projectUrl string)
- func (g *GitlabProjectMergeRequests) MustGetRawMergeRequests(options *gitlab.ListProjectMergeRequestsOptions) (rawMergeRequests []*gitlab.MergeRequest)
- func (g *GitlabProjectMergeRequests) MustGetUserId() (userId int)
- func (g *GitlabProjectMergeRequests) MustSetGitlabProject(gitlabProject *GitlabProject)
- func (g *GitlabProjectMergeRequests) SetGitlabProject(gitlabProject *GitlabProject) (err error)
- type GitlabProjects
- func (p *GitlabProjects) CreateProject(createOptions *GitlabCreateProjectOptions) (createdGitlabProject *GitlabProject, err error)
- func (g *GitlabProjects) DeleteProject(deleteProjectOptions *GitlabDeleteProjectOptions) (err error)
- func (g *GitlabProjects) GetCurrentUserName(verbose bool) (userName string, err error)
- func (p *GitlabProjects) GetFqdn() (fqdn string, err error)
- func (p *GitlabProjects) GetGitlab() (gitlab *GitlabInstance, err error)
- func (p *GitlabProjects) GetNativeClient() (nativeClient *gitlab.Client, err error)
- func (p *GitlabProjects) GetNativeProjectsService() (nativeGitlabProject *gitlab.ProjectsService, err error)
- func (g *GitlabProjects) GetPersonalProjectsPath(verbose bool) (personalProjectPath string, err error)
- func (g *GitlabProjects) GetProjectById(projectId int) (gitlabProject *GitlabProject, err error)
- func (g *GitlabProjects) GetProjectByNativeProject(nativeProject *gitlab.Project) (gitlabProject *GitlabProject, err error)
- func (g *GitlabProjects) GetProjectByProjectPath(projectPath string, verbose bool) (gitlabProject *GitlabProject, err error)
- func (g *GitlabProjects) GetProjectIdByProjectPath(projectPath string, verbose bool) (projectId int, err error)
- func (p *GitlabProjects) GetProjectList(options *GitlabgetProjectListOptions) (gitlabProjects []*GitlabProject, err error)
- func (p *GitlabProjects) GetProjectPathList(options *GitlabgetProjectListOptions) (projectPaths []string, err error)
- func (p *GitlabProjects) IsProjectPathPersonalProject(projectPath string) (isPersonalProject bool, err error)
- func (g *GitlabProjects) MustCreateProject(createOptions *GitlabCreateProjectOptions) (createdGitlabProject *GitlabProject)
- func (g *GitlabProjects) MustDeleteProject(deleteProjectOptions *GitlabDeleteProjectOptions)
- func (g *GitlabProjects) MustGetCurrentUserName(verbose bool) (userName string)
- func (g *GitlabProjects) MustGetFqdn() (fqdn string)
- func (g *GitlabProjects) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabProjects) MustGetNativeClient() (nativeClient *gitlab.Client)
- func (g *GitlabProjects) MustGetNativeProjectsService() (nativeGitlabProject *gitlab.ProjectsService)
- func (g *GitlabProjects) MustGetPersonalProjectsPath(verbose bool) (personalProjectPath string)
- func (g *GitlabProjects) MustGetProjectById(projectId int) (gitlabProject *GitlabProject)
- func (g *GitlabProjects) MustGetProjectByNativeProject(nativeProject *gitlab.Project) (gitlabProject *GitlabProject)
- func (g *GitlabProjects) MustGetProjectByProjectPath(projectPath string, verbose bool) (gitlabProject *GitlabProject)
- func (g *GitlabProjects) MustGetProjectIdByProjectPath(projectPath string, verbose bool) (projectId int)
- func (g *GitlabProjects) MustGetProjectList(options *GitlabgetProjectListOptions) (gitlabProjects []*GitlabProject)
- func (g *GitlabProjects) MustGetProjectPathList(options *GitlabgetProjectListOptions) (projectPaths []string)
- func (g *GitlabProjects) MustIsProjectPathPersonalProject(projectPath string) (isPersonalProject bool)
- func (g *GitlabProjects) MustProjectByProjectIdExists(projectId int, verbose bool) (projectExists bool)
- func (g *GitlabProjects) MustProjectByProjectPathExists(projectPath string, verbose bool) (projectExists bool)
- func (g *GitlabProjects) MustSetGitlab(gitlab *GitlabInstance)
- func (g *GitlabProjects) ProjectByProjectIdExists(projectId int, verbose bool) (projectExists bool, err error)
- func (p *GitlabProjects) ProjectByProjectPathExists(projectPath string, verbose bool) (projectExists bool, err error)
- func (p *GitlabProjects) SetGitlab(gitlab *GitlabInstance) (err error)
- type GitlabReadFileOptions
- func (g *GitlabReadFileOptions) GetBranchName() (branchName string, err error)
- func (g *GitlabReadFileOptions) GetDeepCopy() (deepCopy *GitlabReadFileOptions)
- func (g *GitlabReadFileOptions) GetGitlabGetRepositoryFileOptions() (getOptions *GitlabGetRepositoryFileOptions, err error)
- func (g *GitlabReadFileOptions) GetPath() (path string, err error)
- func (g *GitlabReadFileOptions) GetVerbose() (verbose bool)
- func (g *GitlabReadFileOptions) MustGetBranchName() (branchName string)
- func (g *GitlabReadFileOptions) MustGetGitlabGetRepositoryFileOptions() (getOptions *GitlabGetRepositoryFileOptions)
- func (g *GitlabReadFileOptions) MustGetPath() (path string)
- func (g *GitlabReadFileOptions) MustSetBranchName(branchName string)
- func (g *GitlabReadFileOptions) MustSetPath(path string)
- func (g *GitlabReadFileOptions) SetBranchName(branchName string) (err error)
- func (g *GitlabReadFileOptions) SetPath(path string) (err error)
- func (g *GitlabReadFileOptions) SetVerbose(verbose bool)
- type GitlabRelease
- func (g *GitlabRelease) CreateReleaseLink(createOptions *GitlabCreateReleaseLinkOptions) (createdReleaseLink *GitlabReleaseLink, err error)
- func (g *GitlabRelease) Delete(deleteOptions *GitlabDeleteReleaseOptions) (err error)
- func (g *GitlabRelease) DeleteCorrespondingTag(verbose bool) (err error)
- func (g *GitlabRelease) Exists(verbose bool) (exists bool, err error)
- func (g *GitlabRelease) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabRelease) GetGitlabProject() (project *GitlabProject, err error)
- func (g *GitlabRelease) GetGitlabReleaseLinks() (gitlabReleaseLinks *GitlabReleaseLinks, err error)
- func (g *GitlabRelease) GetGitlabReleases() (gitlabReleases *GitlabReleases, err error)
- func (g *GitlabRelease) GetName() (name string, err error)
- func (g *GitlabRelease) GetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService, err error)
- func (g *GitlabRelease) GetProjectId() (pid int, err error)
- func (g *GitlabRelease) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabRelease) GetProjectUrlAndReleaseName() (projectUrl string, releaseName string, err error)
- func (g *GitlabRelease) GetRawResponse() (rawRelease *gitlab.Release, err error)
- func (g *GitlabRelease) GetTag() (tag *GitlabTag, err error)
- func (g *GitlabRelease) HasReleaseLinks(verbose bool) (hasReleaseLinks bool, err error)
- func (g *GitlabRelease) ListReleaseLinkUrls(verbose bool) (releaseLinkUrls []string, err error)
- func (g *GitlabRelease) MustCreateReleaseLink(createOptions *GitlabCreateReleaseLinkOptions) (createdReleaseLink *GitlabReleaseLink)
- func (g *GitlabRelease) MustDelete(deleteOptions *GitlabDeleteReleaseOptions)
- func (g *GitlabRelease) MustDeleteCorrespondingTag(verbose bool)
- func (g *GitlabRelease) MustExists(verbose bool) (exists bool)
- func (g *GitlabRelease) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabRelease) MustGetGitlabProject() (project *GitlabProject)
- func (g *GitlabRelease) MustGetGitlabReleaseLinks() (gitlabReleaseLinks *GitlabReleaseLinks)
- func (g *GitlabRelease) MustGetGitlabReleases() (gitlabReleases *GitlabReleases)
- func (g *GitlabRelease) MustGetName() (name string)
- func (g *GitlabRelease) MustGetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService)
- func (g *GitlabRelease) MustGetProjectId() (pid int)
- func (g *GitlabRelease) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabRelease) MustGetProjectUrlAndReleaseName() (projectUrl string, releaseName string)
- func (g *GitlabRelease) MustGetRawResponse() (rawRelease *gitlab.Release)
- func (g *GitlabRelease) MustGetTag() (tag *GitlabTag)
- func (g *GitlabRelease) MustHasReleaseLinks(verbose bool) (hasReleaseLinks bool)
- func (g *GitlabRelease) MustListReleaseLinkUrls(verbose bool) (releaseLinkUrls []string)
- func (g *GitlabRelease) MustSetGitlabReleases(gitlabReleases *GitlabReleases)
- func (g *GitlabRelease) MustSetName(name string)
- func (g *GitlabRelease) SetGitlabReleases(gitlabReleases *GitlabReleases) (err error)
- func (g *GitlabRelease) SetName(name string) (err error)
- type GitlabReleaseLink
- func (g *GitlabReleaseLink) GetCachedUrl() (cachedUrl string, err error)
- func (g *GitlabReleaseLink) GetGitlabReleaseLinks() (gitlabReleaseLinks *GitlabReleaseLinks, err error)
- func (g *GitlabReleaseLink) GetName() (name string, err error)
- func (g *GitlabReleaseLink) MustGetCachedUrl() (cachedUrl string)
- func (g *GitlabReleaseLink) MustGetGitlabReleaseLinks() (gitlabReleaseLinks *GitlabReleaseLinks)
- func (g *GitlabReleaseLink) MustGetName() (name string)
- func (g *GitlabReleaseLink) MustSetCachedUrl(cachedUrl string)
- func (g *GitlabReleaseLink) MustSetGitlabReleaseLinks(gitlabReleaseLinks *GitlabReleaseLinks)
- func (g *GitlabReleaseLink) MustSetName(name string)
- func (g *GitlabReleaseLink) SetCachedUrl(cachedUrl string) (err error)
- func (g *GitlabReleaseLink) SetGitlabReleaseLinks(gitlabReleaseLinks *GitlabReleaseLinks) (err error)
- func (g *GitlabReleaseLink) SetName(name string) (err error)
- type GitlabReleaseLinks
- func (g *GitlabReleaseLinks) CreateReleaseLink(createOptions *GitlabCreateReleaseLinkOptions) (createdReleaseLink *GitlabReleaseLink, err error)
- func (g *GitlabReleaseLinks) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabReleaseLinks) GetGitlabRelease() (gitlabRelease *GitlabRelease, err error)
- func (g *GitlabReleaseLinks) GetNativeReleaseLinksClient() (nativeClient *gitlab.ReleaseLinksService, err error)
- func (g *GitlabReleaseLinks) GetProjectId() (projectId int, err error)
- func (g *GitlabReleaseLinks) GetProjectIdAndUrl() (projectId int, projectUrl string, err error)
- func (g *GitlabReleaseLinks) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabReleaseLinks) GetReleaseLinkByName(linkName string) (releaseLink *GitlabReleaseLink, err error)
- func (g *GitlabReleaseLinks) GetReleaseName() (releaseName string, err error)
- func (g *GitlabReleaseLinks) HasReleaseLinks(verbose bool) (hasReleaseLinks bool, err error)
- func (g *GitlabReleaseLinks) ListReleaseLinkNames(verbose bool) (releaseLinkNames []string, err error)
- func (g *GitlabReleaseLinks) ListReleaseLinkUrls(verbose bool) (releaseLinkUrls []string, err error)
- func (g *GitlabReleaseLinks) ListReleaseLinks(verbose bool) (releaseLinks []*GitlabReleaseLink, err error)
- func (g *GitlabReleaseLinks) MustCreateReleaseLink(createOptions *GitlabCreateReleaseLinkOptions) (createdReleaseLink *GitlabReleaseLink)
- func (g *GitlabReleaseLinks) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabReleaseLinks) MustGetGitlabRelease() (gitlabRelease *GitlabRelease)
- func (g *GitlabReleaseLinks) MustGetNativeReleaseLinksClient() (nativeClient *gitlab.ReleaseLinksService)
- func (g *GitlabReleaseLinks) MustGetProjectId() (projectId int)
- func (g *GitlabReleaseLinks) MustGetProjectIdAndUrl() (projectId int, projectUrl string)
- func (g *GitlabReleaseLinks) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabReleaseLinks) MustGetReleaseLinkByName(linkName string) (releaseLink *GitlabReleaseLink)
- func (g *GitlabReleaseLinks) MustGetReleaseName() (releaseName string)
- func (g *GitlabReleaseLinks) MustHasReleaseLinks(verbose bool) (hasReleaseLinks bool)
- func (g *GitlabReleaseLinks) MustListReleaseLinkNames(verbose bool) (releaseLinkNames []string)
- func (g *GitlabReleaseLinks) MustListReleaseLinkUrls(verbose bool) (releaseLinkUrls []string)
- func (g *GitlabReleaseLinks) MustListReleaseLinks(verbose bool) (releaseLinks []*GitlabReleaseLink)
- func (g *GitlabReleaseLinks) MustReleaseLinkByNameExists(linkName string, verbose bool) (exists bool)
- func (g *GitlabReleaseLinks) MustSetGitlabRelease(gitlabRelease *GitlabRelease)
- func (g *GitlabReleaseLinks) ReleaseLinkByNameExists(linkName string, verbose bool) (exists bool, err error)
- func (g *GitlabReleaseLinks) SetGitlabRelease(gitlabRelease *GitlabRelease) (err error)
- type GitlabReleases
- func (g *GitlabReleases) CreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease, err error)
- func (g *GitlabReleases) DeleteAllReleases(options *GitlabDeleteReleaseOptions) (err error)
- func (g *GitlabReleases) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabReleases) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabReleases) GetGitlabReleaseByName(releaseName string) (gitlabRelease *GitlabRelease, err error)
- func (g *GitlabReleases) GetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService, err error)
- func (g *GitlabReleases) GetProjectId() (projectId int, err error)
- func (g *GitlabReleases) GetProjectIdAndUrl() (projectId int, projectUrl string, err error)
- func (g *GitlabReleases) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabReleases) ListReleases(verbose bool) (releaseList []*GitlabRelease, err error)
- func (g *GitlabReleases) MustCreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease)
- func (g *GitlabReleases) MustDeleteAllReleases(options *GitlabDeleteReleaseOptions)
- func (g *GitlabReleases) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabReleases) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabReleases) MustGetGitlabReleaseByName(releaseName string) (gitlabRelease *GitlabRelease)
- func (g *GitlabReleases) MustGetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService)
- func (g *GitlabReleases) MustGetProjectId() (projectId int)
- func (g *GitlabReleases) MustGetProjectIdAndUrl() (projectId int, projectUrl string)
- func (g *GitlabReleases) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabReleases) MustListReleases(verbose bool) (releaseList []*GitlabRelease)
- func (g *GitlabReleases) MustReleaseByNameExists(releaseName string, verbose bool) (exists bool)
- func (g *GitlabReleases) MustSetGitlabProject(gitlabProject *GitlabProject)
- func (g *GitlabReleases) ReleaseByNameExists(releaseName string, verbose bool) (exists bool, err error)
- func (g *GitlabReleases) SetGitlabProject(gitlabProject *GitlabProject) (err error)
- type GitlabRepositoryFile
- func (g *GitlabRepositoryFile) Delete(commitMessage string, verbose bool) (err error)
- func (g *GitlabRepositoryFile) Exists() (fileExists bool, err error)
- func (g *GitlabRepositoryFile) GetBranchName() (branchName string, err error)
- func (g *GitlabRepositoryFile) GetContentAsBytes(verbose bool) (content []byte, err error)
- func (g *GitlabRepositoryFile) GetContentAsBytesAndCommitHash(verbose bool) (content []byte, sha256sum string, err error)
- func (g *GitlabRepositoryFile) GetContentAsString(verbose bool) (content string, err error)
- func (g *GitlabRepositoryFile) GetDefaultBranchName() (defaultBranchName string, err error)
- func (g *GitlabRepositoryFile) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabRepositoryFile) GetNativeRepositoryFile() (nativeFile *gitlab.File, err error)
- func (g *GitlabRepositoryFile) GetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, err error)
- func (g *GitlabRepositoryFile) GetNativeRepositoryFilesClientAndProjectId() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, projectId int, ...)
- func (g *GitlabRepositoryFile) GetPath() (path string, err error)
- func (g *GitlabRepositoryFile) GetProjectId() (projectId int, err error)
- func (g *GitlabRepositoryFile) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabRepositoryFile) GetRepositoryFiles() (repositoryFiles *GitlabRepositoryFiles, err error)
- func (g *GitlabRepositoryFile) GetSha256CheckSum() (checkSum string, err error)
- func (g *GitlabRepositoryFile) IsBranchNameSet() (isSet bool)
- func (g *GitlabRepositoryFile) MustDelete(commitMessage string, verbose bool)
- func (g *GitlabRepositoryFile) MustExists() (fileExists bool)
- func (g *GitlabRepositoryFile) MustGetBranchName() (branchName string)
- func (g *GitlabRepositoryFile) MustGetContentAsBytes(verbose bool) (content []byte)
- func (g *GitlabRepositoryFile) MustGetContentAsBytesAndCommitHash(verbose bool) (content []byte, sha256sum string)
- func (g *GitlabRepositoryFile) MustGetContentAsString(verbose bool) (content string)
- func (g *GitlabRepositoryFile) MustGetDefaultBranchName() (defaultBranchName string)
- func (g *GitlabRepositoryFile) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabRepositoryFile) MustGetNativeRepositoryFile() (nativeFile *gitlab.File)
- func (g *GitlabRepositoryFile) MustGetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService)
- func (g *GitlabRepositoryFile) MustGetNativeRepositoryFilesClientAndProjectId() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, projectId int)
- func (g *GitlabRepositoryFile) MustGetPath() (path string)
- func (g *GitlabRepositoryFile) MustGetProjectId() (projectId int)
- func (g *GitlabRepositoryFile) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabRepositoryFile) MustGetRepositoryFiles() (repositoryFiles *GitlabRepositoryFiles)
- func (g *GitlabRepositoryFile) MustGetSha256CheckSum() (checkSum string)
- func (g *GitlabRepositoryFile) MustSetBranchName(branchName string)
- func (g *GitlabRepositoryFile) MustSetGitlabProject(gitlabProject *GitlabProject)
- func (g *GitlabRepositoryFile) MustSetPath(path string)
- func (g *GitlabRepositoryFile) MustWriteFileContentByBytes(content []byte, commitMessage string, verbose bool)
- func (g *GitlabRepositoryFile) MustWriteFileContentByString(content string, commitMessage string, verbose bool)
- func (g *GitlabRepositoryFile) SetBranchName(branchName string) (err error)
- func (g *GitlabRepositoryFile) SetGitlabProject(gitlabProject *GitlabProject) (err error)
- func (g *GitlabRepositoryFile) SetPath(path string) (err error)
- func (g *GitlabRepositoryFile) WriteFileContentByBytes(content []byte, commitMessage string, verbose bool) (err error)
- func (g *GitlabRepositoryFile) WriteFileContentByString(content string, commitMessage string, verbose bool) (err error)
- type GitlabRepositoryFiles
- func (g *GitlabRepositoryFiles) CreateEmptyFile(fileName string, ref string, verbose bool) (createdFile *GitlabRepositoryFile, err error)
- func (g *GitlabRepositoryFiles) DeleteAllRepositoryFiles(branchName string, verbose bool) (err error)
- func (g *GitlabRepositoryFiles) GetDirectoryNames(ref string, verbose bool) (directoryNames []string, err error)
- func (g *GitlabRepositoryFiles) GetFileAndDirectoryNames(ref string, verbose bool) (fileNames []string, err error)
- func (g *GitlabRepositoryFiles) GetFileNames(ref string, verbose bool) (fileNames []string, err error)
- func (g *GitlabRepositoryFiles) GetFiles(ref string, verbose bool) (files []*GitlabRepositoryFile, err error)
- func (g *GitlabRepositoryFiles) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabRepositoryFiles) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabRepositoryFiles) GetNativeRepositoriesClient() (nativeRepositoriesClient *gitlab.RepositoriesService, err error)
- func (g *GitlabRepositoryFiles) GetNativeRepositoriesClientAndProjectid() (nativeRepositoriesClient *gitlab.RepositoriesService, projectid int, err error)
- func (g *GitlabRepositoryFiles) GetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, err error)
- func (g *GitlabRepositoryFiles) GetNativeRepositoryFilesClientAndProjectId() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, projectId int, ...)
- func (g *GitlabRepositoryFiles) GetProjectId() (projectId int, err error)
- func (g *GitlabRepositoryFiles) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabRepositoryFiles) GetRepositoryFile(options *GitlabGetRepositoryFileOptions) (repositoryFile *GitlabRepositoryFile, err error)
- func (g *GitlabRepositoryFiles) HasNoRepositoryFiles(branchName string, verbose bool) (hasNoRepositoryFiles bool, err error)
- func (g *GitlabRepositoryFiles) HasRepositoryFiles(branchName string, verbose bool) (hasRepositoryFiles bool, err error)
- func (g *GitlabRepositoryFiles) MustCreateEmptyFile(fileName string, ref string, verbose bool) (createdFile *GitlabRepositoryFile)
- func (g *GitlabRepositoryFiles) MustDeleteAllRepositoryFiles(branchName string, verbose bool)
- func (g *GitlabRepositoryFiles) MustGetDirectoryNames(ref string, verbose bool) (directoryNames []string)
- func (g *GitlabRepositoryFiles) MustGetFileAndDirectoryNames(ref string, verbose bool) (fileNames []string)
- func (g *GitlabRepositoryFiles) MustGetFileNames(ref string, verbose bool) (fileNames []string)
- func (g *GitlabRepositoryFiles) MustGetFiles(ref string, verbose bool) (files []*GitlabRepositoryFile)
- func (g *GitlabRepositoryFiles) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabRepositoryFiles) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabRepositoryFiles) MustGetNativeRepositoriesClient() (nativeRepositoriesClient *gitlab.RepositoriesService)
- func (g *GitlabRepositoryFiles) MustGetNativeRepositoriesClientAndProjectid() (nativeRepositoriesClient *gitlab.RepositoriesService, projectid int)
- func (g *GitlabRepositoryFiles) MustGetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService)
- func (g *GitlabRepositoryFiles) MustGetNativeRepositoryFilesClientAndProjectId() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, projectId int)
- func (g *GitlabRepositoryFiles) MustGetProjectId() (projectId int)
- func (g *GitlabRepositoryFiles) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabRepositoryFiles) MustGetRepositoryFile(options *GitlabGetRepositoryFileOptions) (repositoryFile *GitlabRepositoryFile)
- func (g *GitlabRepositoryFiles) MustHasNoRepositoryFiles(branchName string, verbose bool) (hasNoRepositoryFiles bool)
- func (g *GitlabRepositoryFiles) MustHasRepositoryFiles(branchName string, verbose bool) (hasRepositoryFiles bool)
- func (g *GitlabRepositoryFiles) MustReadFileContentAsString(options *GitlabReadFileOptions) (content string)
- func (g *GitlabRepositoryFiles) MustSetGitlabProject(gitlabProject *GitlabProject)
- func (g *GitlabRepositoryFiles) MustWriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile)
- func (g *GitlabRepositoryFiles) ReadFileContentAsString(options *GitlabReadFileOptions) (content string, err error)
- func (g *GitlabRepositoryFiles) SetGitlabProject(gitlabProject *GitlabProject) (err error)
- func (g *GitlabRepositoryFiles) WriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile, err error)
- type GitlabResetAccessTokenOptions
- func (g *GitlabResetAccessTokenOptions) GetGitlabContainerNameOnGitlabHost() (gitlabContainerNameOnGitlabHost string, err error)
- func (g *GitlabResetAccessTokenOptions) GetGopassPathToStoreNewToken() (gopassPathToStoreNewToken string, err error)
- func (g *GitlabResetAccessTokenOptions) GetSshUserNameForGitlabHost() (sshUserNameForGitlabHost string, err error)
- func (o *GitlabResetAccessTokenOptions) GetUsername() (username string, err error)
- func (g *GitlabResetAccessTokenOptions) GetVerbose() (verbose bool, err error)
- func (g *GitlabResetAccessTokenOptions) MustGetGitlabContainerNameOnGitlabHost() (gitlabContainerNameOnGitlabHost string)
- func (g *GitlabResetAccessTokenOptions) MustGetGopassPathToStoreNewToken() (gopassPathToStoreNewToken string)
- func (g *GitlabResetAccessTokenOptions) MustGetSshUserNameForGitlabHost() (sshUserNameForGitlabHost string)
- func (g *GitlabResetAccessTokenOptions) MustGetUsername() (username string)
- func (g *GitlabResetAccessTokenOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabResetAccessTokenOptions) MustSetGitlabContainerNameOnGitlabHost(gitlabContainerNameOnGitlabHost string)
- func (g *GitlabResetAccessTokenOptions) MustSetGopassPathToStoreNewToken(gopassPathToStoreNewToken string)
- func (g *GitlabResetAccessTokenOptions) MustSetSshUserNameForGitlabHost(sshUserNameForGitlabHost string)
- func (g *GitlabResetAccessTokenOptions) MustSetUsername(username string)
- func (g *GitlabResetAccessTokenOptions) MustSetVerbose(verbose bool)
- func (g *GitlabResetAccessTokenOptions) SetGitlabContainerNameOnGitlabHost(gitlabContainerNameOnGitlabHost string) (err error)
- func (g *GitlabResetAccessTokenOptions) SetGopassPathToStoreNewToken(gopassPathToStoreNewToken string) (err error)
- func (g *GitlabResetAccessTokenOptions) SetSshUserNameForGitlabHost(sshUserNameForGitlabHost string) (err error)
- func (g *GitlabResetAccessTokenOptions) SetUsername(username string) (err error)
- func (g *GitlabResetAccessTokenOptions) SetVerbose(verbose bool) (err error)
- type GitlabResetPasswordOptions
- func (g *GitlabResetPasswordOptions) GetGitlabContainerNameOnGitlabHost() (gitlabContainerNameOnGitlabHost string, err error)
- func (g *GitlabResetPasswordOptions) GetGopassPathToStoreNewPassword() (gopassPathToStoreNewPassword string, err error)
- func (o *GitlabResetPasswordOptions) GetSshUserNameForGitlabHost() (sshUserName string, err error)
- func (o *GitlabResetPasswordOptions) GetUsername() (username string, err error)
- func (g *GitlabResetPasswordOptions) GetVerbose() (verbose bool, err error)
- func (o *GitlabResetPasswordOptions) IsSshUserNameForGitlabHostSet() (isSet bool)
- func (g *GitlabResetPasswordOptions) MustGetGitlabContainerNameOnGitlabHost() (gitlabContainerNameOnGitlabHost string)
- func (g *GitlabResetPasswordOptions) MustGetGopassPathToStoreNewPassword() (gopassPathToStoreNewPassword string)
- func (g *GitlabResetPasswordOptions) MustGetSshUserNameForGitlabHost() (sshUserName string)
- func (g *GitlabResetPasswordOptions) MustGetUsername() (username string)
- func (g *GitlabResetPasswordOptions) MustGetVerbose() (verbose bool)
- func (g *GitlabResetPasswordOptions) MustSetGitlabContainerNameOnGitlabHost(gitlabContainerNameOnGitlabHost string)
- func (g *GitlabResetPasswordOptions) MustSetGopassPathToStoreNewPassword(gopassPathToStoreNewPassword string)
- func (g *GitlabResetPasswordOptions) MustSetSshUserNameForGitlabHost(sshUserNameForGitlabHost string)
- func (g *GitlabResetPasswordOptions) MustSetUsername(username string)
- func (g *GitlabResetPasswordOptions) MustSetVerbose(verbose bool)
- func (g *GitlabResetPasswordOptions) SetGitlabContainerNameOnGitlabHost(gitlabContainerNameOnGitlabHost string) (err error)
- func (g *GitlabResetPasswordOptions) SetGopassPathToStoreNewPassword(gopassPathToStoreNewPassword string) (err error)
- func (g *GitlabResetPasswordOptions) SetSshUserNameForGitlabHost(sshUserNameForGitlabHost string) (err error)
- func (g *GitlabResetPasswordOptions) SetUsername(username string) (err error)
- func (g *GitlabResetPasswordOptions) SetVerbose(verbose bool) (err error)
- type GitlabRunner
- func (r *GitlabRunner) GetCachedDescription() (description string, err error)
- func (r *GitlabRunner) GetCachedName() (name string, err error)
- func (r *GitlabRunner) GetCachedNameOrDescription() (name string, err error)
- func (s *GitlabRunner) GetGitlab() (gitlab *GitlabInstance, err error)
- func (r *GitlabRunner) GetGitlabRunners() (gitlabRunners *GitlabRunnersService, err error)
- func (s *GitlabRunner) GetId() (id int, err error)
- func (r *GitlabRunner) GetNativeRunnersService() (nativeRunnersService *gitlab.RunnersService, err error)
- func (r *GitlabRunner) IsCachedDescriptionSet() (isSet bool)
- func (r *GitlabRunner) IsCachedDescriptionUnset() (isUnset bool)
- func (r *GitlabRunner) IsCachedNameSet() (isCachedNameSet bool)
- func (r *GitlabRunner) IsCachedNameUnset() (isCachedNameUnset bool)
- func (r *GitlabRunner) IsStatusOk() (isStatusOk bool, err error)
- func (g *GitlabRunner) MustGetCachedDescription() (description string)
- func (g *GitlabRunner) MustGetCachedName() (name string)
- func (g *GitlabRunner) MustGetCachedNameOrDescription() (name string)
- func (g *GitlabRunner) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabRunner) MustGetGitlabRunners() (gitlabRunners *GitlabRunnersService)
- func (g *GitlabRunner) MustGetId() (id int)
- func (g *GitlabRunner) MustGetNativeRunnersService() (nativeRunnersService *gitlab.RunnersService)
- func (g *GitlabRunner) MustIsStatusOk() (isStatusOk bool)
- func (g *GitlabRunner) MustRemove(verbose bool)
- func (g *GitlabRunner) MustResetRunnerToken() (runnerToken string)
- func (g *GitlabRunner) MustSetCachedDescription(description string)
- func (g *GitlabRunner) MustSetCachedName(name string)
- func (g *GitlabRunner) MustSetGitlab(gitlab *GitlabInstance)
- func (g *GitlabRunner) MustSetId(id int)
- func (r *GitlabRunner) Remove(verbose bool) (err error)
- func (r *GitlabRunner) ResetRunnerToken() (runnerToken string, err error)
- func (r *GitlabRunner) SetCachedDescription(description string) (err error)
- func (s *GitlabRunner) SetCachedName(name string) (err error)
- func (s *GitlabRunner) SetGitlab(gitlab *GitlabInstance) (err error)
- func (s *GitlabRunner) SetId(id int) (err error)
- type GitlabRunnersService
- func (s *GitlabRunnersService) AddRunner(newRunnerOptions *GitlabAddRunnerOptions) (createdRunner *GitlabRunner, err error)
- func (s *GitlabRunnersService) CheckRunnerStatusOk(runnerName string, verbose bool) (isRunnerOk bool, err error)
- func (s *GitlabRunnersService) GetApiV4Url() (apiV4Url string, err error)
- func (s *GitlabRunnersService) GetCurrentlyUsedAccessToken() (gitlabAccessToken string, err error)
- func (r *GitlabRunnersService) GetFqdn() (fqdn string, err error)
- func (s *GitlabRunnersService) GetGitlab() (gitlab *GitlabInstance, err error)
- func (s *GitlabRunnersService) GetNativeClient() (nativeClient *gitlab.Client, err error)
- func (s *GitlabRunnersService) GetNativeRunnersService() (nativeRunnersService *gitlab.RunnersService, err error)
- func (s *GitlabRunnersService) GetRunnerByName(runnerName string) (runner *GitlabRunner, err error)
- func (s *GitlabRunnersService) GetRunnerList() (runners []*GitlabRunner, err error)
- func (s *GitlabRunnersService) GetRunnerNamesList() (runnerNames []string, err error)
- func (s *GitlabRunnersService) IsRunnerStatusOk(runnerName string, verbose bool) (isStatusOk bool, err error)
- func (g *GitlabRunnersService) MustAddRunner(newRunnerOptions *GitlabAddRunnerOptions) (createdRunner *GitlabRunner)
- func (g *GitlabRunnersService) MustCheckRunnerStatusOk(runnerName string, verbose bool) (isRunnerOk bool)
- func (g *GitlabRunnersService) MustGetApiV4Url() (apiV4Url string)
- func (g *GitlabRunnersService) MustGetCurrentlyUsedAccessToken() (gitlabAccessToken string)
- func (g *GitlabRunnersService) MustGetFqdn() (fqdn string)
- func (g *GitlabRunnersService) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabRunnersService) MustGetNativeClient() (nativeClient *gitlab.Client)
- func (g *GitlabRunnersService) MustGetNativeRunnersService() (nativeRunnersService *gitlab.RunnersService)
- func (g *GitlabRunnersService) MustGetRunnerByName(runnerName string) (runner *GitlabRunner)
- func (g *GitlabRunnersService) MustGetRunnerList() (runners []*GitlabRunner)
- func (g *GitlabRunnersService) MustGetRunnerNamesList() (runnerNames []string)
- func (g *GitlabRunnersService) MustIsRunnerStatusOk(runnerName string, verbose bool) (isStatusOk bool)
- func (g *GitlabRunnersService) MustRemoveAllRunners(verbose bool)
- func (g *GitlabRunnersService) MustRunnerByNameExists(runnerName string) (exists bool)
- func (g *GitlabRunnersService) MustSetGitlab(gitlab *GitlabInstance)
- func (r *GitlabRunnersService) RemoveAllRunners(verbose bool) (err error)
- func (s *GitlabRunnersService) RunnerByNameExists(runnerName string) (exists bool, err error)
- func (s *GitlabRunnersService) SetGitlab(gitlab *GitlabInstance) (err error)
- type GitlabService
- type GitlabSettings
- func (s *GitlabSettings) DisableAutoDevops(verbose bool) (err error)
- func (s *GitlabSettings) DisableSignup(verbose bool) (err error)
- func (s *GitlabSettings) GetCurrentSettingsNative() (nativeSettings *gitlab.Settings, err error)
- func (s *GitlabSettings) GetFqdn() (fqdn string, err error)
- func (s *GitlabSettings) GetGitlab() (gitlab *GitlabInstance, err error)
- func (s *GitlabSettings) GetNativeClient() (nativeClient *gitlab.Client, err error)
- func (s *GitlabSettings) GetNativeSettingsService() (nativeSettingsService *gitlab.SettingsService, err error)
- func (s *GitlabSettings) IsAutoDevopsEnabled() (isAutoDevopsEnabled bool, err error)
- func (s *GitlabSettings) IsSignupEnabled() (isSignupEnabled bool, err error)
- func (g *GitlabSettings) MustDisableAutoDevops(verbose bool)
- func (s *GitlabSettings) MustDisableAutoDevos(verbose bool)
- func (g *GitlabSettings) MustDisableSignup(verbose bool)
- func (g *GitlabSettings) MustGetCurrentSettingsNative() (nativeSettings *gitlab.Settings)
- func (g *GitlabSettings) MustGetFqdn() (fqdn string)
- func (g *GitlabSettings) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabSettings) MustGetNativeClient() (nativeClient *gitlab.Client)
- func (g *GitlabSettings) MustGetNativeSettingsService() (nativeSettingsService *gitlab.SettingsService)
- func (g *GitlabSettings) MustIsAutoDevopsEnabled() (isAutoDevopsEnabled bool)
- func (g *GitlabSettings) MustIsSignupEnabled() (isSignupEnabled bool)
- func (g *GitlabSettings) MustSetGitlab(gitlab *GitlabInstance)
- func (s *GitlabSettings) SetGitlab(gitlab *GitlabInstance) (err error)
- type GitlabSyncBranchOptions
- func (g *GitlabSyncBranchOptions) GetDeepCopy() (copy *GitlabSyncBranchOptions)
- func (g *GitlabSyncBranchOptions) GetPathsToSync() (pathsToSync []string, err error)
- func (g *GitlabSyncBranchOptions) GetTargetBranch() (targetBranch *GitlabBranch, err error)
- func (g *GitlabSyncBranchOptions) GetTargetBranchName() (targetBranchName string, err error)
- func (g *GitlabSyncBranchOptions) GetVerbose() (verbose bool)
- func (g *GitlabSyncBranchOptions) IsTargetBranchSet() (isSet bool)
- func (g *GitlabSyncBranchOptions) MustGetPathsToSync() (pathsToSync []string)
- func (g *GitlabSyncBranchOptions) MustGetTargetBranch() (targetBranch *GitlabBranch)
- func (g *GitlabSyncBranchOptions) MustGetTargetBranchName() (targetBranchName string)
- func (g *GitlabSyncBranchOptions) MustSetPathsToSync(pathsToSync []string)
- func (g *GitlabSyncBranchOptions) MustSetTargetBranch(targetBranch *GitlabBranch)
- func (g *GitlabSyncBranchOptions) MustSetTargetBranchName(targetBranchName string)
- func (g *GitlabSyncBranchOptions) MustSetTargetBranchNameAndUnsetTargetBranchObject(targetBranchName string)
- func (g *GitlabSyncBranchOptions) MustUnsetTargetBranch()
- func (g *GitlabSyncBranchOptions) SetPathsToSync(pathsToSync []string) (err error)
- func (g *GitlabSyncBranchOptions) SetTargetBranch(targetBranch *GitlabBranch) (err error)
- func (g *GitlabSyncBranchOptions) SetTargetBranchName(targetBranchName string) (err error)
- func (g *GitlabSyncBranchOptions) SetTargetBranchNameAndUnsetTargetBranchObject(targetBranchName string) (err error)
- func (g *GitlabSyncBranchOptions) SetVerbose(verbose bool)
- func (g *GitlabSyncBranchOptions) UnsetTargetBranch() (err error)
- type GitlabTag
- func (g *GitlabTag) CreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease, err error)
- func (g *GitlabTag) Delete(verbose bool) (err error)
- func (g *GitlabTag) Exists(verbose bool) (exists bool, err error)
- func (g *GitlabTag) GetGitRepository() (gitRepo GitRepository, err error)
- func (g *GitlabTag) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabTag) GetGitlabReleases() (gitlabReleases *GitlabReleases, err error)
- func (g *GitlabTag) GetGitlabTags() (gitlabTags *GitlabTags, err error)
- func (g *GitlabTag) GetHash() (hash string, err error)
- func (g *GitlabTag) GetName() (name string, err error)
- func (g *GitlabTag) GetNativeTagsService() (nativeTagsService *gitlab.TagsService, err error)
- func (g *GitlabTag) GetProjectId() (projectId int, err error)
- func (g *GitlabTag) GetProjectIdAndUrl() (projectId int, projectUrl string, err error)
- func (g *GitlabTag) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabTag) GetRawResponse() (rawResponse *gitlab.Tag, err error)
- func (g *GitlabTag) IsVersionTag() (isVersionTag bool, err error)
- func (g *GitlabTag) MustCreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease)
- func (g *GitlabTag) MustDelete(verbose bool)
- func (g *GitlabTag) MustExists(verbose bool) (exists bool)
- func (g *GitlabTag) MustGetGitRepository() (gitRepo GitRepository)
- func (g *GitlabTag) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabTag) MustGetGitlabReleases() (gitlabReleases *GitlabReleases)
- func (g *GitlabTag) MustGetGitlabTags() (gitlabTags *GitlabTags)
- func (g *GitlabTag) MustGetHash() (hash string)
- func (g *GitlabTag) MustGetName() (name string)
- func (g *GitlabTag) MustGetNativeTagsService() (nativeTagsService *gitlab.TagsService)
- func (g *GitlabTag) MustGetProjectId() (projectId int)
- func (g *GitlabTag) MustGetProjectIdAndUrl() (projectId int, projectUrl string)
- func (g *GitlabTag) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabTag) MustGetRawResponse() (rawResponse *gitlab.Tag)
- func (g *GitlabTag) MustIsVersionTag() (isVersionTag bool)
- func (g *GitlabTag) MustSetGitlabTags(gitlabTags *GitlabTags)
- func (g *GitlabTag) MustSetName(name string)
- func (g *GitlabTag) SetGitlabTags(gitlabTags *GitlabTags) (err error)
- func (g *GitlabTag) SetName(name string) (err error)
- type GitlabTags
- func (g *GitlabTags) CreateTag(createTagOptions *GitlabCreateTagOptions) (createdTag *GitlabTag, err error)
- func (g *GitlabTags) GetGitlab() (gitlab *GitlabInstance, err error)
- func (g *GitlabTags) GetGitlabProject() (gitlabProject *GitlabProject, err error)
- func (g *GitlabTags) GetNativeTagsService() (nativeTagsService *gitlab.TagsService, err error)
- func (g *GitlabTags) GetProjectId() (projectId int, err error)
- func (g *GitlabTags) GetProjectIdAndUrl() (projectId int, projectUrl string, err error)
- func (g *GitlabTags) GetProjectUrl() (projectUrl string, err error)
- func (g *GitlabTags) GetTagByName(tagName string) (tag *GitlabTag, err error)
- func (g *GitlabTags) GetVersionTags(verbose bool) (versionTags []*GitlabTag, err error)
- func (g *GitlabTags) ListTagNames(verbose bool) (tagNames []string, err error)
- func (g *GitlabTags) ListTags(verbose bool) (gitlabTags []*GitlabTag, err error)
- func (g *GitlabTags) ListVersionTagNames(verbose bool) (tagNames []string, err error)
- func (g *GitlabTags) MustCreateTag(createTagOptions *GitlabCreateTagOptions) (createdTag *GitlabTag)
- func (g *GitlabTags) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabTags) MustGetGitlabProject() (gitlabProject *GitlabProject)
- func (g *GitlabTags) MustGetNativeTagsService() (nativeTagsService *gitlab.TagsService)
- func (g *GitlabTags) MustGetProjectId() (projectId int)
- func (g *GitlabTags) MustGetProjectIdAndUrl() (projectId int, projectUrl string)
- func (g *GitlabTags) MustGetProjectUrl() (projectUrl string)
- func (g *GitlabTags) MustGetTagByName(tagName string) (tag *GitlabTag)
- func (g *GitlabTags) MustGetVersionTags(verbose bool) (versionTags []*GitlabTag)
- func (g *GitlabTags) MustListTagNames(verbose bool) (tagNames []string)
- func (g *GitlabTags) MustListTags(verbose bool) (gitlabTags []*GitlabTag)
- func (g *GitlabTags) MustListVersionTagNames(verbose bool) (tagNames []string)
- func (g *GitlabTags) MustSetGitlabProject(gitlabProject *GitlabProject)
- func (g *GitlabTags) MustTagByNameExists(tagName string, verbose bool) (exists bool)
- func (g *GitlabTags) SetGitlabProject(gitlabProject *GitlabProject) (err error)
- func (g *GitlabTags) TagByNameExists(tagName string, verbose bool) (exists bool, err error)
- type GitlabUser
- func (u *GitlabUser) AddSshKey(sshKey *SSHPublicKey, verbose bool) (err error)
- func (u *GitlabUser) AddSshKeysFromFile(sshKeysFile files.File, verbose bool) (err error)
- func (u *GitlabUser) AddSshKeysFromFilePath(sshKeyFilePath string, verbose bool) (err error)
- func (u *GitlabUser) CreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string, err error)
- func (g *GitlabUser) GetCachedEmail() (cachedEmail string, err error)
- func (u *GitlabUser) GetCachedName() (name string, err error)
- func (g *GitlabUser) GetCachedUsername() (cachedUsername string, err error)
- func (u *GitlabUser) GetChachedUsername() (username string, err error)
- func (u *GitlabUser) GetFqdn() (fqdn string, err error)
- func (u *GitlabUser) GetGitlab() (gitlab *GitlabInstance, err error)
- func (u *GitlabUser) GetGitlabUsers() (gitlabUsers *GitlabUsers, err error)
- func (u *GitlabUser) GetId() (id int, err error)
- func (u *GitlabUser) GetNativeUsersService() (nativeUsersService *gitlab.UsersService, err error)
- func (u *GitlabUser) GetRawNativeUser() (rawUser *gitlab.User, err error)
- func (u *GitlabUser) GetSshKeys() (sshKeys []*SSHPublicKey, err error)
- func (u *GitlabUser) GetSshKeysAsString() (sshKeys []string, err error)
- func (g *GitlabUser) MustAddSshKey(sshKey *SSHPublicKey, verbose bool)
- func (g *GitlabUser) MustAddSshKeysFromFile(sshKeysFile files.File, verbose bool)
- func (g *GitlabUser) MustAddSshKeysFromFilePath(sshKeyFilePath string, verbose bool)
- func (g *GitlabUser) MustCreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string)
- func (g *GitlabUser) MustGetCachedEmail() (cachedEmail string)
- func (g *GitlabUser) MustGetCachedName() (name string)
- func (g *GitlabUser) MustGetCachedUsername() (cachedUsername string)
- func (g *GitlabUser) MustGetChachedUsername() (username string)
- func (g *GitlabUser) MustGetFqdn() (fqdn string)
- func (g *GitlabUser) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabUser) MustGetGitlabUsers() (gitlabUsers *GitlabUsers)
- func (g *GitlabUser) MustGetId() (id int)
- func (g *GitlabUser) MustGetNativeUsersService() (nativeUsersService *gitlab.UsersService)
- func (g *GitlabUser) MustGetRawNativeUser() (rawUser *gitlab.User)
- func (g *GitlabUser) MustGetSshKeys() (sshKeys []*SSHPublicKey)
- func (g *GitlabUser) MustGetSshKeysAsString() (sshKeys []string)
- func (g *GitlabUser) MustSetCachedEmail(email string)
- func (g *GitlabUser) MustSetCachedName(name string)
- func (g *GitlabUser) MustSetCachedUsername(username string)
- func (g *GitlabUser) MustSetGitlab(gitlab *GitlabInstance)
- func (g *GitlabUser) MustSetId(id int)
- func (g *GitlabUser) MustSshKeyExists(sshKey *SSHPublicKey) (keyExistsForUser bool)
- func (g *GitlabUser) MustUpdatePassword(newPassword string, verbose bool)
- func (u *GitlabUser) SetCachedEmail(email string) (err error)
- func (u *GitlabUser) SetCachedName(name string) (err error)
- func (u *GitlabUser) SetCachedUsername(username string) (err error)
- func (u *GitlabUser) SetGitlab(gitlab *GitlabInstance) (err error)
- func (u *GitlabUser) SetId(id int) (err error)
- func (u *GitlabUser) SshKeyExists(sshKey *SSHPublicKey) (keyExistsForUser bool, err error)
- func (u *GitlabUser) UpdatePassword(newPassword string, verbose bool) (err error)
- type GitlabUsers
- func (u *GitlabUsers) CreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string, err error)
- func (u *GitlabUsers) CreateUser(createUserOptions *GitlabCreateUserOptions) (createdUser *GitlabUser, err error)
- func (u *GitlabUsers) GetFqdn() (fqdn string, err error)
- func (u *GitlabUsers) GetGitlab() (gitlab *GitlabInstance, err error)
- func (u *GitlabUsers) GetNativeGitlabClient() (nativeGitlabClient *gitlab.Client, err error)
- func (u *GitlabUsers) GetNativeUsersService() (nativeUsersService *gitlab.UsersService, err error)
- func (g *GitlabUsers) GetUser() (gitlabUser *GitlabUser, err error)
- func (g *GitlabUsers) GetUserById(id int) (gitlabUser *GitlabUser, err error)
- func (g *GitlabUsers) GetUserByNativeGitlabUser(nativeUser *gitlab.User) (user *GitlabUser, err error)
- func (u *GitlabUsers) GetUserByUsername(username string) (gitlabUser *GitlabUser, err error)
- func (u *GitlabUsers) GetUserId() (userId int, err error)
- func (u *GitlabUsers) GetUserNames() (userNames []string, err error)
- func (g *GitlabUsers) GetUsers() (users []*GitlabUser, err error)
- func (g *GitlabUsers) MustCreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string)
- func (g *GitlabUsers) MustCreateUser(createUserOptions *GitlabCreateUserOptions) (createdUser *GitlabUser)
- func (g *GitlabUsers) MustGetFqdn() (fqdn string)
- func (g *GitlabUsers) MustGetGitlab() (gitlab *GitlabInstance)
- func (g *GitlabUsers) MustGetNativeGitlabClient() (nativeGitlabClient *gitlab.Client)
- func (g *GitlabUsers) MustGetNativeUsersService() (nativeUsersService *gitlab.UsersService)
- func (g *GitlabUsers) MustGetUser() (gitlabUser *GitlabUser)
- func (g *GitlabUsers) MustGetUserById(id int) (gitlabUser *GitlabUser)
- func (g *GitlabUsers) MustGetUserByNativeGitlabUser(nativeUser *gitlab.User) (user *GitlabUser)
- func (g *GitlabUsers) MustGetUserByUsername(username string) (gitlabUser *GitlabUser)
- func (g *GitlabUsers) MustGetUserId() (userId int)
- func (g *GitlabUsers) MustGetUserNames() (userNames []string)
- func (g *GitlabUsers) MustGetUsers() (users []*GitlabUser)
- func (g *GitlabUsers) MustSetGitlab(gitlab *GitlabInstance)
- func (g *GitlabUsers) MustUserByUserNameExists(username string) (userExists bool)
- func (u *GitlabUsers) SetGitlab(gitlab *GitlabInstance) (err error)
- func (u *GitlabUsers) UserByUserNameExists(username string) (userExists bool, err error)
- type GitlabWriteFileOptions
- func (g *GitlabWriteFileOptions) GetBranchName() (branchName string, err error)
- func (g *GitlabWriteFileOptions) GetCommitMessage() (commitMessage string, err error)
- func (g *GitlabWriteFileOptions) GetContent() (content []byte, err error)
- func (g *GitlabWriteFileOptions) GetDeepCopy() (copy *GitlabWriteFileOptions)
- func (g *GitlabWriteFileOptions) GetGitlabGetRepositoryFileOptions() (getOptions *GitlabGetRepositoryFileOptions, err error)
- func (g *GitlabWriteFileOptions) GetPath() (path string, err error)
- func (g *GitlabWriteFileOptions) GetVerbose() (verbose bool)
- func (g *GitlabWriteFileOptions) MustGetBranchName() (branchName string)
- func (g *GitlabWriteFileOptions) MustGetCommitMessage() (commitMessage string)
- func (g *GitlabWriteFileOptions) MustGetContent() (content []byte)
- func (g *GitlabWriteFileOptions) MustGetGitlabGetRepositoryFileOptions() (getOptions *GitlabGetRepositoryFileOptions)
- func (g *GitlabWriteFileOptions) MustGetPath() (path string)
- func (g *GitlabWriteFileOptions) MustSetBranchName(branchName string)
- func (g *GitlabWriteFileOptions) MustSetCommitMessage(commitMessage string)
- func (g *GitlabWriteFileOptions) MustSetContent(content []byte)
- func (g *GitlabWriteFileOptions) MustSetPath(path string)
- func (g *GitlabWriteFileOptions) SetBranchName(branchName string) (err error)
- func (g *GitlabWriteFileOptions) SetCommitMessage(commitMessage string) (err error)
- func (g *GitlabWriteFileOptions) SetContent(content []byte) (err error)
- func (g *GitlabWriteFileOptions) SetPath(path string) (err error)
- func (g *GitlabWriteFileOptions) SetVerbose(verbose bool)
- type GitlabgetProjectListOptions
- type GnuPGService
- func (g *GnuPGService) CheckSignatureValid(signatureFile files.File, verbose bool) (err error)
- func (g *GnuPGService) MustCheckSignatureValid(signatureFile files.File, verbose bool)
- func (g *GnuPGService) MustSignFile(fileToSign files.File, options *GnuPGSignOptions)
- func (g *GnuPGService) SignFile(fileToSign files.File, options *GnuPGSignOptions) (err error)
- type GnuPGSignOptions
- func (g *GnuPGSignOptions) GetAsciiArmor() (asciiArmor bool, err error)
- func (g *GnuPGSignOptions) GetDetachedSign() (detachedSign bool, err error)
- func (g *GnuPGSignOptions) GetVerbose() (verbose bool, err error)
- func (g *GnuPGSignOptions) MustGetAsciiArmor() (asciiArmor bool)
- func (g *GnuPGSignOptions) MustGetDetachedSign() (detachedSign bool)
- func (g *GnuPGSignOptions) MustGetVerbose() (verbose bool)
- func (g *GnuPGSignOptions) MustSetAsciiArmor(asciiArmor bool)
- func (g *GnuPGSignOptions) MustSetDetachedSign(detachedSign bool)
- func (g *GnuPGSignOptions) MustSetVerbose(verbose bool)
- func (g *GnuPGSignOptions) SetAsciiArmor(asciiArmor bool) (err error)
- func (g *GnuPGSignOptions) SetDetachedSign(detachedSign bool) (err error)
- func (g *GnuPGSignOptions) SetVerbose(verbose bool) (err error)
- type GoogleStorageBucket
- func (g *GoogleStorageBucket) Exists() (bucketExists bool, err error)
- func (g *GoogleStorageBucket) GetName() (name string, err error)
- func (g *GoogleStorageBucket) GetNativeBucket() (nativeBucket *storage.BucketHandle, err error)
- func (g *GoogleStorageBucket) GetNativeClient() (nativeClient *storage.Client, err error)
- func (g *GoogleStorageBucket) MustExists() (bucketExists bool)
- func (g *GoogleStorageBucket) MustGetName() (name string)
- func (g *GoogleStorageBucket) MustGetNativeBucket() (nativeBucket *storage.BucketHandle)
- func (g *GoogleStorageBucket) MustGetNativeClient() (nativeClient *storage.Client)
- func (g *GoogleStorageBucket) MustSetName(name string)
- func (g *GoogleStorageBucket) MustSetNativeClient(nativeClient *storage.Client)
- func (g *GoogleStorageBucket) SetName(name string) (err error)
- func (g *GoogleStorageBucket) SetNativeClient(nativeClient *storage.Client) (err error)
- type GopassCredential
- func (c *GopassCredential) Exists() (exists bool, err error)
- func (c *GopassCredential) GetAsBytes() (credential []byte, err error)
- func (c *GopassCredential) GetAsInt() (value int, err error)
- func (c *GopassCredential) GetAsString() (credential string, err error)
- func (c *GopassCredential) GetName() (name string, err error)
- func (c *GopassCredential) GetSslCertificate() (sslCert *x509utils.X509Certificate, err error)
- func (c *GopassCredential) IncrementIntValue() (err error)
- func (g *GopassCredential) MustExists() (exists bool)
- func (g *GopassCredential) MustGetAsBytes() (credential []byte)
- func (g *GopassCredential) MustGetAsInt() (value int)
- func (g *GopassCredential) MustGetAsString() (credential string)
- func (c *GopassCredential) MustGetName() (name string)
- func (g *GopassCredential) MustGetSslCertificate() (sslCert *x509utils.X509Certificate)
- func (g *GopassCredential) MustIncrementIntValue()
- func (g *GopassCredential) MustSetByInt(newValue int)
- func (g *GopassCredential) MustSetByString(newValue string)
- func (g *GopassCredential) MustSetName(name string)
- func (g *GopassCredential) MustWriteIntoFile(outputFile files.File, verbose bool)
- func (g *GopassCredential) MustWriteIntoTemporaryFile(verbose bool) (temporaryFile files.File)
- func (c *GopassCredential) SetByInt(newValue int) (err error)
- func (c *GopassCredential) SetByString(newValue string) (err error)
- func (c *GopassCredential) SetName(name string) (err error)
- func (c *GopassCredential) WriteIntoFile(outputFile files.File, verbose bool) (err error)
- func (c *GopassCredential) WriteIntoTemporaryFile(verbose bool) (temporaryFile files.File, err error)
- type GopassService
- func (g *GopassService) CredentialExists(fullCredentialPath string) (credentialExists bool, err error)
- func (g *GopassService) Generate(credentialName string, verbose bool) (generatedCredential *GopassCredential, err error)
- func (g *GopassService) GetCredential(getOptions *parameteroptions.GopassSecretOptions) (credential *GopassCredential, err error)
- func (g *GopassService) GetCredentialList() (credentials []*GopassCredential, err error)
- func (g *GopassService) GetCredentialNameList() (credentialNames []string, err error)
- func (g *GopassService) GetCredentialValueAsString(getOptions *parameteroptions.GopassSecretOptions) (credentialValue string, err error)
- func (g *GopassService) GetCredentialValueAsStringByPath(secretPath string) (secretValue string, err error)
- func (g *GopassService) GetCredentialValueOrEmptyIfUnsetAsStringByPath(secretPath string) (credentialValue string, err error)
- func (g *GopassService) GetGopassCredentialByName(name string) (credential *GopassCredential, err error)
- func (g *GopassService) GetSslCertificate(getOptions *parameteroptions.GopassSecretOptions) (cert *x509utils.X509Certificate, err error)
- func (g *GopassService) InsertFile(fileToInsert files.File, gopassOptions *parameteroptions.GopassSecretOptions) (err error)
- func (g *GopassService) InsertSecret(secretToInsert string, gopassOptions *parameteroptions.GopassSecretOptions) (err error)
- func (g *GopassService) MustCredentialExists(fullCredentialPath string) (credentialExists bool)
- func (g *GopassService) MustGenerate(credentialName string, verbose bool) (generatedCredential *GopassCredential)
- func (g *GopassService) MustGetCredential(getOptions *parameteroptions.GopassSecretOptions) (credential *GopassCredential)
- func (g *GopassService) MustGetCredentialList() (credentials []*GopassCredential)
- func (g *GopassService) MustGetCredentialNameList() (credentialNames []string)
- func (g *GopassService) MustGetCredentialValue(getOptions *parameteroptions.GopassSecretOptions) (credentialValue string)
- func (g *GopassService) MustGetCredentialValueAsString(getOptions *parameteroptions.GopassSecretOptions) (credentialValue string)
- func (g *GopassService) MustGetCredentialValueAsStringByPath(secretPath string) (secretValue string)
- func (g *GopassService) MustGetCredentialValueOrEmptyIfUnsetAsStringByPath(secretPath string) (credentialValue string)
- func (g *GopassService) MustGetGopassCredentialByName(name string) (credential *GopassCredential)
- func (g *GopassService) MustGetSslCertificate(getOptions *parameteroptions.GopassSecretOptions) (cert *x509utils.X509Certificate)
- func (g *GopassService) MustInsertFile(fileToInsert files.File, gopassOptions *parameteroptions.GopassSecretOptions)
- func (g *GopassService) MustInsertSecret(secretToInsert string, gopassOptions *parameteroptions.GopassSecretOptions)
- func (g *GopassService) MustSecretNameExist(secretName string) (secretExists bool)
- func (g *GopassService) MustSync(verbose bool)
- func (g *GopassService) MustWriteInfoToGopass(gopassPath string)
- func (g *GopassService) MustWriteSecretIntoTemporaryFile(getOptions *parameteroptions.GopassSecretOptions) (temporaryFile files.File)
- func (g *GopassService) SecretNameExist(secretName string) (secretExists bool, err error)
- func (g *GopassService) Sync(verbose bool) (err error)
- func (g *GopassService) WriteInfoToGopass(gopassPath string) (err error)
- func (g *GopassService) WriteSecretIntoTemporaryFile(getOptions *parameteroptions.GopassSecretOptions) (temporaryFile files.File, err error)
- type LocalGitRemote
- func (l *LocalGitRemote) GetName() (name string, err error)
- func (l *LocalGitRemote) GetRemoteUrl() (remoteUrl string, err error)
- func (l *LocalGitRemote) MustGetName() (name string)
- func (l *LocalGitRemote) MustGetRemoteUrl() (remoteUrl string)
- func (l *LocalGitRemote) MustSetName(name string)
- func (l *LocalGitRemote) MustSetRemoteUrl(remoteUrl string)
- func (l *LocalGitRemote) SetName(name string) (err error)
- func (l *LocalGitRemote) SetRemoteUrl(remoteUrl string) (err error)
- type LocalGitRepository
- func GetLocalGitReposioryFromLocalDirectory(localDirectory *files.LocalDirectory) (l *LocalGitRepository, err error)
- func GetLocalGitRepositoryByPath(path string) (l *LocalGitRepository, err error)
- func MustGetLocalGitReposioryFromLocalDirectory(localDirectory *files.LocalDirectory) (l *LocalGitRepository)
- func MustGetLocalGitRepositoryByPath(path string) (l *LocalGitRepository)
- func NewLocalGitRepository() (l *LocalGitRepository)
- func (l *LocalGitRepository) AddFileByPath(pathToAdd string, verbose bool) (err error)
- func (l *LocalGitRepository) AddRemote(remoteOptions *GitRemoteAddOptions) (err error)
- func (l *LocalGitRepository) CheckoutBranchByName(name string, verbose bool) (err error)
- func (l *LocalGitRepository) CloneRepository(repository GitRepository, verbose bool) (err error)
- func (l *LocalGitRepository) CloneRepositoryByPathOrUrl(urlOrPathToClone string, verbose bool) (err error)
- func (l *LocalGitRepository) Commit(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error)
- func (l *LocalGitRepository) CommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool, err error)
- func (l *LocalGitRepository) CreateBranch(createOptions *parameteroptions.CreateBranchOptions) (err error)
- func (l *LocalGitRepository) CreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag, err error)
- func (l *LocalGitRepository) DeleteBranchByName(name string, verbose bool) (err error)
- func (l *LocalGitRepository) Fetch(verbose bool) (err error)
- func (l *LocalGitRepository) FileByPathExists(path string, verbose bool) (exists bool, err error)
- func (l *LocalGitRepository) GetAsGoGitRepository() (goGitRepository *git.Repository, err error)
- func (l *LocalGitRepository) GetAsLocalDirectory() (localDirectory *files.LocalDirectory, err error)
- func (l *LocalGitRepository) GetAsLocalGitRepository() (localGitRepository *LocalGitRepository, err error)
- func (l *LocalGitRepository) GetAuthorEmailByCommitHash(hash string) (authorEmail string, err error)
- func (l *LocalGitRepository) GetAuthorStringByCommitHash(hash string) (authorString string, err error)
- func (l *LocalGitRepository) GetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration, err error)
- func (l *LocalGitRepository) GetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64, err error)
- func (l *LocalGitRepository) GetCommitByGoGitCommit(goGitCommit *object.Commit) (gitCommit *GitCommit, err error)
- func (l *LocalGitRepository) GetCommitByGoGitHash(goGitHash *plumbing.Hash) (gitCommit *GitCommit, err error)
- func (l *LocalGitRepository) GetCommitByGoGitReference(goGitReference *plumbing.Reference) (gitCommit *GitCommit, err error)
- func (l *LocalGitRepository) GetCommitMessageByCommitHash(hash string) (commitMessage string, err error)
- func (l *LocalGitRepository) GetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit, err error)
- func (l *LocalGitRepository) GetCommitTimeByCommitHash(hash string) (commitTime *time.Time, err error)
- func (l *LocalGitRepository) GetCurrentBranchName(verbose bool) (branchName string, err error)
- func (l *LocalGitRepository) GetCurrentCommit(verbose bool) (gitCommit *GitCommit, err error)
- func (l *LocalGitRepository) GetCurrentCommitGoGitHash(verbose bool) (hash *plumbing.Hash, err error)
- func (l *LocalGitRepository) GetCurrentCommitHash(verbose bool) (commitHash string, err error)
- func (l *LocalGitRepository) GetCurrentCommitHashAsBytes(verbose bool) (hash []byte, err error)
- func (l *LocalGitRepository) GetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory, err error)
- func (l *LocalGitRepository) GetGitStatusOutput(verbose bool) (output string, err error)
- func (l *LocalGitRepository) GetGitlabCiYamlFile() (gitlabCiYamlFile *GitlabCiYamlFile, err error)
- func (l *LocalGitRepository) GetGoGitCommitByCommitHash(hash string) (goGitCommit *object.Commit, err error)
- func (l *LocalGitRepository) GetGoGitConfig() (config *config.Config, err error)
- func (l *LocalGitRepository) GetGoGitHashFromHashString(hashString string) (hash *plumbing.Hash, err error)
- func (l *LocalGitRepository) GetGoGitHead() (head *plumbing.Reference, err error)
- func (l *LocalGitRepository) GetGoGitWorktree() (worktree *git.Worktree, err error)
- func (l *LocalGitRepository) GetHashByTagName(tagName string) (hash string, err error)
- func (l *LocalGitRepository) GetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig, err error)
- func (l *LocalGitRepository) GetRootDirectory(verbose bool) (rootDirectory files.Directory, err error)
- func (l *LocalGitRepository) GetRootDirectoryPath(verbose bool) (rootDirectoryPath string, err error)
- func (l *LocalGitRepository) GetTagByName(tagName string) (tag GitTag, err error)
- func (l *LocalGitRepository) GitlabCiYamlFileExists(verbose bool) (gitlabCiYamlFileExists bool, err error)
- func (c *LocalGitRepository) HasInitialCommit(verbose bool) (hasInitialCommit bool, err error)
- func (l *LocalGitRepository) HasNoUncommittedChanges(verbose bool) (hasUncommittedChanges bool, err error)
- func (l *LocalGitRepository) HasUncommittedChanges(verbose bool) (hasUncommittedChanges bool, err error)
- func (l *LocalGitRepository) Init(options *parameteroptions.CreateRepositoryOptions) (err error)
- func (l *LocalGitRepository) IsBareRepository(verbose bool) (isBareRepository bool, err error)
- func (l *LocalGitRepository) IsGitRepository(verbose bool) (isGitRepository bool, err error)
- func (l *LocalGitRepository) IsInitialized(verbose bool) (isInitialized bool, err error)
- func (l *LocalGitRepository) ListBranchNames(verbose bool) (branchNames []string, err error)
- func (l *LocalGitRepository) ListTagNames(verbose bool) (tagNames []string, err error)
- func (l *LocalGitRepository) ListTags(verbose bool) (tags []GitTag, err error)
- func (l *LocalGitRepository) ListTagsForCommitHash(hash string, verbose bool) (tags []GitTag, err error)
- func (l *LocalGitRepository) MustAddFileByPath(pathToAdd string, verbose bool)
- func (l *LocalGitRepository) MustAddRemote(remoteOptions *GitRemoteAddOptions)
- func (l *LocalGitRepository) MustCheckoutBranchByName(name string, verbose bool)
- func (l *LocalGitRepository) MustCloneRepository(repository GitRepository, verbose bool)
- func (l *LocalGitRepository) MustCloneRepositoryByPathOrUrl(pathToClone string, verbose bool)
- func (l *LocalGitRepository) MustCommit(commitOptions *GitCommitOptions) (createdCommit *GitCommit)
- func (l *LocalGitRepository) MustCommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool)
- func (l *LocalGitRepository) MustCreateBranch(createOptions *parameteroptions.CreateBranchOptions)
- func (l *LocalGitRepository) MustCreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag)
- func (l *LocalGitRepository) MustDeleteBranchByName(name string, verbose bool)
- func (l *LocalGitRepository) MustFetch(verbose bool)
- func (l *LocalGitRepository) MustFileByPathExists(path string, verbose bool) (exists bool)
- func (l *LocalGitRepository) MustGetAsGoGitRepository() (goGitRepository *git.Repository)
- func (l *LocalGitRepository) MustGetAsLocalDirectory() (localDirectory *files.LocalDirectory)
- func (l *LocalGitRepository) MustGetAsLocalGitRepository() (localGitRepository *LocalGitRepository)
- func (l *LocalGitRepository) MustGetAuthorEmailByCommitHash(hash string) (authorEmail string)
- func (l *LocalGitRepository) MustGetAuthorStringByCommitHash(hash string) (authorString string)
- func (l *LocalGitRepository) MustGetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration)
- func (l *LocalGitRepository) MustGetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64)
- func (l *LocalGitRepository) MustGetCommitByGoGitCommit(goGitCommit *object.Commit) (gitCommit *GitCommit)
- func (l *LocalGitRepository) MustGetCommitByGoGitHash(goGitHash *plumbing.Hash) (gitCommit *GitCommit)
- func (l *LocalGitRepository) MustGetCommitByGoGitReference(goGitReference *plumbing.Reference) (gitCommit *GitCommit)
- func (l *LocalGitRepository) MustGetCommitMessageByCommitHash(hash string) (commitMessage string)
- func (l *LocalGitRepository) MustGetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit)
- func (l *LocalGitRepository) MustGetCommitTimeByCommitHash(hash string) (commitTime *time.Time)
- func (l *LocalGitRepository) MustGetCurrentBranchName(verbose bool) (branchName string)
- func (l *LocalGitRepository) MustGetCurrentCommit(verbose bool) (gitCommit *GitCommit)
- func (l *LocalGitRepository) MustGetCurrentCommitGoGitHash(verbose bool) (hash *plumbing.Hash)
- func (l *LocalGitRepository) MustGetCurrentCommitHash(verbose bool) (commitHash string)
- func (l *LocalGitRepository) MustGetCurrentCommitHashAsBytes(verbose bool) (hash []byte)
- func (l *LocalGitRepository) MustGetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory)
- func (l *LocalGitRepository) MustGetGitStatusOutput(verbose bool) (output string)
- func (l *LocalGitRepository) MustGetGitlabCiYamlFile() (gitlabCiYamlFile *GitlabCiYamlFile)
- func (l *LocalGitRepository) MustGetGoGitCommitByCommitHash(hash string) (goGitCommit *object.Commit)
- func (l *LocalGitRepository) MustGetGoGitConfig() (config *config.Config)
- func (l *LocalGitRepository) MustGetGoGitHashFromHashString(hashString string) (hash *plumbing.Hash)
- func (l *LocalGitRepository) MustGetGoGitHead() (head *plumbing.Reference)
- func (l *LocalGitRepository) MustGetGoGitWorktree() (worktree *git.Worktree)
- func (l *LocalGitRepository) MustGetHashByTagName(tagName string) (hash string)
- func (l *LocalGitRepository) MustGetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig)
- func (l *LocalGitRepository) MustGetRootDirectory(verbose bool) (rootDirectory files.Directory)
- func (l *LocalGitRepository) MustGetRootDirectoryPath(verbose bool) (rootDirectoryPath string)
- func (l *LocalGitRepository) MustGetTagByName(tagName string) (tag GitTag)
- func (l *LocalGitRepository) MustGitlabCiYamlFileExists(verbose bool) (gitlabCiYamlFileExists bool)
- func (l *LocalGitRepository) MustHasInitialCommit(verbose bool) (hasInitialCommit bool)
- func (l *LocalGitRepository) MustHasNoUncommittedChanges(verbose bool) (hasUncommittedChanges bool)
- func (l *LocalGitRepository) MustHasUncommittedChanges(verbose bool) (hasUncommittedChanges bool)
- func (l *LocalGitRepository) MustInit(options *parameteroptions.CreateRepositoryOptions)
- func (l *LocalGitRepository) MustIsBareRepository(verbose bool) (isBareRepository bool)
- func (l *LocalGitRepository) MustIsGitRepository(verbose bool) (isGitRepository bool)
- func (l *LocalGitRepository) MustIsInitialized(verbose bool) (isInitialized bool)
- func (l *LocalGitRepository) MustListBranchNames(verbose bool) (branchNames []string)
- func (l *LocalGitRepository) MustListTagNames(verbose bool) (tagNames []string)
- func (l *LocalGitRepository) MustListTags(verbose bool) (tags []GitTag)
- func (l *LocalGitRepository) MustListTagsForCommitHash(hash string, verbose bool) (tags []GitTag)
- func (l *LocalGitRepository) MustPull(verbose bool)
- func (l *LocalGitRepository) MustPullFromRemote(pullOptions *GitPullFromRemoteOptions)
- func (l *LocalGitRepository) MustPullUsingGitCli(verbose bool)
- func (l *LocalGitRepository) MustPush(verbose bool)
- func (l *LocalGitRepository) MustPushTagsToRemote(remoteName string, verbose bool)
- func (l *LocalGitRepository) MustPushToRemote(remoteName string, verbose bool)
- func (l *LocalGitRepository) MustRemoteByNameExists(remoteName string, verbose bool) (remoteExists bool)
- func (l *LocalGitRepository) MustRemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool)
- func (l *LocalGitRepository) MustRemoveRemoteByName(remoteNameToRemove string, verbose bool)
- func (l *LocalGitRepository) MustRunGitCommand(gitCommand []string, verbose bool) (commandOutput *commandexecutor.CommandOutput)
- func (l *LocalGitRepository) MustRunGitCommandAndGetStdout(gitCommand []string, verbose bool) (commandOutput string)
- func (l *LocalGitRepository) MustSetGitConfig(options *GitConfigSetOptions)
- func (l *LocalGitRepository) MustSetGitConfigByGoGitConfig(config *config.Config, verbose bool)
- func (l *LocalGitRepository) MustSetRemote(remoteName string, remotUrl string, verbose bool) (remote *LocalGitRemote)
- func (l *LocalGitRepository) MustSetRemoteUrl(remoteUrl string, verbose bool)
- func (l *LocalGitRepository) Pull(verbose bool) (err error)
- func (l *LocalGitRepository) PullFromRemote(pullOptions *GitPullFromRemoteOptions) (err error)
- func (l *LocalGitRepository) PullUsingGitCli(verbose bool) (err error)
- func (l *LocalGitRepository) Push(verbose bool) (err error)
- func (l *LocalGitRepository) PushTagsToRemote(remoteName string, verbose bool) (err error)
- func (l *LocalGitRepository) PushToRemote(remoteName string, verbose bool) (err error)
- func (l *LocalGitRepository) RemoteByNameExists(remoteName string, verbose bool) (remoteExists bool, err error)
- func (l *LocalGitRepository) RemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool, err error)
- func (l *LocalGitRepository) RemoveRemoteByName(remoteNameToRemove string, verbose bool) (err error)
- func (l *LocalGitRepository) RunGitCommand(gitCommand []string, verbose bool) (commandOutput *commandexecutor.CommandOutput, err error)
- func (l *LocalGitRepository) RunGitCommandAndGetStdout(gitCommand []string, verbose bool) (commandOutput string, err error)
- func (l *LocalGitRepository) SetGitConfig(options *GitConfigSetOptions) (err error)
- func (l *LocalGitRepository) SetGitConfigByGoGitConfig(config *config.Config, verbose bool) (err error)
- func (l *LocalGitRepository) SetRemote(remoteName string, remotUrl string, verbose bool) (remote *LocalGitRemote, err error)
- func (l *LocalGitRepository) SetRemoteUrl(remoteUrl string, verbose bool) (err error)
- type ObjectStoreBucket
- type PowerShellService
- func (p *PowerShellService) MustRunCommand(options *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput)
- func (p *PowerShellService) MustRunOneLiner(oneLiner string, verbose bool) (output *commandexecutor.CommandOutput)
- func (p *PowerShellService) MustRunOneLinerAndGetStdoutAsString(oneLiner string, verbose bool) (stdout string)
- func (b *PowerShellService) RunCommand(options *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput, err error)
- func (p *PowerShellService) RunOneLiner(oneLiner string, verbose bool) (output *commandexecutor.CommandOutput, err error)
- func (p *PowerShellService) RunOneLinerAndGetStdoutAsString(oneLiner string, verbose bool) (stdout string, err error)
- type PreCommitConfigFile
- func GetPreCommitConfigByFile(file files.File) (preCommitConfigFile *PreCommitConfigFile, err error)
- func GetPreCommitConfigByLocalPath(localPath string) (preCommitConfigFile *PreCommitConfigFile, err error)
- func GetPreCommitConfigFileInGitRepository(gitRepository GitRepository) (preCommitConfigFile *PreCommitConfigFile, err error)
- func MustGetPreCommitConfigByFile(file files.File) (preCommitConfigFile *PreCommitConfigFile)
- func MustGetPreCommitConfigByLocalPath(localPath string) (preCommitConfigFile *PreCommitConfigFile)
- func MustGetPreCommitConfigFileInGitRepository(gitRepository GitRepository) (preCommitConfigFile *PreCommitConfigFile)
- func NewPreCommitConfigFile() (preCommitConfigFile *PreCommitConfigFile)
- func (p *PreCommitConfigFile) GetAbsolutePath() (absolutePath string, err error)
- func (p *PreCommitConfigFile) GetDependencies(verbose bool) (dependencies []Dependency, err error)
- func (p *PreCommitConfigFile) GetLocalPath() (localPath string, err error)
- func (p *PreCommitConfigFile) GetPreCommitConfigFileContent(verbose bool) (content *PreCommitConfigFileContent, err error)
- func (p *PreCommitConfigFile) GetUriAsString() (uri string, err error)
- func (p *PreCommitConfigFile) IsValidPreCommitConfigFile(verbose bool) (isValidPreCommitConfigFile bool, err error)
- func (p *PreCommitConfigFile) MustGetAbsolutePath() (absolutePath string)
- func (p *PreCommitConfigFile) MustGetDependencies(verbose bool) (dependencies []Dependency)
- func (p *PreCommitConfigFile) MustGetLocalPath() (localPath string)
- func (p *PreCommitConfigFile) MustGetPreCommitConfigFileContent(verbose bool) (content *PreCommitConfigFileContent)
- func (p *PreCommitConfigFile) MustGetUriAsString() (uri string)
- func (p *PreCommitConfigFile) MustIsValidPreCommitConfigFile(verbose bool) (isValidPreCommitConfigFile bool)
- func (p *PreCommitConfigFile) MustUpdateDependencies(options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary)
- func (p *PreCommitConfigFile) MustUpdateDependency(dependency Dependency, options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary)
- func (p *PreCommitConfigFile) MustWritePreCommitConfigFileContent(content *PreCommitConfigFileContent, verbose bool)
- func (p *PreCommitConfigFile) UpdateDependencies(options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary, err error)
- func (p *PreCommitConfigFile) UpdateDependency(dependency Dependency, options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary, err error)
- func (p *PreCommitConfigFile) WritePreCommitConfigFileContent(content *PreCommitConfigFileContent, verbose bool) (err error)
- type PreCommitConfigFileConfig
- func (p *PreCommitConfigFileConfig) GetRepoByUrl(repoUrl string) (repo *PreCommitConfigFileConfigRepo, err error)
- func (p *PreCommitConfigFileConfig) GetRepos() (repos []PreCommitConfigFileConfigRepo, err error)
- func (p *PreCommitConfigFileConfig) MustGetRepoByUrl(repoUrl string) (repo *PreCommitConfigFileConfigRepo)
- func (p *PreCommitConfigFileConfig) MustGetRepos() (repos []PreCommitConfigFileConfigRepo)
- func (p *PreCommitConfigFileConfig) MustSetRepos(repos []PreCommitConfigFileConfigRepo)
- func (p *PreCommitConfigFileConfig) MustSetRepositoryVersion(repoUrl string, newVersion string)
- func (p *PreCommitConfigFileConfig) SetRepos(repos []PreCommitConfigFileConfigRepo) (err error)
- func (p *PreCommitConfigFileConfig) SetRepositoryVersion(repoUrl string, newVersion string) (err error)
- type PreCommitConfigFileConfigRepo
- func (p *PreCommitConfigFileConfigRepo) GetHooks() (hooks []PreCommitConfigFileConfigRepoHook, err error)
- func (p *PreCommitConfigFileConfigRepo) GetRepo() (repo string, err error)
- func (p *PreCommitConfigFileConfigRepo) GetRev() (rev string, err error)
- func (p *PreCommitConfigFileConfigRepo) MustGetHooks() (hooks []PreCommitConfigFileConfigRepoHook)
- func (p *PreCommitConfigFileConfigRepo) MustGetRepo() (repo string)
- func (p *PreCommitConfigFileConfigRepo) MustGetRev() (rev string)
- func (p *PreCommitConfigFileConfigRepo) MustSetHooks(hooks []PreCommitConfigFileConfigRepoHook)
- func (p *PreCommitConfigFileConfigRepo) MustSetRepo(repo string)
- func (p *PreCommitConfigFileConfigRepo) MustSetRev(rev string)
- func (p *PreCommitConfigFileConfigRepo) SetHooks(hooks []PreCommitConfigFileConfigRepoHook) (err error)
- func (p *PreCommitConfigFileConfigRepo) SetRepo(repo string) (err error)
- func (p *PreCommitConfigFileConfigRepo) SetRev(rev string) (err error)
- type PreCommitConfigFileConfigRepoHook
- type PreCommitConfigFileContent
- func (p *PreCommitConfigFileContent) GetAsString() (contentString string, err error)
- func (p *PreCommitConfigFileContent) GetConfig() (config *PreCommitConfigFileConfig, err error)
- func (p *PreCommitConfigFileContent) GetDependencies(verbose bool) (dependencies []Dependency, err error)
- func (p *PreCommitConfigFileContent) LoadFromString(toLoad string) (err error)
- func (p *PreCommitConfigFileContent) MustGetAsString() (contentString string)
- func (p *PreCommitConfigFileContent) MustGetConfig() (config *PreCommitConfigFileConfig)
- func (p *PreCommitConfigFileContent) MustGetDependencies(verbose bool) (dependencies []Dependency)
- func (p *PreCommitConfigFileContent) MustLoadFromString(toLoad string)
- func (p *PreCommitConfigFileContent) MustSetConfig(config *PreCommitConfigFileConfig)
- func (p *PreCommitConfigFileContent) MustUpdateDependency(dependency Dependency, ...) (changeSummary *changesummary.ChangeSummary)
- func (p *PreCommitConfigFileContent) SetConfig(config *PreCommitConfigFileConfig) (err error)
- func (p *PreCommitConfigFileContent) UpdateDependency(dependency Dependency, ...) (changeSummary *changesummary.ChangeSummary, err error)
- type PreCommitRunOptions
- type PreCommitService
- func (p *PreCommitService) GetAsPreCommitConfigFileOrNilIfContentIsInvalid(file files.File, verbose bool) (preCommitConfigFile *PreCommitConfigFile, err error)
- func (p *PreCommitService) GetDefaultConfigFileName() (preCommitDefaultName string)
- func (p *PreCommitService) MustGetAsPreCommitConfigFileOrNilIfContentIsInvalid(file files.File, verbose bool) (preCommitConfigFile *PreCommitConfigFile)
- func (p *PreCommitService) MustRunInDirectory(directoy files.Directory, options *PreCommitRunOptions)
- func (p *PreCommitService) MustRunInGitRepository(gitRepo GitRepository, options *PreCommitRunOptions)
- func (p *PreCommitService) RunInDirectory(directoy files.Directory, options *PreCommitRunOptions) (err error)
- func (p *PreCommitService) RunInGitRepository(gitRepo GitRepository, options *PreCommitRunOptions) (err error)
- type PrometheusExpositionFormatParserService
- type PrometheusMetric
- func (p *PrometheusMetric) GetHelp() (help string, err error)
- func (p *PrometheusMetric) GetName() (name string, err error)
- func (p *PrometheusMetric) GetValue() (value float64, err error)
- func (p *PrometheusMetric) GetValueAsFloat64() (value float64, err error)
- func (p *PrometheusMetric) MustGetHelp() (help string)
- func (p *PrometheusMetric) MustGetName() (name string)
- func (p *PrometheusMetric) MustGetValue() (value float64)
- func (p *PrometheusMetric) MustGetValueAsFloat64() (value float64)
- func (p *PrometheusMetric) MustSetHelp(help string)
- func (p *PrometheusMetric) MustSetName(name string)
- func (p *PrometheusMetric) MustSetValue(value float64)
- func (p *PrometheusMetric) MustSetValueByFloat64(value float64)
- func (p *PrometheusMetric) SetHelp(help string) (err error)
- func (p *PrometheusMetric) SetName(name string) (err error)
- func (p *PrometheusMetric) SetValue(value float64) (err error)
- func (p *PrometheusMetric) SetValueByFloat64(value float64) (err error)
- type PrometheusMetricFamily
- func GetPrometheusMetricFamilyFromNativeMetricFamily(metricFamily *dto.MetricFamily) (p *PrometheusMetricFamily, err error)
- func MustGetPrometheusMetricFamilyFromNativeMetricFamily(metricFamily *dto.MetricFamily) (p *PrometheusMetricFamily)
- func NewPrometheusMetricFamily() (p *PrometheusMetricFamily)
- func (p *PrometheusMetricFamily) AddMetric(toAdd *PrometheusMetric) (err error)
- func (p *PrometheusMetricFamily) GetHelp() (help string, err error)
- func (p *PrometheusMetricFamily) GetMetrics() (metrics []*PrometheusMetric, err error)
- func (p *PrometheusMetricFamily) GetName() (name string, err error)
- func (p *PrometheusMetricFamily) GetValueAsFloat64() (value float64, err error)
- func (p *PrometheusMetricFamily) MustAddMetric(toAdd *PrometheusMetric)
- func (p *PrometheusMetricFamily) MustGetHelp() (help string)
- func (p *PrometheusMetricFamily) MustGetMetrics() (metrics []*PrometheusMetric)
- func (p *PrometheusMetricFamily) MustGetName() (name string)
- func (p *PrometheusMetricFamily) MustGetValueAsFloat64() (value float64)
- func (p *PrometheusMetricFamily) MustSetHelp(help string)
- func (p *PrometheusMetricFamily) MustSetMetrics(metrics []*PrometheusMetric)
- func (p *PrometheusMetricFamily) MustSetName(name string)
- func (p *PrometheusMetricFamily) SetHelp(help string) (err error)
- func (p *PrometheusMetricFamily) SetMetrics(metrics []*PrometheusMetric) (err error)
- func (p *PrometheusMetricFamily) SetName(name string) (err error)
- type PrometheusParsedMetrics
- func (p *PrometheusParsedMetrics) GetMetricValueAsFloat64(metricName string) (metricValue float64, err error)
- func (p *PrometheusParsedMetrics) GetNativeMetricFamilies() (nativeMetricFamilies map[string]*dto.MetricFamily, err error)
- func (p *PrometheusParsedMetrics) MustGetMetricValueAsFloat64(metricName string) (metricValue float64)
- func (p *PrometheusParsedMetrics) MustGetNativeMetricFamilies() (nativeMetricFamilies map[string]*dto.MetricFamily)
- func (p *PrometheusParsedMetrics) MustSetNativeMetricFamilies(nativeMetricFamilies map[string]*dto.MetricFamily)
- func (p *PrometheusParsedMetrics) SetNativeMetricFamilies(nativeMetricFamilies map[string]*dto.MetricFamily) (err error)
- type SSHClient
- func (s *SSHClient) CheckReachable(verbose bool) (err error)
- func (s *SSHClient) GetDeepCopy() (copy commandexecutor.CommandExecutor)
- func (s *SSHClient) GetHostDescription() (hostDescription string, err error)
- func (s *SSHClient) GetHostName() (hostName string, err error)
- func (s *SSHClient) GetSshUserName() (sshUserName string, err error)
- func (s *SSHClient) IsReachable(verbose bool) (isReachable bool, err error)
- func (s *SSHClient) IsSshUserNameSet() (isSet bool)
- func (s *SSHClient) MustCheckReachable(verbose bool)
- func (s *SSHClient) MustGetHostDescription() (hostDescription string)
- func (s *SSHClient) MustGetHostName() (hostName string)
- func (s *SSHClient) MustGetSshUserName() (sshUserName string)
- func (s *SSHClient) MustIsReachable(verbose bool) (isReachavble bool)
- func (s *SSHClient) MustRunCommand(options *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput)
- func (s *SSHClient) MustSetHostName(hostName string)
- func (s *SSHClient) MustSetSshUserName(sshUserName string)
- func (s *SSHClient) RunCommand(options *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput, err error)
- func (s *SSHClient) SetHostName(hostName string) (err error)
- func (s *SSHClient) SetSshUserName(sshUserName string) (err error)
- type SSHPublicKey
- func (k *SSHPublicKey) Equals(other *SSHPublicKey) (isEqual bool)
- func (k *SSHPublicKey) GetAsPublicKeyLine() (publicKeyLine string, err error)
- func (k *SSHPublicKey) GetKeyHostName() (hostName string, err error)
- func (s *SSHPublicKey) GetKeyMaterial() (keyMaterial string, err error)
- func (k *SSHPublicKey) GetKeyMaterialAsString() (keyMaterial string, err error)
- func (k *SSHPublicKey) GetKeyUserAtHost() (userAtHost string, err error)
- func (s *SSHPublicKey) GetKeyUserHost() (keyUserHost string, err error)
- func (k *SSHPublicKey) GetKeyUserName() (keyUserName string, err error)
- func (k *SSHPublicKey) LoadFromSshDir(sshDirectory files.Directory, verbose bool) (err error)
- func (s *SSHPublicKey) MustGetAsPublicKeyLine() (publicKeyLine string)
- func (k *SSHPublicKey) MustGetKeyHostName() (hostName string)
- func (s *SSHPublicKey) MustGetKeyMaterial() (keyMaterial string)
- func (k *SSHPublicKey) MustGetKeyMaterialAsString() (keyMaterial string)
- func (s *SSHPublicKey) MustGetKeyUserAtHost() (userAtHost string)
- func (s *SSHPublicKey) MustGetKeyUserHost() (keyUserHost string)
- func (k *SSHPublicKey) MustGetKeyUserName() (keyUserName string)
- func (s *SSHPublicKey) MustLoadFromSshDir(sshDirectory files.Directory, verbose bool)
- func (k *SSHPublicKey) MustSetFromString(keyMaterial string)
- func (s *SSHPublicKey) MustSetKeyMaterial(keyMaterial string)
- func (s *SSHPublicKey) MustSetKeyUserHost(keyUserHost string)
- func (s *SSHPublicKey) MustSetKeyUserName(keyUserName string)
- func (s *SSHPublicKey) MustWriteToFile(outputFile files.File, verbose bool)
- func (k *SSHPublicKey) SetFromString(keyMaterial string) (err error)
- func (s *SSHPublicKey) SetKeyMaterial(keyMaterial string) (err error)
- func (s *SSHPublicKey) SetKeyUserHost(keyUserHost string) (err error)
- func (s *SSHPublicKey) SetKeyUserName(keyUserName string) (err error)
- func (k *SSHPublicKey) WriteToFile(outputFile files.File, verbose bool) (err error)
- type SSHPublicKeysService
- type SpreadSheet
- func (s *SpreadSheet) AddRow(rowEntries []string) (err error)
- func (s *SpreadSheet) GetCellValueAsString(rowIndex int, columnIndex int) (cellValue string, err error)
- func (s *SpreadSheet) GetColumnIndexByName(columnName string) (columnIndex int, err error)
- func (s *SpreadSheet) GetColumnTitleAtIndexAsString(index int) (title string, err error)
- func (s *SpreadSheet) GetColumnTitlesAsStringSlice() (titles []string, err error)
- func (s *SpreadSheet) GetMaxColumnWidths() (columnWitdhs []int, err error)
- func (s *SpreadSheet) GetMinColumnWithsAsSelectedInOptions(options *SpreadSheetRenderOptions) (columnWidths []int, err error)
- func (s *SpreadSheet) GetNumberOfColumns() (nColumns int, err error)
- func (s *SpreadSheet) GetNumberOfRows() (nRows int, err error)
- func (s *SpreadSheet) GetRowByIndex(rowIndex int) (row *SpreadSheetRow, err error)
- func (s *SpreadSheet) GetRows() (rows []*SpreadSheetRow, err error)
- func (s *SpreadSheet) GetTitleRow() (TitleRow *SpreadSheetRow, err error)
- func (s *SpreadSheet) MustAddRow(rowEntries []string)
- func (s *SpreadSheet) MustGetCellValueAsString(rowIndex int, columnIndex int) (cellValue string)
- func (s *SpreadSheet) MustGetColumnIndexByName(columnName string) (columnIndex int)
- func (s *SpreadSheet) MustGetColumnTitleAtIndexAsString(index int) (title string)
- func (s *SpreadSheet) MustGetColumnTitlesAsStringSlice() (titles []string)
- func (s *SpreadSheet) MustGetMaxColumnWidths() (columnWitdhs []int)
- func (s *SpreadSheet) MustGetMinColumnWithsAsSelectedInOptions(options *SpreadSheetRenderOptions) (columnWidths []int)
- func (s *SpreadSheet) MustGetNumberOfColumns() (nColumns int)
- func (s *SpreadSheet) MustGetNumberOfRows() (nRows int)
- func (s *SpreadSheet) MustGetRowByIndex(rowIndex int) (row *SpreadSheetRow)
- func (s *SpreadSheet) MustGetRows() (rows []*SpreadSheetRow)
- func (s *SpreadSheet) MustGetTitleRow() (TitleRow *SpreadSheetRow)
- func (s *SpreadSheet) MustPrintAsString(options *SpreadSheetRenderOptions)
- func (s *SpreadSheet) MustRemoveColumnByIndex(columnIndex int)
- func (s *SpreadSheet) MustRemoveColumnByName(columnName string)
- func (s *SpreadSheet) MustRenderAsString(options *SpreadSheetRenderOptions) (rendered string)
- func (s *SpreadSheet) MustRenderTitleRowAsString(options *SpreadSheetRenderRowOptions) (rendered string)
- func (s *SpreadSheet) MustRenderToStdout(options *SpreadSheetRenderOptions)
- func (s *SpreadSheet) MustSetColumnTitles(titles []string)
- func (s *SpreadSheet) MustSetRows(rows []*SpreadSheetRow)
- func (s *SpreadSheet) MustSetTitleRow(TitleRow *SpreadSheetRow)
- func (s *SpreadSheet) MustSortByColumnByName(columnName string)
- func (s *SpreadSheet) PrintAsString(options *SpreadSheetRenderOptions) (err error)
- func (s *SpreadSheet) RemoveColumnByIndex(columnIndex int) (err error)
- func (s *SpreadSheet) RemoveColumnByName(columnName string) (err error)
- func (s *SpreadSheet) RenderAsString(options *SpreadSheetRenderOptions) (rendered string, err error)
- func (s *SpreadSheet) RenderTitleRowAsString(options *SpreadSheetRenderRowOptions) (rendered string, err error)
- func (s *SpreadSheet) RenderToStdout(options *SpreadSheetRenderOptions) (err error)
- func (s *SpreadSheet) SetColumnTitles(titles []string) (err error)
- func (s *SpreadSheet) SetRows(rows []*SpreadSheetRow) (err error)
- func (s *SpreadSheet) SetTitleRow(TitleRow *SpreadSheetRow) (err error)
- func (s *SpreadSheet) SortByColumnByName(columnName string) (err error)
- type SpreadSheetRenderOptions
- func (s *SpreadSheetRenderOptions) GetSameColumnWidthForAllRows() (sameColumnWidthForAllRows bool, err error)
- func (s *SpreadSheetRenderOptions) GetSkipTitle() (skipTitle bool, err error)
- func (s *SpreadSheetRenderOptions) GetStringDelimiter() (stringDelimiter string, err error)
- func (s *SpreadSheetRenderOptions) GetVerbose() (verbose bool, err error)
- func (s *SpreadSheetRenderOptions) MustGetSameColumnWidthForAllRows() (sameColumnWidthForAllRows bool)
- func (s *SpreadSheetRenderOptions) MustGetSkipTitle() (skipTitle bool)
- func (s *SpreadSheetRenderOptions) MustGetStringDelimiter() (stringDelimiter string)
- func (s *SpreadSheetRenderOptions) MustGetVerbose() (verbose bool)
- func (s *SpreadSheetRenderOptions) MustSetSameColumnWidthForAllRows(sameColumnWidthForAllRows bool)
- func (s *SpreadSheetRenderOptions) MustSetSkipTitle(skipTitle bool)
- func (s *SpreadSheetRenderOptions) MustSetStringDelimiter(stringDelimiter string)
- func (s *SpreadSheetRenderOptions) MustSetVerbose(verbose bool)
- func (s *SpreadSheetRenderOptions) SetSameColumnWidthForAllRows(sameColumnWidthForAllRows bool) (err error)
- func (s *SpreadSheetRenderOptions) SetSkipTitle(skipTitle bool) (err error)
- func (s *SpreadSheetRenderOptions) SetStringDelimiter(stringDelimiter string) (err error)
- func (s *SpreadSheetRenderOptions) SetVerbose(verbose bool) (err error)
- type SpreadSheetRenderRowOptions
- func (s *SpreadSheetRenderRowOptions) GetMinColumnWidths() (minColumnWidths []int, err error)
- func (s *SpreadSheetRenderRowOptions) GetStringDelimiter() (stringDelimiter string, err error)
- func (s *SpreadSheetRenderRowOptions) GetVerbose() (verbose bool, err error)
- func (s *SpreadSheetRenderRowOptions) IsMinColumnWidthsSet() (isSet bool)
- func (s *SpreadSheetRenderRowOptions) IsStringDelimiterSet() (isSet bool)
- func (s *SpreadSheetRenderRowOptions) MustGetMinColumnWidths() (minColumnWidths []int)
- func (s *SpreadSheetRenderRowOptions) MustGetStringDelimiter() (stringDelimiter string)
- func (s *SpreadSheetRenderRowOptions) MustGetVerbose() (verbose bool)
- func (s *SpreadSheetRenderRowOptions) MustSetMinColumnWidths(minColumnWidths []int)
- func (s *SpreadSheetRenderRowOptions) MustSetStringDelimiter(stringDelimiter string)
- func (s *SpreadSheetRenderRowOptions) MustSetVerbose(verbose bool)
- func (s *SpreadSheetRenderRowOptions) SetMinColumnWidths(minColumnWidths []int) (err error)
- func (s *SpreadSheetRenderRowOptions) SetStringDelimiter(stringDelimiter string) (err error)
- func (s *SpreadSheetRenderRowOptions) SetVerbose(verbose bool) (err error)
- type SpreadSheetRow
- func (s *SpreadSheetRow) GetColumnValueAsString(columnIndex int) (columnValue string, err error)
- func (s *SpreadSheetRow) GetColumnWidths() (columnWidths []int, err error)
- func (s *SpreadSheetRow) GetEntries() (entries []string, err error)
- func (s *SpreadSheetRow) GetNumberOfEntries() (nEntries int, err error)
- func (s *SpreadSheetRow) MustGetColumnValueAsString(columnIndex int) (columnValue string)
- func (s *SpreadSheetRow) MustGetColumnWidths() (columnWidths []int)
- func (s *SpreadSheetRow) MustGetEntries() (entries []string)
- func (s *SpreadSheetRow) MustGetNumberOfEntries() (nEntries int)
- func (s *SpreadSheetRow) MustRemoveElementAtIndex(index int)
- func (s *SpreadSheetRow) MustRenderAsString(options *SpreadSheetRenderRowOptions) (rendered string)
- func (s *SpreadSheetRow) MustSetEntries(entries []string)
- func (s *SpreadSheetRow) RemoveElementAtIndex(index int) (err error)
- func (s *SpreadSheetRow) RenderAsString(options *SpreadSheetRenderRowOptions) (rendered string, err error)
- func (s *SpreadSheetRow) SetEntries(entries []string) (err error)
- type TarArchivesService
- func (t *TarArchivesService) AddFileFromFileContentBytesToTarArchiveBytes(archiveToExtend []byte, fileName string, content []byte) (tarBytes []byte, err error)
- func (t *TarArchivesService) AddFileFromFileContentStringToTarArchiveBytes(archiveToExtend []byte, fileName string, content string) (tarBytes []byte, err error)
- func (t *TarArchivesService) CreateTarArchiveFromFileContentByteIntoWriter(ioWriter io.Writer, fileName string, content []byte) (err error)
- func (t *TarArchivesService) CreateTarArchiveFromFileContentStringAndGetAsBytes(fileName string, content string) (tarBytes []byte, err error)
- func (t *TarArchivesService) CreateTarArchiveFromFileContentStringIntoWriter(fileName string, content string, ioWriter io.Writer) (err error)
- func (t *TarArchivesService) ListFileNamesFromTarArchiveBytes(archiveBytes []byte) (fileNames []string, err error)
- func (t *TarArchivesService) MustAddFileFromFileContentBytesToTarArchiveBytes(archiveToExtend []byte, fileName string, content []byte) (tarBytes []byte)
- func (t *TarArchivesService) MustAddFileFromFileContentStringToTarArchiveBytes(archiveToExtend []byte, fileName string, content string) (tarBytes []byte)
- func (t *TarArchivesService) MustCreateTarArchiveFromFileContentByteIntoWriter(fileName string, content []byte, ioWriter io.Writer)
- func (t *TarArchivesService) MustCreateTarArchiveFromFileContentStringAndGetAsBytes(fileName string, content string) (tarBytes []byte)
- func (t *TarArchivesService) MustCreateTarArchiveFromFileContentStringIntoWriter(fileName string, content string, ioWriter io.Writer)
- func (t *TarArchivesService) MustListFileNamesFromTarArchiveBytes(archiveBytes []byte) (fileNames []string)
- func (t *TarArchivesService) MustReadFileFromTarArchiveBytesAsBytes(archiveBytes []byte, fileNameToRead string) (content []byte)
- func (t *TarArchivesService) MustReadFileFromTarArchiveBytesAsString(archiveBytes []byte, fileNameToRead string) (content string)
- func (t *TarArchivesService) MustWriteFileContentBytesIntoWriter(ioWriter io.Writer, fileName string, content []byte)
- func (t *TarArchivesService) ReadFileFromTarArchiveBytesAsBytes(archiveBytes []byte, fileNameToRead string) (content []byte, err error)
- func (t *TarArchivesService) ReadFileFromTarArchiveBytesAsString(archiveBytes []byte, fileNameToRead string) (content string, err error)
- func (t *TarArchivesService) WriteFileContentBytesIntoWriter(ioWriter io.Writer, fileName string, content []byte) (err error)
- type TcpPortsService
- type TemporaryGitRepositoriesService
- func (t TemporaryGitRepositoriesService) CreateEmptyTemporaryGitRepository(createRepoOptions *parameteroptions.CreateRepositoryOptions) (temporaryGitRepository GitRepository, err error)
- func (g *TemporaryGitRepositoriesService) CreateTemporaryGitRepository(verbose bool) (temporaryGitRepository GitRepository, err error)
- func (g *TemporaryGitRepositoriesService) CreateTemporaryGitRepositoryAndAddDataFromDirectory(dataToAdd files.Directory, verbose bool) (temporaryRepository GitRepository, err error)
- func (t TemporaryGitRepositoriesService) MustCreateEmptyTemporaryGitRepository(createRepoOptions *parameteroptions.CreateRepositoryOptions) (temporaryGitRepository GitRepository)
- func (g TemporaryGitRepositoriesService) MustCreateTemporaryGitRepository(verbose bool) (temporaryGitRepository GitRepository)
- func (g *TemporaryGitRepositoriesService) MustCreateTemporaryGitRepositoryAndAddDataFromDirectory(dataToAdd files.Directory, verbose bool) (temporaryRepository GitRepository)
- type TicToc
- func (t *TicToc) GetTStart() (tStart *time.Time, err error)
- func (t *TicToc) GetTitle() (title string, err error)
- func (t *TicToc) GetTitleOrDefaultIfUnset() (title string)
- func (t *TicToc) MustGetTStart() (tStart *time.Time)
- func (t *TicToc) MustGetTitle() (title string)
- func (t *TicToc) MustSetTStart(tStart *time.Time)
- func (t *TicToc) MustSetTitle(title string)
- func (t *TicToc) MustToc(verbose bool) (elapsedTime *time.Duration)
- func (t *TicToc) SetTStart(tStart *time.Time) (err error)
- func (t *TicToc) SetTitle(title string) (err error)
- func (t *TicToc) Start(verbose bool)
- func (t *TicToc) Toc(verbose bool) (elapsedTime *time.Duration, err error)
- type UsersService
- func (u *UsersService) GetCurrentUserName(verbose bool) (currentUserName string, err error)
- func (u *UsersService) GetDirectoryInHomeDirectory(path ...string) (fileInUnsersHome files.Directory, err error)
- func (u *UsersService) GetFileInHomeDirectory(path ...string) (fileInUnsersHome files.File, err error)
- func (u *UsersService) GetFileInHomeDirectoryAsLocalFile(path ...string) (localFile *files.LocalFile, err error)
- func (u *UsersService) GetHomeDirectory() (homeDir files.Directory, err error)
- func (u *UsersService) GetHomeDirectoryAsString() (homeDirPath string, err error)
- func (u *UsersService) GetNativeUser() (nativeUser *user.User, err error)
- func (u *UsersService) IsRunningAsRoot(verbose bool) (isRunningAsRoot bool, err error)
- func (u *UsersService) MustGetCurrentUserName(verbose bool) (currentUserName string)
- func (u *UsersService) MustGetDirectoryInHomeDirectory(path ...string) (fileInUnsersHome files.Directory)
- func (u *UsersService) MustGetFileInHomeDirectory(path ...string) (fileInUnsersHome files.File)
- func (u *UsersService) MustGetFileInHomeDirectoryAsLocalFile(path ...string) (localFile *files.LocalFile)
- func (u *UsersService) MustGetHomeDirectory() (homeDir files.Directory)
- func (u *UsersService) MustGetHomeDirectoryAsString() (homeDirPath string)
- func (u *UsersService) MustGetNativeUser() (nativeUser *user.User)
- func (u *UsersService) MustIsRunningAsRoot(verbose bool) (isRunningAsRoot bool)
- func (u *UsersService) MustWhoAmI(verbose bool) (userName string)
- func (u *UsersService) WhoAmI(verbose bool) (userName string, err error)
- type Version
- type VersionDateVersion
- func (v VersionDateVersion) Equals(other Version) (isEqual bool)
- func (v VersionDateVersion) GetAsString() (version string, err error)
- func (v *VersionDateVersion) GetNextVersion(versionType string) (nextVersion Version, err error)
- func (v *VersionDateVersion) GetVersion() (version string, err error)
- func (v VersionDateVersion) IsNewerThan(other Version) (isNewerThan bool, err error)
- func (v VersionDateVersion) IsSemanticVersion() (isSemanticVersion bool)
- func (v VersionDateVersion) MustGetAsString() (version string)
- func (v *VersionDateVersion) MustGetNextVersion(versionType string) (nextVersion Version)
- func (v *VersionDateVersion) MustGetVersion() (version string)
- func (v *VersionDateVersion) MustIsNewerThan(other Version) (isNewerThan bool)
- func (v *VersionDateVersion) MustSetVersion(version string)
- func (v *VersionDateVersion) SetVersion(version string) (err error)
- type VersionSemanticVersion
- func (v *VersionSemanticVersion) Equals(other Version) (isEqual bool)
- func (v *VersionSemanticVersion) GetAsString() (versionString string, err error)
- func (v *VersionSemanticVersion) GetAsStringWithoutLeadingV() (versionString string, err error)
- func (v *VersionSemanticVersion) GetMajor() (major int, err error)
- func (v *VersionSemanticVersion) GetMajorMinorPatch() (major int, minor int, patch int, err error)
- func (v *VersionSemanticVersion) GetMinor() (minor int, err error)
- func (v *VersionSemanticVersion) GetNextVersion(versionType string) (nextVersion Version, err error)
- func (v *VersionSemanticVersion) GetPatch() (patch int, err error)
- func (v *VersionSemanticVersion) IsNewerThan(other Version) (isNewerThan bool, err error)
- func (v *VersionSemanticVersion) IsSemanticVersion() (isSemanticVersion bool)
- func (v *VersionSemanticVersion) MustGetAsString() (versionString string)
- func (v *VersionSemanticVersion) MustGetAsStringWithoutLeadingV() (versionString string)
- func (v *VersionSemanticVersion) MustGetMajor() (major int)
- func (v *VersionSemanticVersion) MustGetMajorMinorPatch() (major int, minor int, patch int)
- func (v *VersionSemanticVersion) MustGetMinor() (minor int)
- func (v *VersionSemanticVersion) MustGetNextVersion(versionType string) (nextVersion Version)
- func (v *VersionSemanticVersion) MustGetPatch() (patch int)
- func (v *VersionSemanticVersion) MustIsNewerThan(other Version) (isNewerThan bool)
- func (v *VersionSemanticVersion) MustSet(major int, minor int, patch int)
- func (v *VersionSemanticVersion) MustSetMajor(major int)
- func (v *VersionSemanticVersion) MustSetMajorMinorPatch(major int, minor int, patch int)
- func (v *VersionSemanticVersion) MustSetMinor(minor int)
- func (v *VersionSemanticVersion) MustSetPatch(patch int)
- func (v *VersionSemanticVersion) MustSetVersionByString(version string)
- func (v *VersionSemanticVersion) Set(major int, minor int, patch int) (err error)
- func (v *VersionSemanticVersion) SetMajor(major int) (err error)
- func (v *VersionSemanticVersion) SetMajorMinorPatch(major int, minor int, patch int) (err error)
- func (v *VersionSemanticVersion) SetMinor(minor int) (err error)
- func (v *VersionSemanticVersion) SetPatch(patch int) (err error)
- func (v *VersionSemanticVersion) SetVersionByString(version string) (err error)
- type VersionsService
- func (v *VersionsService) CheckDateVersionString(versionString string) (isVersionString bool, err error)
- func (v *VersionsService) GetLatestVersionFromSlice(versions []Version) (latestVersion Version, err error)
- func (v *VersionsService) GetNewDateVersion() (version Version, err error)
- func (v *VersionsService) GetNewDateVersionString() (versionString string, err error)
- func (v *VersionsService) GetNewVersionByString(versionString string) (version Version, err error)
- func (v *VersionsService) GetSoftwareVersionEnvVarName() (envVarName string)
- func (v *VersionsService) GetSoftwareVersionFromEnvVarOrEmptyStringIfUnset(verbose bool) (softwareVersion string)
- func (v *VersionsService) GetVersionStringsFromStringSlice(input []string) (versionStrings []string)
- func (v *VersionsService) GetVersionStringsFromVersionSlice(versions []Version) (versionStrings []string, err error)
- func (v *VersionsService) GetVersionsFromStringSlice(stringSlice []string) (versions []Version, err error)
- func (v *VersionsService) IsDateVersionString(versionString string) (isVersionString bool)
- func (v *VersionsService) IsSemanticVersionString(versionString string) (isSemanticVersionString bool)
- func (v *VersionsService) IsVersionString(versionString string) (isVersionString bool)
- func (v *VersionsService) MustCheckDateVersionString(versionString string) (isVersionString bool)
- func (v *VersionsService) MustGetLatestVersionFromSlice(versions []Version) (latestVersion Version)
- func (v *VersionsService) MustGetNewDateVersion() (version Version)
- func (v *VersionsService) MustGetNewDateVersionString() (versionString string)
- func (v *VersionsService) MustGetNewVersionByString(versionString string) (version Version)
- func (v *VersionsService) MustGetVersionStringsFromVersionSlice(versions []Version) (versionStrings []string)
- func (v *VersionsService) MustGetVersionsFromStringSlice(stringSlice []string) (versions []Version)
- func (v *VersionsService) MustReturnNewerVersion(v1 Version, v2 Version) (newerVersion Version)
- func (v *VersionsService) MustSortStringSlice(versionStrings []string) (sorted []string)
- func (v *VersionsService) MustSortVersionSlice(versions []Version) (sorted []Version)
- func (v *VersionsService) ReturnNewerVersion(v1 Version, v2 Version) (newerVersion Version, err error)
- func (v *VersionsService) SortStringSlice(versionStrings []string) (sorted []string, err error)
- func (v *VersionsService) SortVersionSlice(versions []Version) (sorted []Version, err error)
Constants ¶
const FALLBACK_SOFTWARE_NAME_UNDEFINED = "[default software name not defined]"
const SOFTWARE_NAME_UNDEFINED = "[software name not defined]"
Variables ¶
var ErrGitRepositoryDoesNotExist = errors.New("gitRepository does not exist")
var ErrGitRepositoryHeadNotFound = errors.New("gitRepository head not found")
var ErrGitlabGroupNotFoundError = errors.New("Gitlab group not found")
var ErrGitlabProjectNotFound = errors.New("Gitlab project not found")
var ErrGitlabReleaseNotFound = errors.New("gitlab release not found")
var ErrGitlabRepositoryFileDoesNotExist = errors.New("Gitlab repository file does not exist")
var ErrGitlabTagNotFound = errors.New("gitlab tag not found")
var ErrNoMergeRequestWithSourceAndTargetBranchFound = errors.New("no merge request with given source and target branch found")
var ErrNoMergeRequestWithTitleFound = errors.New("no merge request with given title found")
var ErrorPreCommitConfigFileContentLoad = errors.New("failed to load preCommitConfigFileContent")
Functions ¶
func GetDirectoryInHomeDirectory ¶ added in v0.72.0
func GetFileInHomeDirectory ¶ added in v0.72.0
func GetGitignoreDefaultBaseName ¶ added in v0.163.0
func GetGitignoreDefaultBaseName() (defaultBaseName string)
func GetGitlabCiYamlDefaultBaseName ¶ added in v0.176.0
func GetGitlabCiYamlDefaultBaseName() (defaultBaseName string)
func GetSoftwareNameString ¶ added in v0.31.0
func GetSoftwareNameString() (name string)
func GetSoftwareVersionString ¶ added in v0.31.0
func GetSoftwareVersionString() (version string)
func GitRepositoryDefaultCommitMessageForInitializeWithEmptyCommit ¶ added in v0.120.0
func GitRepositoryDefaultCommitMessageForInitializeWithEmptyCommit() (msg string)
func GitRepositryDefaultAuthorEmail ¶ added in v0.165.0
func GitRepositryDefaultAuthorEmail() (email string)
func GitRepositryDefaultAuthorName ¶ added in v0.165.0
func GitRepositryDefaultAuthorName() (name string)
func IsRunningAsRoot ¶ added in v0.63.0
func LogVersion ¶ added in v0.31.0
func LogVersion()
func MustGetDirectoryInHomeDirectory ¶ added in v0.72.0
func MustGetFileInHomeDirectory ¶ added in v0.72.0
func MustIsRunningAsRoot ¶ added in v0.63.0
func MustWhoAmI ¶ added in v0.63.0
Types ¶
type BinaryInfo ¶ added in v0.31.0
type BinaryInfo struct { }
func GetBinaryInfo ¶ added in v0.31.0
func GetBinaryInfo() (binaryInfo *BinaryInfo)
func NewBinaryInfo ¶ added in v0.31.0
func NewBinaryInfo() (b *BinaryInfo)
func (*BinaryInfo) GetGitHash ¶ added in v0.31.0
func (b *BinaryInfo) GetGitHash() (gitHash string, err error)
func (*BinaryInfo) GetGitHashOrErrorMessageOnError ¶ added in v0.31.0
func (b *BinaryInfo) GetGitHashOrErrorMessageOnError() (gitHash string)
func (*BinaryInfo) GetInfoString ¶ added in v0.31.0
func (b *BinaryInfo) GetInfoString() (infoString string)
func (*BinaryInfo) GetSoftwareName ¶ added in v0.31.0
func (b *BinaryInfo) GetSoftwareName() (softwareName string)
func (*BinaryInfo) GetSoftwareNameString ¶ added in v0.31.0
func (b *BinaryInfo) GetSoftwareNameString() (version string)
func (*BinaryInfo) GetSoftwareVersionString ¶ added in v0.31.0
func (b *BinaryInfo) GetSoftwareVersionString() (version string)
func (*BinaryInfo) IsFallbackSoftwareNameSet ¶ added in v0.31.0
func (b *BinaryInfo) IsFallbackSoftwareNameSet() (isSet bool)
func (*BinaryInfo) IsSoftwareNameSet ¶ added in v0.31.0
func (b *BinaryInfo) IsSoftwareNameSet() (isSet bool)
func (*BinaryInfo) LogInfo ¶ added in v0.31.0
func (b *BinaryInfo) LogInfo()
func (*BinaryInfo) MustGetGitHash ¶ added in v0.31.0
func (b *BinaryInfo) MustGetGitHash() (gitHash string)
func (*BinaryInfo) MustSetFallbackSoftwareName ¶ added in v0.31.0
func (b *BinaryInfo) MustSetFallbackSoftwareName(defaultName string)
func (*BinaryInfo) SetFallbackSoftwareName ¶ added in v0.31.0
func (b *BinaryInfo) SetFallbackSoftwareName(defaultName string) (err error)
type CommandExecutorGitRepository ¶ added in v0.120.0
type CommandExecutorGitRepository struct { files.CommandExecutorDirectory GitRepositoryBase }
This is the GitRepository implementation based on a CommandExecutor (e.g. Bash, SSH...). This means it's a wrapper around the "git" binary which needs to be available. While very inefficient this solution can manage git repository on remote hosts, inside containers... which makes it very flexible.
When dealing with locally available repositories it's recommended to use the LocalGitRepository implementation which uses go build in git functionality instead.
func GetCommandExecutorGitRepositoryByPath ¶ added in v0.122.0
func GetCommandExecutorGitRepositoryByPath(commandExecutor commandexecutor.CommandExecutor, path string) (gitRepo *CommandExecutorGitRepository, err error)
func GetCommandExecutorGitRepositoryFromDirectory ¶ added in v0.122.0
func GetCommandExecutorGitRepositoryFromDirectory(directory files.Directory) (c *CommandExecutorGitRepository, err error)
func GetLocalCommandExecutorGitRepositoryByDirectory ¶ added in v0.120.0
func GetLocalCommandExecutorGitRepositoryByDirectory(directory files.Directory) (gitRepo *CommandExecutorGitRepository, err error)
func GetLocalCommandExecutorGitRepositoryByPath ¶ added in v0.120.0
func GetLocalCommandExecutorGitRepositoryByPath(path string) (gitRepo *CommandExecutorGitRepository, err error)
func MustGetCommandExecutorGitRepositoryByPath ¶ added in v0.122.0
func MustGetCommandExecutorGitRepositoryByPath(commandExecutor commandexecutor.CommandExecutor, path string) (gitRepo *CommandExecutorGitRepository)
func MustGetCommandExecutorGitRepositoryFromDirectory ¶ added in v0.122.0
func MustGetCommandExecutorGitRepositoryFromDirectory(directory files.Directory) (c *CommandExecutorGitRepository)
func MustGetLocalCommandExecutorGitRepositoryByDirectory ¶ added in v0.120.0
func MustGetLocalCommandExecutorGitRepositoryByDirectory(directory files.Directory) (gitRepo *CommandExecutorGitRepository)
func MustGetLocalCommandExecutorGitRepositoryByPath ¶ added in v0.120.0
func MustGetLocalCommandExecutorGitRepositoryByPath(path string) (gitRepo *CommandExecutorGitRepository)
func MustNewCommandExecutorGitRepository ¶ added in v0.120.0
func MustNewCommandExecutorGitRepository(commandExecutor commandexecutor.CommandExecutor) (c *CommandExecutorGitRepository)
func NewCommandExecutorGitRepository ¶ added in v0.120.0
func NewCommandExecutorGitRepository(commandExecutor commandexecutor.CommandExecutor) (c *CommandExecutorGitRepository, err error)
func (*CommandExecutorGitRepository) AddFileByPath ¶ added in v0.124.0
func (c *CommandExecutorGitRepository) AddFileByPath(pathToAdd string, verbose bool) (err error)
func (*CommandExecutorGitRepository) AddRemote ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) AddRemote(remoteOptions *GitRemoteAddOptions) (err error)
func (*CommandExecutorGitRepository) CheckoutBranchByName ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) CheckoutBranchByName(name string, verbose bool) (err error)
func (*CommandExecutorGitRepository) CloneRepository ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) CloneRepository(repository GitRepository, verbose bool) (err error)
func (*CommandExecutorGitRepository) CloneRepositoryByPathOrUrl ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) CloneRepositoryByPathOrUrl(pathOrUrlToClone string, verbose bool) (err error)
func (*CommandExecutorGitRepository) Commit ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) Commit(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error)
func (*CommandExecutorGitRepository) CommitHasParentCommitByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) CommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool, err error)
func (*CommandExecutorGitRepository) CreateBranch ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) CreateBranch(createOptions *parameteroptions.CreateBranchOptions) (err error)
func (*CommandExecutorGitRepository) CreateTag ¶ added in v0.135.0
func (c *CommandExecutorGitRepository) CreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag, err error)
func (*CommandExecutorGitRepository) DeleteBranchByName ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) DeleteBranchByName(name string, verbose bool) (err error)
func (*CommandExecutorGitRepository) Fetch ¶ added in v0.167.0
func (c *CommandExecutorGitRepository) Fetch(verbose bool) (err error)
func (*CommandExecutorGitRepository) FileByPathExists ¶ added in v0.132.0
func (c *CommandExecutorGitRepository) FileByPathExists(path string, verbose bool) (exists bool, err error)
func (*CommandExecutorGitRepository) GetAsLocalDirectory ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetAsLocalDirectory() (l *files.LocalDirectory, err error)
This function was only added to fulfil the current interface. On the long run this method has to be removed.
func (*CommandExecutorGitRepository) GetAsLocalGitRepository ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetAsLocalGitRepository() (l *LocalGitRepository, err error)
This function was only added to fulfil the current interface. On the long run this method has to be removed.
func (*CommandExecutorGitRepository) GetAuthorEmailByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetAuthorEmailByCommitHash(hash string) (authorEmail string, err error)
func (*CommandExecutorGitRepository) GetAuthorStringByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetAuthorStringByCommitHash(hash string) (authorEmail string, err error)
func (*CommandExecutorGitRepository) GetCommitAgeDurationByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration, err error)
func (*CommandExecutorGitRepository) GetCommitAgeSecondsByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64, err error)
func (*CommandExecutorGitRepository) GetCommitByHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetCommitByHash(hash string) (gitCommit *GitCommit, err error)
func (*CommandExecutorGitRepository) GetCommitMessageByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetCommitMessageByCommitHash(hash string) (commitMessage string, err error)
func (*CommandExecutorGitRepository) GetCommitParentsByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit, err error)
func (*CommandExecutorGitRepository) GetCommitTimeByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetCommitTimeByCommitHash(hash string) (commitTime *time.Time, err error)
func (*CommandExecutorGitRepository) GetCurrentBranchName ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) GetCurrentBranchName(verbose bool) (branchName string, err error)
func (*CommandExecutorGitRepository) GetCurrentCommit ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetCurrentCommit(verbose bool) (currentCommit *GitCommit, err error)
func (*CommandExecutorGitRepository) GetCurrentCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetCurrentCommitHash(verbose bool) (currentCommitHash string, err error)
func (*CommandExecutorGitRepository) GetDirectoryByPath ¶ added in v0.178.0
func (c *CommandExecutorGitRepository) GetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory, err error)
func (*CommandExecutorGitRepository) GetGitStatusOutput ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) GetGitStatusOutput(verbose bool) (output string, err error)
func (*CommandExecutorGitRepository) GetHashByTagName ¶ added in v0.142.0
func (c *CommandExecutorGitRepository) GetHashByTagName(tagName string) (hash string, err error)
func (*CommandExecutorGitRepository) GetRemoteConfigs ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) GetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig, err error)
func (*CommandExecutorGitRepository) GetRootDirectory ¶ added in v0.129.0
func (c *CommandExecutorGitRepository) GetRootDirectory(verbose bool) (rootDirectory files.Directory, err error)
func (*CommandExecutorGitRepository) GetRootDirectoryPath ¶ added in v0.122.0
func (c *CommandExecutorGitRepository) GetRootDirectoryPath(verbose bool) (rootDirectoryPath string, err error)
func (*CommandExecutorGitRepository) GetTagByName ¶ added in v0.135.0
func (c *CommandExecutorGitRepository) GetTagByName(name string) (tag GitTag, err error)
func (*CommandExecutorGitRepository) HasInitialCommit ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) HasInitialCommit(verbose bool) (hasInitialCommit bool, err error)
func (*CommandExecutorGitRepository) HasUncommittedChanges ¶ added in v0.121.0
func (c *CommandExecutorGitRepository) HasUncommittedChanges(verbose bool) (hasUncommitedChanges bool, err error)
func (*CommandExecutorGitRepository) Init ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) Init(options *parameteroptions.CreateRepositoryOptions) (err error)
func (*CommandExecutorGitRepository) IsBareRepository ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) IsBareRepository(verbose bool) (isBare bool, err error)
func (*CommandExecutorGitRepository) IsGitRepository ¶ added in v0.126.0
func (c *CommandExecutorGitRepository) IsGitRepository(verbose bool) (isRepository bool, err error)
func (*CommandExecutorGitRepository) IsInitialized ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) IsInitialized(verbose bool) (isInitialited bool, err error)
func (*CommandExecutorGitRepository) ListBranchNames ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) ListBranchNames(verbose bool) (branchNames []string, err error)
func (*CommandExecutorGitRepository) ListTagNames ¶ added in v0.135.0
func (c *CommandExecutorGitRepository) ListTagNames(verbose bool) (tagNames []string, err error)
func (*CommandExecutorGitRepository) ListTags ¶ added in v0.138.0
func (c *CommandExecutorGitRepository) ListTags(verbose bool) (tags []GitTag, err error)
func (*CommandExecutorGitRepository) ListTagsForCommitHash ¶ added in v0.142.0
func (c *CommandExecutorGitRepository) ListTagsForCommitHash(hash string, verbose bool) (tags []GitTag, err error)
func (*CommandExecutorGitRepository) MustAddFileByPath ¶ added in v0.124.0
func (c *CommandExecutorGitRepository) MustAddFileByPath(pathToAdd string, verbose bool)
func (*CommandExecutorGitRepository) MustAddRemote ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) MustAddRemote(remoteOptions *GitRemoteAddOptions)
func (*CommandExecutorGitRepository) MustCheckoutBranchByName ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) MustCheckoutBranchByName(name string, verbose bool)
func (*CommandExecutorGitRepository) MustCloneRepository ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) MustCloneRepository(repository GitRepository, verbose bool)
func (*CommandExecutorGitRepository) MustCloneRepositoryByPathOrUrl ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) MustCloneRepositoryByPathOrUrl(pathOrUrlToClone string, verbose bool)
func (*CommandExecutorGitRepository) MustCommit ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustCommit(commitOptions *GitCommitOptions) (createdCommit *GitCommit)
func (*CommandExecutorGitRepository) MustCommitHasParentCommitByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustCommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool)
func (*CommandExecutorGitRepository) MustCreateBranch ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) MustCreateBranch(createOptions *parameteroptions.CreateBranchOptions)
func (*CommandExecutorGitRepository) MustCreateTag ¶ added in v0.135.0
func (c *CommandExecutorGitRepository) MustCreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag)
func (*CommandExecutorGitRepository) MustDeleteBranchByName ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) MustDeleteBranchByName(name string, verbose bool)
func (*CommandExecutorGitRepository) MustFetch ¶ added in v0.167.0
func (c *CommandExecutorGitRepository) MustFetch(verbose bool)
func (*CommandExecutorGitRepository) MustFileByPathExists ¶ added in v0.132.0
func (c *CommandExecutorGitRepository) MustFileByPathExists(path string, verbose bool) (exists bool)
func (*CommandExecutorGitRepository) MustGetAsLocalDirectory ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetAsLocalDirectory() (l *files.LocalDirectory)
func (*CommandExecutorGitRepository) MustGetAsLocalGitRepository ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetAsLocalGitRepository() (l *LocalGitRepository)
func (*CommandExecutorGitRepository) MustGetAuthorEmailByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetAuthorEmailByCommitHash(hash string) (authorEmail string)
func (*CommandExecutorGitRepository) MustGetAuthorStringByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetAuthorStringByCommitHash(hash string) (authorEmail string)
func (*CommandExecutorGitRepository) MustGetCommitAgeDurationByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration)
func (*CommandExecutorGitRepository) MustGetCommitAgeSecondsByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64)
func (*CommandExecutorGitRepository) MustGetCommitByHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetCommitByHash(hash string) (gitCommit *GitCommit)
func (*CommandExecutorGitRepository) MustGetCommitMessageByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetCommitMessageByCommitHash(hash string) (commitMessage string)
func (*CommandExecutorGitRepository) MustGetCommitParentsByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit)
func (*CommandExecutorGitRepository) MustGetCommitTimeByCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetCommitTimeByCommitHash(hash string) (commitTime *time.Time)
func (*CommandExecutorGitRepository) MustGetCurrentBranchName ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) MustGetCurrentBranchName(verbose bool) (branchName string)
func (*CommandExecutorGitRepository) MustGetCurrentCommit ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetCurrentCommit(verbose bool) (currentCommit *GitCommit)
func (*CommandExecutorGitRepository) MustGetCurrentCommitHash ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetCurrentCommitHash(verbose bool) (currentCommitHash string)
func (*CommandExecutorGitRepository) MustGetDirectoryByPath ¶ added in v0.178.0
func (c *CommandExecutorGitRepository) MustGetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory)
func (*CommandExecutorGitRepository) MustGetGitStatusOutput ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustGetGitStatusOutput(verbose bool) (output string)
func (*CommandExecutorGitRepository) MustGetHashByTagName ¶ added in v0.142.0
func (c *CommandExecutorGitRepository) MustGetHashByTagName(tagName string) (hash string)
func (*CommandExecutorGitRepository) MustGetRemoteConfigs ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) MustGetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig)
func (*CommandExecutorGitRepository) MustGetRootDirectory ¶ added in v0.129.0
func (c *CommandExecutorGitRepository) MustGetRootDirectory(verbose bool) (rootDirectory files.Directory)
func (*CommandExecutorGitRepository) MustGetRootDirectoryPath ¶ added in v0.122.0
func (c *CommandExecutorGitRepository) MustGetRootDirectoryPath(verbose bool) (rootDirectoryPath string)
func (*CommandExecutorGitRepository) MustGetTagByName ¶ added in v0.135.0
func (c *CommandExecutorGitRepository) MustGetTagByName(name string) (tag GitTag)
func (*CommandExecutorGitRepository) MustHasInitialCommit ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustHasInitialCommit(verbose bool) (hasInitialCommit bool)
func (*CommandExecutorGitRepository) MustHasUncommittedChanges ¶ added in v0.121.0
func (c *CommandExecutorGitRepository) MustHasUncommittedChanges(verbose bool) (hasUncommitedChanges bool)
func (*CommandExecutorGitRepository) MustInit ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustInit(options *parameteroptions.CreateRepositoryOptions)
func (*CommandExecutorGitRepository) MustIsBareRepository ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustIsBareRepository(verbose bool) (isBare bool)
func (*CommandExecutorGitRepository) MustIsGitRepository ¶ added in v0.126.0
func (c *CommandExecutorGitRepository) MustIsGitRepository(verbose bool) (isRepository bool)
func (*CommandExecutorGitRepository) MustIsInitialized ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustIsInitialized(verbose bool) (isInitialited bool)
func (*CommandExecutorGitRepository) MustListBranchNames ¶ added in v0.166.0
func (c *CommandExecutorGitRepository) MustListBranchNames(verbose bool) (branchNames []string)
func (*CommandExecutorGitRepository) MustListTagNames ¶ added in v0.135.0
func (c *CommandExecutorGitRepository) MustListTagNames(verbose bool) (tagNames []string)
func (*CommandExecutorGitRepository) MustListTags ¶ added in v0.138.0
func (c *CommandExecutorGitRepository) MustListTags(verbose bool) (tags []GitTag)
func (*CommandExecutorGitRepository) MustListTagsForCommitHash ¶ added in v0.142.0
func (c *CommandExecutorGitRepository) MustListTagsForCommitHash(hash string, verbose bool) (tags []GitTag)
func (*CommandExecutorGitRepository) MustPull ¶ added in v0.125.0
func (c *CommandExecutorGitRepository) MustPull(verbose bool)
func (*CommandExecutorGitRepository) MustPullFromRemote ¶ added in v0.174.0
func (c *CommandExecutorGitRepository) MustPullFromRemote(pullOptions *GitPullFromRemoteOptions)
func (*CommandExecutorGitRepository) MustPush ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) MustPush(verbose bool)
func (*CommandExecutorGitRepository) MustPushTagsToRemote ¶ added in v0.175.0
func (c *CommandExecutorGitRepository) MustPushTagsToRemote(remoteName string, verbose bool)
func (*CommandExecutorGitRepository) MustPushToRemote ¶ added in v0.173.0
func (c *CommandExecutorGitRepository) MustPushToRemote(remoteName string, verbose bool)
func (*CommandExecutorGitRepository) MustRemoteByNameExists ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) MustRemoteByNameExists(remoteName string, verbose bool) (remoteExists bool)
func (*CommandExecutorGitRepository) MustRemoteConfigurationExists ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) MustRemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool)
func (*CommandExecutorGitRepository) MustRemoveRemoteByName ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) MustRemoveRemoteByName(remoteNameToRemove string, verbose bool)
func (*CommandExecutorGitRepository) MustRunGitCommand ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustRunGitCommand(gitCommand []string, verbose bool) (commandOutput *commandexecutor.CommandOutput)
func (*CommandExecutorGitRepository) MustRunGitCommandAndGetStdoutAsLines ¶ added in v0.135.0
func (c *CommandExecutorGitRepository) MustRunGitCommandAndGetStdoutAsLines(command []string, verbose bool) (lines []string)
func (*CommandExecutorGitRepository) MustRunGitCommandAndGetStdoutAsString ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) MustRunGitCommandAndGetStdoutAsString(command []string, verbose bool) (stdout string)
func (*CommandExecutorGitRepository) MustSetDefaultAuthor ¶ added in v0.125.0
func (c *CommandExecutorGitRepository) MustSetDefaultAuthor(verbose bool)
func (*CommandExecutorGitRepository) MustSetGitConfig ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) MustSetGitConfig(options *GitConfigSetOptions)
func (*CommandExecutorGitRepository) MustSetRemoteUrl ¶ added in v0.172.0
func (c *CommandExecutorGitRepository) MustSetRemoteUrl(remoteUrl string, verbose bool)
func (*CommandExecutorGitRepository) MustSetUserEmail ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) MustSetUserEmail(email string, verbose bool)
func (*CommandExecutorGitRepository) MustSetUserName ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) MustSetUserName(name string, verbose bool)
func (*CommandExecutorGitRepository) Pull ¶ added in v0.125.0
func (c *CommandExecutorGitRepository) Pull(verbose bool) (err error)
func (*CommandExecutorGitRepository) PullFromRemote ¶ added in v0.174.0
func (c *CommandExecutorGitRepository) PullFromRemote(pullOptions *GitPullFromRemoteOptions) (err error)
func (*CommandExecutorGitRepository) Push ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) Push(verbose bool) (err error)
func (*CommandExecutorGitRepository) PushTagsToRemote ¶ added in v0.175.0
func (c *CommandExecutorGitRepository) PushTagsToRemote(remoteName string, verbose bool) (err error)
func (*CommandExecutorGitRepository) PushToRemote ¶ added in v0.173.0
func (c *CommandExecutorGitRepository) PushToRemote(remoteName string, verbose bool) (err error)
func (*CommandExecutorGitRepository) RemoteByNameExists ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) RemoteByNameExists(remoteName string, verbose bool) (remoteExists bool, err error)
func (*CommandExecutorGitRepository) RemoteConfigurationExists ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) RemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool, err error)
func (*CommandExecutorGitRepository) RemoveRemoteByName ¶ added in v0.171.0
func (c *CommandExecutorGitRepository) RemoveRemoteByName(remoteNameToRemove string, verbose bool) (err error)
func (*CommandExecutorGitRepository) RunGitCommand ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) RunGitCommand(gitCommand []string, verbose bool) (commandOutput *commandexecutor.CommandOutput, err error)
func (*CommandExecutorGitRepository) RunGitCommandAndGetStdoutAsLines ¶ added in v0.135.0
func (c *CommandExecutorGitRepository) RunGitCommandAndGetStdoutAsLines(command []string, verbose bool) (lines []string, err error)
func (*CommandExecutorGitRepository) RunGitCommandAndGetStdoutAsString ¶ added in v0.120.0
func (c *CommandExecutorGitRepository) RunGitCommandAndGetStdoutAsString(command []string, verbose bool) (stdout string, err error)
func (*CommandExecutorGitRepository) SetDefaultAuthor ¶ added in v0.125.0
func (c *CommandExecutorGitRepository) SetDefaultAuthor(verbose bool) (err error)
func (*CommandExecutorGitRepository) SetGitConfig ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) SetGitConfig(options *GitConfigSetOptions) (err error)
func (*CommandExecutorGitRepository) SetRemoteUrl ¶ added in v0.172.0
func (c *CommandExecutorGitRepository) SetRemoteUrl(remoteUrl string, verbose bool) (err error)
func (*CommandExecutorGitRepository) SetUserEmail ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) SetUserEmail(email string, verbose bool) (err error)
func (*CommandExecutorGitRepository) SetUserName ¶ added in v0.123.0
func (c *CommandExecutorGitRepository) SetUserName(name string, verbose bool) (err error)
type DependenciesSliceService ¶ added in v0.51.0
type DependenciesSliceService struct{}
func DependenciesSlice ¶ added in v0.51.0
func DependenciesSlice() (d *DependenciesSliceService)
func NewDependenciesSliceService ¶ added in v0.51.0
func NewDependenciesSliceService() (d *DependenciesSliceService)
func (*DependenciesSliceService) AddSourceFileForEveryEntry ¶ added in v0.51.0
func (d *DependenciesSliceService) AddSourceFileForEveryEntry(dependencies []Dependency, sourceFile files.File) (err error)
func (*DependenciesSliceService) GetDependencyNames ¶ added in v0.51.0
func (d *DependenciesSliceService) GetDependencyNames(dependencies []Dependency) (dependencyNames []string, err error)
func (*DependenciesSliceService) MustAddSourceFileForEveryEntry ¶ added in v0.51.0
func (d *DependenciesSliceService) MustAddSourceFileForEveryEntry(dependencies []Dependency, sourceFile files.File)
func (*DependenciesSliceService) MustGetDependencyNames ¶ added in v0.51.0
func (d *DependenciesSliceService) MustGetDependencyNames(dependencies []Dependency) (dependencyNames []string)
type Dependency ¶ added in v0.51.0
type Dependency interface { AddSourceFile(files.File) (err error) GetName() (name string, err error) GetNewestVersionAsString(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (newestVersion string, err error) IsUpdateAvailable(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (isUpdateAvailable bool, err error) Update(options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary, err error) }
A Dependency is used to implement software and other dependencies like container images...
type DependencyGitRepository ¶ added in v0.51.0
type DependencyGitRepository struct {
// contains filtered or unexported fields
}
Represents a dependency to (another) git repository.
func NewDependencyGitRepository ¶ added in v0.51.0
func NewDependencyGitRepository() (d *DependencyGitRepository)
func (*DependencyGitRepository) AddSourceFile ¶ added in v0.51.0
func (d *DependencyGitRepository) AddSourceFile(sourceFile files.File) (err error)
func (*DependencyGitRepository) GetName ¶ added in v0.51.0
func (d *DependencyGitRepository) GetName() (name string, err error)
func (*DependencyGitRepository) GetNewestVersion ¶ added in v0.51.0
func (d *DependencyGitRepository) GetNewestVersion(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (newestVersion Version, err error)
func (*DependencyGitRepository) GetNewestVersionAsString ¶ added in v0.51.0
func (d *DependencyGitRepository) GetNewestVersionAsString(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (newestVersionString string, err error)
func (*DependencyGitRepository) GetSourceFiles ¶ added in v0.51.0
func (d *DependencyGitRepository) GetSourceFiles() (sourceFiles []files.File, err error)
func (*DependencyGitRepository) GetTargetVersion ¶ added in v0.51.0
func (d *DependencyGitRepository) GetTargetVersion() (targetVersion Version, err error)
func (*DependencyGitRepository) GetTargetVersionString ¶ added in v0.51.0
func (d *DependencyGitRepository) GetTargetVersionString() (targetVersionString string, err error)
func (*DependencyGitRepository) GetUrl ¶ added in v0.51.0
func (d *DependencyGitRepository) GetUrl() (url string, err error)
func (*DependencyGitRepository) GetVersion ¶ added in v0.51.0
func (d *DependencyGitRepository) GetVersion() (version Version, err error)
func (*DependencyGitRepository) GetVersionString ¶ added in v0.51.0
func (d *DependencyGitRepository) GetVersionString() (versionString string, err error)
func (*DependencyGitRepository) IsAtLeastOneSourceFileSet ¶ added in v0.51.0
func (d *DependencyGitRepository) IsAtLeastOneSourceFileSet() (isSet bool)
func (*DependencyGitRepository) IsTargetVersionSet ¶ added in v0.51.0
func (d *DependencyGitRepository) IsTargetVersionSet() (isSet bool)
func (*DependencyGitRepository) IsUpdateAvailable ¶ added in v0.51.0
func (d *DependencyGitRepository) IsUpdateAvailable(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (isUpdateAvailable bool, err error)
func (*DependencyGitRepository) IsVersionStringUnset ¶ added in v0.51.0
func (d *DependencyGitRepository) IsVersionStringUnset() (isUnset bool)
func (*DependencyGitRepository) MustAddSourceFile ¶ added in v0.51.0
func (d *DependencyGitRepository) MustAddSourceFile(sourceFile files.File)
func (*DependencyGitRepository) MustGetName ¶ added in v0.51.0
func (d *DependencyGitRepository) MustGetName() (name string)
func (*DependencyGitRepository) MustGetNewestVersion ¶ added in v0.51.0
func (d *DependencyGitRepository) MustGetNewestVersion(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (newestVersion Version)
func (*DependencyGitRepository) MustGetNewestVersionAsString ¶ added in v0.51.0
func (d *DependencyGitRepository) MustGetNewestVersionAsString(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (newestVersion string)
func (*DependencyGitRepository) MustGetSourceFiles ¶ added in v0.51.0
func (d *DependencyGitRepository) MustGetSourceFiles() (sourceFiles []files.File)
func (*DependencyGitRepository) MustGetTargetVersion ¶ added in v0.51.0
func (d *DependencyGitRepository) MustGetTargetVersion() (targeVersion Version)
func (*DependencyGitRepository) MustGetTargetVersionString ¶ added in v0.51.0
func (d *DependencyGitRepository) MustGetTargetVersionString() (targetVersionString string)
func (*DependencyGitRepository) MustGetUrl ¶ added in v0.51.0
func (d *DependencyGitRepository) MustGetUrl() (url string)
func (*DependencyGitRepository) MustGetVersion ¶ added in v0.51.0
func (d *DependencyGitRepository) MustGetVersion() (version Version)
func (*DependencyGitRepository) MustGetVersionString ¶ added in v0.51.0
func (d *DependencyGitRepository) MustGetVersionString() (versionString string)
func (*DependencyGitRepository) MustIsUpdateAvailable ¶ added in v0.51.0
func (d *DependencyGitRepository) MustIsUpdateAvailable(authOptions []authenticationoptions.AuthenticationOption, verbose bool) (isUpdateAvailable bool)
func (*DependencyGitRepository) MustSetSourceFiles ¶ added in v0.51.0
func (d *DependencyGitRepository) MustSetSourceFiles(sourceFiles []files.File)
func (*DependencyGitRepository) MustSetTargetVersionString ¶ added in v0.51.0
func (d *DependencyGitRepository) MustSetTargetVersionString(targetVersionString string)
func (*DependencyGitRepository) MustSetUrl ¶ added in v0.51.0
func (d *DependencyGitRepository) MustSetUrl(url string)
func (*DependencyGitRepository) MustSetVersionString ¶ added in v0.51.0
func (d *DependencyGitRepository) MustSetVersionString(versionString string)
func (*DependencyGitRepository) MustUpdate ¶ added in v0.51.0
func (d *DependencyGitRepository) MustUpdate(options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary)
func (*DependencyGitRepository) MustUpdateVersionByStringInSourceFile ¶ added in v0.51.0
func (d *DependencyGitRepository) MustUpdateVersionByStringInSourceFile(version string, sourceFile files.File, options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary)
func (*DependencyGitRepository) SetSourceFiles ¶ added in v0.51.0
func (d *DependencyGitRepository) SetSourceFiles(sourceFiles []files.File) (err error)
func (*DependencyGitRepository) SetTargetVersionString ¶ added in v0.51.0
func (d *DependencyGitRepository) SetTargetVersionString(targetVersionString string) (err error)
func (*DependencyGitRepository) SetUrl ¶ added in v0.51.0
func (d *DependencyGitRepository) SetUrl(url string) (err error)
func (*DependencyGitRepository) SetVersionString ¶ added in v0.51.0
func (d *DependencyGitRepository) SetVersionString(versionString string) (err error)
func (*DependencyGitRepository) Update ¶ added in v0.51.0
func (d *DependencyGitRepository) Update(options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary, err error)
func (*DependencyGitRepository) UpdateVersionByStringInSourceFile ¶ added in v0.51.0
func (d *DependencyGitRepository) UpdateVersionByStringInSourceFile(version string, sourceFile files.File, options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary, err error)
type DurationFormatterService ¶ added in v0.2.0
type DurationFormatterService struct { }
func DurationFormatter ¶ added in v0.2.0
func DurationFormatter() (d *DurationFormatterService)
func NewDurationFormatterService ¶ added in v0.2.0
func NewDurationFormatterService() (d *DurationFormatterService)
func (*DurationFormatterService) MustToString ¶ added in v0.2.0
func (d *DurationFormatterService) MustToString(duration *time.Duration) (durationString string)
type FTPService ¶ added in v0.48.0
type FTPService struct{}
func FTP ¶ added in v0.48.0
func FTP() (f *FTPService)
func NewFTPService ¶ added in v0.48.0
func NewFTPService() (f *FTPService)
func (*FTPService) GetDefaultPort ¶ added in v0.48.0
func (f *FTPService) GetDefaultPort() (defaultPort int)
type GitCommit ¶ added in v0.11.0
type GitCommit struct {
// contains filtered or unexported fields
}
func NewGitCommit ¶ added in v0.11.0
func NewGitCommit() (g *GitCommit)
func (*GitCommit) CreateTag ¶ added in v0.142.0
func (g *GitCommit) CreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag, err error)
func (*GitCommit) GetAgeSeconds ¶ added in v0.33.0
func (*GitCommit) GetAuthorEmail ¶ added in v0.33.0
func (*GitCommit) GetAuthorString ¶ added in v0.33.0
func (*GitCommit) GetCommitMessage ¶ added in v0.33.0
func (*GitCommit) GetGitRepo ¶ added in v0.11.0
func (g *GitCommit) GetGitRepo() (gitRepo GitRepository, err error)
func (*GitCommit) GetNewestTagVersion ¶ added in v0.144.0
func (*GitCommit) GetNewestTagVersionOrNilIfUnset ¶ added in v0.145.0
func (*GitCommit) GetParentCommits ¶ added in v0.34.0
func (g *GitCommit) GetParentCommits(options *parameteroptions.GitCommitGetParentsOptions) (parentCommit []*GitCommit, err error)
func (*GitCommit) GetRepoRootPathAndHostDescription ¶ added in v0.145.0
func (*GitCommit) HasParentCommit ¶ added in v0.34.0
func (*GitCommit) HasVersionTag ¶ added in v0.153.0
func (*GitCommit) ListTagNames ¶ added in v0.143.0
func (*GitCommit) ListVersionTagNames ¶ added in v0.143.0
func (*GitCommit) ListVersionTagVersions ¶ added in v0.144.0
func (*GitCommit) ListVersionTags ¶ added in v0.143.0
func (*GitCommit) MustCreateTag ¶ added in v0.142.0
func (g *GitCommit) MustCreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag)
func (*GitCommit) MustGetAgeSeconds ¶ added in v0.33.0
func (*GitCommit) MustGetAuthorEmail ¶ added in v0.33.0
func (*GitCommit) MustGetAuthorString ¶ added in v0.33.0
func (*GitCommit) MustGetCommitMessage ¶ added in v0.33.0
func (*GitCommit) MustGetGitRepo ¶ added in v0.11.0
func (g *GitCommit) MustGetGitRepo() (gitRepo GitRepository)
func (*GitCommit) MustGetHash ¶ added in v0.11.0
func (*GitCommit) MustGetNewestTagVersion ¶ added in v0.144.0
func (*GitCommit) MustGetNewestTagVersionOrNilIfUnset ¶ added in v0.145.0
func (*GitCommit) MustGetParentCommits ¶ added in v0.34.0
func (g *GitCommit) MustGetParentCommits(options *parameteroptions.GitCommitGetParentsOptions) (parentCommit []*GitCommit)
func (*GitCommit) MustGetRepoRootPathAndHostDescription ¶ added in v0.145.0
func (*GitCommit) MustHasParentCommit ¶ added in v0.34.0
func (*GitCommit) MustHasVersionTag ¶ added in v0.153.0
func (*GitCommit) MustListTagNames ¶ added in v0.143.0
func (*GitCommit) MustListTags ¶ added in v0.142.0
func (*GitCommit) MustListVersionTagNames ¶ added in v0.143.0
func (*GitCommit) MustListVersionTagVersions ¶ added in v0.144.0
func (*GitCommit) MustListVersionTags ¶ added in v0.143.0
func (*GitCommit) MustSetGitRepo ¶ added in v0.11.0
func (g *GitCommit) MustSetGitRepo(gitRepo GitRepository)
func (*GitCommit) MustSetHash ¶ added in v0.11.0
func (*GitCommit) SetGitRepo ¶ added in v0.11.0
func (g *GitCommit) SetGitRepo(gitRepo GitRepository) (err error)
type GitCommitOptions ¶ added in v0.11.0
type GitCommitOptions struct { // Message of the commit: Message string // Allow empty commit: AllowEmpty bool // Commit all changes, not only the added ones: CommitAllChanges bool // Enable verbose output Verbose bool }
func NewGitCommitOptions ¶ added in v0.11.0
func NewGitCommitOptions() (g *GitCommitOptions)
func (*GitCommitOptions) GetAllowEmpty ¶ added in v0.11.0
func (g *GitCommitOptions) GetAllowEmpty() (allowEmpty bool)
func (*GitCommitOptions) GetCommitAllChanges ¶ added in v0.170.0
func (g *GitCommitOptions) GetCommitAllChanges() (commitAllChanges bool)
func (*GitCommitOptions) GetDeepCopy ¶ added in v0.170.0
func (g *GitCommitOptions) GetDeepCopy() (deepCopy *GitCommitOptions)
func (*GitCommitOptions) GetMessage ¶ added in v0.11.0
func (g *GitCommitOptions) GetMessage() (message string, err error)
func (*GitCommitOptions) GetVerbose ¶ added in v0.11.0
func (g *GitCommitOptions) GetVerbose() (verbose bool)
func (*GitCommitOptions) MustGetMessage ¶ added in v0.11.0
func (g *GitCommitOptions) MustGetMessage() (message string)
func (*GitCommitOptions) MustSetMessage ¶ added in v0.11.0
func (g *GitCommitOptions) MustSetMessage(message string)
func (*GitCommitOptions) SetAllowEmpty ¶ added in v0.11.0
func (g *GitCommitOptions) SetAllowEmpty(allowEmpty bool)
func (*GitCommitOptions) SetCommitAllChanges ¶ added in v0.170.0
func (g *GitCommitOptions) SetCommitAllChanges(commitAllChanges bool)
func (*GitCommitOptions) SetMessage ¶ added in v0.11.0
func (g *GitCommitOptions) SetMessage(message string) (err error)
func (*GitCommitOptions) SetVerbose ¶ added in v0.11.0
func (g *GitCommitOptions) SetVerbose(verbose bool)
type GitConfigSetOptions ¶ added in v0.11.0
func NewGitConfigSetOptions ¶ added in v0.11.0
func NewGitConfigSetOptions() (g *GitConfigSetOptions)
func (*GitConfigSetOptions) GetEmail ¶ added in v0.11.0
func (g *GitConfigSetOptions) GetEmail() (email string, err error)
func (*GitConfigSetOptions) GetName ¶ added in v0.11.0
func (g *GitConfigSetOptions) GetName() (name string, err error)
func (*GitConfigSetOptions) GetVerbose ¶ added in v0.11.0
func (g *GitConfigSetOptions) GetVerbose() (verbose bool)
func (*GitConfigSetOptions) IsEmailSet ¶ added in v0.11.0
func (g *GitConfigSetOptions) IsEmailSet() (isSet bool)
func (*GitConfigSetOptions) IsNameSet ¶ added in v0.11.0
func (g *GitConfigSetOptions) IsNameSet() (isSet bool)
func (*GitConfigSetOptions) MustGetEmail ¶ added in v0.11.0
func (g *GitConfigSetOptions) MustGetEmail() (email string)
func (*GitConfigSetOptions) MustGetName ¶ added in v0.11.0
func (g *GitConfigSetOptions) MustGetName() (name string)
func (*GitConfigSetOptions) MustSetEmail ¶ added in v0.11.0
func (g *GitConfigSetOptions) MustSetEmail(email string)
func (*GitConfigSetOptions) MustSetName ¶ added in v0.11.0
func (g *GitConfigSetOptions) MustSetName(name string)
func (*GitConfigSetOptions) SetEmail ¶ added in v0.11.0
func (g *GitConfigSetOptions) SetEmail(email string) (err error)
func (*GitConfigSetOptions) SetName ¶ added in v0.11.0
func (g *GitConfigSetOptions) SetName(name string) (err error)
func (*GitConfigSetOptions) SetVerbose ¶ added in v0.11.0
func (g *GitConfigSetOptions) SetVerbose(verbose bool)
type GitPullFromRemoteOptions ¶ added in v0.174.0
func NewGitPullFromRemoteOptions ¶ added in v0.174.0
func NewGitPullFromRemoteOptions() (g *GitPullFromRemoteOptions)
func (*GitPullFromRemoteOptions) GetBranchName ¶ added in v0.174.0
func (o *GitPullFromRemoteOptions) GetBranchName() (branchName string, err error)
func (*GitPullFromRemoteOptions) GetRemoteName ¶ added in v0.174.0
func (o *GitPullFromRemoteOptions) GetRemoteName() (remoteName string, err error)
func (*GitPullFromRemoteOptions) GetVerbose ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) GetVerbose() (verbose bool, err error)
func (*GitPullFromRemoteOptions) MustGetBranchName ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) MustGetBranchName() (branchName string)
func (*GitPullFromRemoteOptions) MustGetRemoteName ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) MustGetRemoteName() (remoteName string)
func (*GitPullFromRemoteOptions) MustGetVerbose ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) MustGetVerbose() (verbose bool)
func (*GitPullFromRemoteOptions) MustSetBranchName ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) MustSetBranchName(branchName string)
func (*GitPullFromRemoteOptions) MustSetRemoteName ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) MustSetRemoteName(remoteName string)
func (*GitPullFromRemoteOptions) MustSetVerbose ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) MustSetVerbose(verbose bool)
func (*GitPullFromRemoteOptions) SetBranchName ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) SetBranchName(branchName string) (err error)
func (*GitPullFromRemoteOptions) SetRemoteName ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) SetRemoteName(remoteName string) (err error)
func (*GitPullFromRemoteOptions) SetVerbose ¶ added in v0.174.0
func (g *GitPullFromRemoteOptions) SetVerbose(verbose bool) (err error)
type GitRemoteAddOptions ¶ added in v0.171.0
func NewGitRemoteAddOptions ¶ added in v0.171.0
func NewGitRemoteAddOptions() (g *GitRemoteAddOptions)
func (*GitRemoteAddOptions) GetRemoteName ¶ added in v0.171.0
func (o *GitRemoteAddOptions) GetRemoteName() (remoteName string, err error)
func (*GitRemoteAddOptions) GetRemoteUrl ¶ added in v0.171.0
func (o *GitRemoteAddOptions) GetRemoteUrl() (remoteUrl string, err error)
func (*GitRemoteAddOptions) GetVerbose ¶ added in v0.171.0
func (g *GitRemoteAddOptions) GetVerbose() (verbose bool, err error)
func (*GitRemoteAddOptions) MustGetRemoteName ¶ added in v0.171.0
func (g *GitRemoteAddOptions) MustGetRemoteName() (remoteName string)
func (*GitRemoteAddOptions) MustGetRemoteUrl ¶ added in v0.171.0
func (g *GitRemoteAddOptions) MustGetRemoteUrl() (remoteUrl string)
func (*GitRemoteAddOptions) MustGetVerbose ¶ added in v0.171.0
func (g *GitRemoteAddOptions) MustGetVerbose() (verbose bool)
func (*GitRemoteAddOptions) MustSetRemoteName ¶ added in v0.171.0
func (g *GitRemoteAddOptions) MustSetRemoteName(remoteName string)
func (*GitRemoteAddOptions) MustSetRemoteUrl ¶ added in v0.171.0
func (g *GitRemoteAddOptions) MustSetRemoteUrl(remoteUrl string)
func (*GitRemoteAddOptions) MustSetVerbose ¶ added in v0.171.0
func (g *GitRemoteAddOptions) MustSetVerbose(verbose bool)
func (*GitRemoteAddOptions) SetRemoteName ¶ added in v0.171.0
func (g *GitRemoteAddOptions) SetRemoteName(remoteName string) (err error)
func (*GitRemoteAddOptions) SetRemoteUrl ¶ added in v0.171.0
func (g *GitRemoteAddOptions) SetRemoteUrl(remoteUrl string) (err error)
func (*GitRemoteAddOptions) SetVerbose ¶ added in v0.171.0
func (g *GitRemoteAddOptions) SetVerbose(verbose bool) (err error)
type GitRemoteConfig ¶ added in v0.171.0
func NewGitRemoteConfig ¶ added in v0.171.0
func NewGitRemoteConfig() (gitRemoteConfig *GitRemoteConfig)
func (*GitRemoteConfig) Equals ¶ added in v0.171.0
func (c *GitRemoteConfig) Equals(other *GitRemoteConfig) (equals bool)
func (*GitRemoteConfig) GetRemoteName ¶ added in v0.171.0
func (g *GitRemoteConfig) GetRemoteName() (remoteName string, err error)
func (*GitRemoteConfig) GetUrlFetch ¶ added in v0.171.0
func (g *GitRemoteConfig) GetUrlFetch() (urlFetch string, err error)
func (*GitRemoteConfig) GetUrlPush ¶ added in v0.171.0
func (g *GitRemoteConfig) GetUrlPush() (urlPush string, err error)
func (*GitRemoteConfig) MustGetRemoteName ¶ added in v0.171.0
func (g *GitRemoteConfig) MustGetRemoteName() (remoteName string)
func (*GitRemoteConfig) MustGetUrlFetch ¶ added in v0.171.0
func (g *GitRemoteConfig) MustGetUrlFetch() (urlFetch string)
func (*GitRemoteConfig) MustGetUrlPush ¶ added in v0.171.0
func (g *GitRemoteConfig) MustGetUrlPush() (urlPush string)
func (*GitRemoteConfig) MustSetRemoteName ¶ added in v0.171.0
func (g *GitRemoteConfig) MustSetRemoteName(remoteName string)
func (*GitRemoteConfig) MustSetUrlFetch ¶ added in v0.171.0
func (g *GitRemoteConfig) MustSetUrlFetch(urlFetch string)
func (*GitRemoteConfig) MustSetUrlPush ¶ added in v0.171.0
func (g *GitRemoteConfig) MustSetUrlPush(urlPush string)
func (*GitRemoteConfig) SetRemoteName ¶ added in v0.171.0
func (g *GitRemoteConfig) SetRemoteName(remoteName string) (err error)
func (*GitRemoteConfig) SetUrlFetch ¶ added in v0.171.0
func (g *GitRemoteConfig) SetUrlFetch(urlFetch string) (err error)
func (*GitRemoteConfig) SetUrlPush ¶ added in v0.171.0
func (g *GitRemoteConfig) SetUrlPush(urlPush string) (err error)
type GitRepositoriesService ¶ added in v0.11.0
type GitRepositoriesService struct { }
func GitRepositories ¶ added in v0.11.0
func GitRepositories() (g *GitRepositoriesService)
func NewGitRepositories ¶ added in v0.11.0
func NewGitRepositories() (g *GitRepositoriesService)
func NewGitRepositoriesService ¶ added in v0.11.0
func NewGitRepositoriesService() (g *GitRepositoriesService)
func (*GitRepositoriesService) CloneGitRepositoryToDirectory ¶ added in v0.14.1
func (g *GitRepositoriesService) CloneGitRepositoryToDirectory(toClone GitRepository, destinationPath string, verbose bool) (repo GitRepository, err error)
func (*GitRepositoriesService) CloneGitRepositoryToTemporaryDirectory ¶ added in v0.14.1
func (g *GitRepositoriesService) CloneGitRepositoryToTemporaryDirectory(toClone GitRepository, verbose bool) (repo GitRepository, err error)
func (*GitRepositoriesService) CloneToDirectoryByPath ¶ added in v0.11.0
func (g *GitRepositoriesService) CloneToDirectoryByPath(urlOrPath string, destinationPath string, verbose bool) (repo *LocalGitRepository, err error)
func (*GitRepositoriesService) CloneToTemporaryDirectory ¶ added in v0.11.0
func (g *GitRepositoriesService) CloneToTemporaryDirectory(urlOrPath string, verbose bool) (repo GitRepository, err error)
func (*GitRepositoriesService) CreateTemporaryInitializedRepository ¶ added in v0.11.0
func (g *GitRepositoriesService) CreateTemporaryInitializedRepository(options *parameteroptions.CreateRepositoryOptions) (repo GitRepository, err error)
func (*GitRepositoriesService) MustCloneGitRepositoryToDirectory ¶ added in v0.14.1
func (g *GitRepositoriesService) MustCloneGitRepositoryToDirectory(toClone GitRepository, destinationPath string, verbose bool) (repo GitRepository)
func (*GitRepositoriesService) MustCloneGitRepositoryToTemporaryDirectory ¶ added in v0.14.1
func (g *GitRepositoriesService) MustCloneGitRepositoryToTemporaryDirectory(toClone GitRepository, verbose bool) (repo GitRepository)
func (*GitRepositoriesService) MustCloneToDirectoryByPath ¶ added in v0.11.0
func (g *GitRepositoriesService) MustCloneToDirectoryByPath(urlOrPath string, destinationPath string, verbose bool) (repo GitRepository)
func (*GitRepositoriesService) MustCloneToTemporaryDirectory ¶ added in v0.11.0
func (g *GitRepositoriesService) MustCloneToTemporaryDirectory(urlOrPath string, verbose bool) (repo GitRepository)
func (*GitRepositoriesService) MustCreateTemporaryInitializedRepository ¶ added in v0.11.0
func (g *GitRepositoriesService) MustCreateTemporaryInitializedRepository(options *parameteroptions.CreateRepositoryOptions) (repo GitRepository)
type GitRepository ¶ added in v0.11.0
type GitRepository interface { AddRemote(options *GitRemoteAddOptions) (err error) AddFileByPath(pathToAdd string, verbose bool) (err error) CheckoutBranchByName(name string, verbose bool) (err error) CloneRepository(repository GitRepository, verbose bool) (err error) CloneRepositoryByPathOrUrl(pathOrUrl string, verbose bool) (err error) Commit(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error) CommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool, err error) CreateBranch(createOptions *parameteroptions.CreateBranchOptions) (err error) Create(verbose bool) (err error) CreateFileInDirectory(verbose bool, filePath ...string) (createdFile files.File, err error) CreateSubDirectory(subDirectoryName string, verbose bool) (createdSubDirectory files.Directory, err error) CreateTag(createOptions *GitRepositoryCreateTagOptions) (createdTag GitTag, err error) Delete(verbose bool) (err error) DeleteBranchByName(name string, verbose bool) (err error) DirectoryByPathExists(verbose bool, path ...string) (exists bool, err error) Exists(verbose bool) (exists bool, err error) Fetch(verbose bool) (err error) FileByPathExists(path string, verbose bool) (exists bool, err error) // TODO: Will be removed as there should be no need to explitly get as local Directory: GetAsLocalDirectory() (localDirectory *files.LocalDirectory, err error) // TODO: Will be removed as there should be no need to explitly get as local GitRepository: GetAsLocalGitRepository() (localGitRepository *LocalGitRepository, err error) GetAuthorEmailByCommitHash(hash string) (authorEmail string, err error) GetAuthorStringByCommitHash(hash string) (authorString string, err error) GetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory, err error) GetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration, err error) GetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64, err error) GetCommitMessageByCommitHash(hash string) (commitMessage string, err error) GetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit, err error) GetCommitTimeByCommitHash(hash string) (commitTime *time.Time, err error) GetCurrentBranchName(verbose bool) (branchName string, err error) GetCurrentCommit(verbose bool) (commit *GitCommit, err error) GetCurrentCommitHash(verbose bool) (currentCommitHash string, err error) GetGitStatusOutput(verbose bool) (output string, err error) GetHashByTagName(tagName string) (hash string, err error) GetHostDescription() (hostDescription string, err error) GetPath() (path string, err error) GetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig, err error) GetRootDirectory(verbose bool) (directory files.Directory, err error) GetRootDirectoryPath(verbose bool) (path string, err error) HasInitialCommit(verbose bool) (hasInitialCommit bool, err error) HasUncommittedChanges(verbose bool) (hasUncommitedChanges bool, err error) Init(options *parameteroptions.CreateRepositoryOptions) (err error) IsBareRepository(verbose bool) (isBareRepository bool, err error) // Returns true if pointing to an existing git repository, false otherwise IsGitRepository(verbose bool) (isRepository bool, err error) IsInitialized(verbose bool) (isInitialited bool, err error) ListBranchNames(verbose bool) (branchNames []string, err error) ListFilePaths(listFileOptions *parameteroptions.ListFileOptions) (filePaths []string, err error) ListFiles(listFileOptions *parameteroptions.ListFileOptions) (files []files.File, err error) ListTagNames(verbose bool) (tagNames []string, err error) ListTags(verbose bool) (tags []GitTag, err error) ListTagsForCommitHash(hash string, verbose bool) (tags []GitTag, err error) MustAddRemote(options *GitRemoteAddOptions) MustAddFileByPath(pathToAdd string, verbose bool) MustCheckoutBranchByName(name string, verbose bool) MustCloneRepository(repository GitRepository, verbose bool) MustCloneRepositoryByPathOrUrl(pathOrUrl string, verbose bool) MustCommit(commitOptions *GitCommitOptions) (createdCommit *GitCommit) MustCommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool) MustCreate(verbose bool) MustCreateBranch(createOptions *parameteroptions.CreateBranchOptions) MustCreateFileInDirectory(verbose bool, filePath ...string) (createdFile files.File) MustCreateSubDirectory(subDirectoryName string, verbose bool) (createdSubDirectory files.Directory) MustCreateTag(createOptions *GitRepositoryCreateTagOptions) (createdTag GitTag) MustDelete(verbose bool) MustDeleteBranchByName(name string, verbose bool) MustDirectoryByPathExists(verbose bool, path ...string) (exists bool) MustExists(verbose bool) (exists bool) MustFetch(verbose bool) MustFileByPathExists(path string, verbose bool) (exists bool) // TODO: Will be removed as there should be no need to explitly get a local Directory: MustGetAsLocalDirectory() (localDirectory *files.LocalDirectory) // TODO: Will be removed as there should be no need to explitly get as local GitRepository: MustGetAsLocalGitRepository() (localGitRepository *LocalGitRepository) MustGetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory) MustGetAuthorEmailByCommitHash(hash string) (authorEmail string) MustGetAuthorStringByCommitHash(hash string) (authorString string) MustGetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration) MustGetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64) MustGetCommitMessageByCommitHash(hash string) (commitMessage string) MustGetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit) MustGetCommitTimeByCommitHash(hash string) (commitTime *time.Time) MustGetCurrentBranchName(verbose bool) (branchName string) MustGetCurrentCommit(verbose bool) (commit *GitCommit) MustGetCurrentCommitHash(verbose bool) (currentCommitHash string) MustGetGitStatusOutput(verbose bool) (output string) MustGetHashByTagName(tagName string) (hash string) MustGetHostDescription() (hostDescription string) MustGetPath() (path string) MustGetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig) MustGetRootDirectory(verbose bool) (directory files.Directory) MustGetRootDirectoryPath(verbose bool) (path string) MustHasInitialCommit(verbose bool) (hasInitialCommit bool) MustHasUncommittedChanges(verbose bool) (hasUncommitedChanges bool) MustInit(options *parameteroptions.CreateRepositoryOptions) MustIsBareRepository(verbose bool) (isBareRepository bool) MustIsGitRepository(verbose bool) (isRepository bool) MustIsInitialized(verbose bool) (isInitialited bool) MustListBranchNames(verbose bool) (branchNames []string) MustListFilePaths(listFileOptions *parameteroptions.ListFileOptions) (filePaths []string) MustListFiles(listFileOptions *parameteroptions.ListFileOptions) (files []files.File) MustListTagNames(verbose bool) (tagNames []string) MustListTags(verbose bool) (tags []GitTag) MustListTagsForCommitHash(hash string, verbose bool) (tags []GitTag) MustRemoteByNameExists(remoteName string, verbose bool) (remoteExists bool) MustRemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool) MustRemoveRemoteByName(remoteName string, verbose bool) MustPull(verbose bool) MustPullFromRemote(pullOptions *GitPullFromRemoteOptions) MustPush(verbose bool) MustPushTagsToRemote(remoteName string, verbose bool) MustPushToRemote(remoteName string, verbose bool) MustSetGitConfig(options *GitConfigSetOptions) MustSetRemoteUrl(remoteUrl string, verbose bool) RemoteByNameExists(remoteName string, verbose bool) (remoteExists bool, err error) RemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool, err error) RemoveRemoteByName(remoteName string, verbose bool) (err error) Pull(verbose bool) (err error) PullFromRemote(pullOptions *GitPullFromRemoteOptions) (err error) Push(verbose bool) (err error) PushTagsToRemote(remoteName string, verbose bool) (err error) PushToRemote(remoteName string, verbose bool) (err error) SetGitConfig(options *GitConfigSetOptions) (err error) SetRemoteUrl(remoteUrl string, verbose bool) (err error) // All methods below this line can be implemented by embedding the `GitRepositoryBase` struct: AddFilesByPath(pathsToAdd []string, verbose bool) (err error) BranchByNameExists(branchName string, verbose bool) (branchExists bool, err error) CheckHasNoUncommittedChanges(verbose bool) (err error) CheckIsGolangApplication(verbose bool) (err error) CheckIsGolangPackage(verbose bool) (err error) CheckIsOnLocalhost(verbose bool) (err error) CheckIsPreCommitRepository(verbose bool) (err error) CommitAndPush(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error) CommitIfUncommittedChanges(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error) CreateAndInit(options *parameteroptions.CreateRepositoryOptions) (err error) EnsureMainReadmeMdExists(verbose bool) (err error) GetCurrentCommitMessage(verbose bool) (currentCommitMessage string, err error) GetCurrentCommitsNewestVersion(verbose bool) (newestVersion Version, err error) GetCurrentCommitsNewestVersionOrNilIfNotPresent(verbose bool) (newestVersion Version, err error) GetFileByPath(path ...string) (fileInRepo files.File, err error) GetLatestTagVersion(verbose bool) (latestTagVersion Version, err error) GetLatestTagVersionAsString(verbose bool) (latestTagVersion string, err error) GetLatestTagVersionOrNilIfNotFound(verbose bool) (latestTagVersion Version, err error) GetPathAndHostDescription() (path string, hostDescription string, err error) HasNoUncommittedChanges(verbose bool) (noUncommitedChnages bool, err error) IsGolangApplication(verbose bool) (isGolangApplication bool, err error) IsGolangPackage(verbose bool) (isGolangPackage bool, err error) IsOnLocalhost(verbose bool) (isOnLocalhost bool, err error) IsPreCommitRepository(verbose bool) (isPreCommitRepository bool, err error) ListVersionTags(verbose bool) (versionTags []GitTag, err error) MustAddFilesByPath(pathsToAdd []string, verbose bool) MustBranchByNameExists(branchName string, verbose bool) (branchExists bool) MustCheckHasNoUncommittedChanges(verbose bool) MustCheckIsGolangApplication(verbose bool) MustCheckIsGolangPackage(verbose bool) MustCheckIsOnLocalhost(verbose bool) MustCheckIsPreCommitRepository(verbose bool) MustCommitAndPush(commitOptions *GitCommitOptions) (createdCommit *GitCommit) MustCommitIfUncommittedChanges(commitOptions *GitCommitOptions) (createdCommit *GitCommit) MustCreateAndInit(options *parameteroptions.CreateRepositoryOptions) MustEnsureMainReadmeMdExists(verbose bool) MustGetCurrentCommitMessage(verbose bool) (currentCommitMessage string) MustGetCurrentCommitsNewestVersion(verbose bool) (newestVersion Version) MustGetCurrentCommitsNewestVersionOrNilIfNotPresent(verbose bool) (newestVersion Version) MustGetFileByPath(path ...string) (fileInRepo files.File) MustGetLatestTagVersion(verbose bool) (latestTagVersion Version) MustGetLatestTagVersionAsString(verbose bool) (latestTagVersion string) MustGetLatestTagVersionOrNilIfNotFound(verbose bool) (latestTagVersion Version) MustGetPathAndHostDescription() (path string, hostDescription string) MustHasNoUncommittedChanges(verbose bool) (noUncommitedChnages bool) MustIsGolangApplication(verbose bool) (isGolangApplication bool) MustIsGolangPackage(verbose bool) (isGolangPackage bool) MustIsOnLocalhost(verbose bool) (isOnLocalhost bool) MustIsPreCommitRepository(verbose bool) (isPreCommitRepository bool) MustListVersionTags(verbose bool) (versionTags []GitTag) MustWriteBytesToFile(content []byte, verbose bool, path ...string) (writtenFile files.File) MustWriteStringToFile(content string, verbose bool, path ...string) (writtenFile files.File) WriteBytesToFile(content []byte, verbose bool, path ...string) (writtenFile files.File, err error) WriteStringToFile(content string, verbose bool, path ...string) (writtenFile files.File, err error) }
A git repository can be a LocalGitRepository or remote repositories like Gitlab or Github.
func GetGitRepositoryByDirectory ¶ added in v0.165.0
func GetGitRepositoryByDirectory(directory files.Directory) (repository GitRepository, err error)
func GetLocalGitReposioryFromDirectory ¶ added in v0.13.1
func GetLocalGitReposioryFromDirectory(directory files.Directory) (repo GitRepository, err error)
func MustGetGitRepositoryByDirectory ¶ added in v0.165.0
func MustGetGitRepositoryByDirectory(directory files.Directory) (repository GitRepository)
func MustGetLocalGitReposioryFromDirectory ¶ added in v0.13.1
func MustGetLocalGitReposioryFromDirectory(directory files.Directory) (repo GitRepository)
type GitRepositoryBase ¶ added in v0.120.0
type GitRepositoryBase struct {
// contains filtered or unexported fields
}
func NewGitRepositoryBase ¶ added in v0.120.0
func NewGitRepositoryBase() (g *GitRepositoryBase)
func (*GitRepositoryBase) AddFilesByPath ¶ added in v0.160.0
func (g *GitRepositoryBase) AddFilesByPath(pathsToAdd []string, verbose bool) (err error)
func (*GitRepositoryBase) BranchByNameExists ¶ added in v0.166.0
func (g *GitRepositoryBase) BranchByNameExists(branchName string, verbose bool) (branchExists bool, err error)
func (*GitRepositoryBase) CheckHasNoUncommittedChanges ¶ added in v0.155.0
func (g *GitRepositoryBase) CheckHasNoUncommittedChanges(verbose bool) (err error)
func (*GitRepositoryBase) CheckIsGolangApplication ¶ added in v0.151.0
func (g *GitRepositoryBase) CheckIsGolangApplication(verbose bool) (err error)
func (*GitRepositoryBase) CheckIsGolangPackage ¶ added in v0.157.0
func (g *GitRepositoryBase) CheckIsGolangPackage(verbose bool) (err error)
func (*GitRepositoryBase) CheckIsOnLocalhost ¶ added in v0.158.0
func (g *GitRepositoryBase) CheckIsOnLocalhost(verbose bool) (err error)
func (*GitRepositoryBase) CheckIsPreCommitRepository ¶ added in v0.179.0
func (g *GitRepositoryBase) CheckIsPreCommitRepository(verbose bool) (err error)
func (*GitRepositoryBase) CommitAndPush ¶ added in v0.123.0
func (g *GitRepositoryBase) CommitAndPush(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error)
func (*GitRepositoryBase) CommitIfUncommittedChanges ¶ added in v0.170.0
func (g *GitRepositoryBase) CommitIfUncommittedChanges(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error)
func (*GitRepositoryBase) ContainsGoSourceFileOfMainPackageWithMainFunction ¶ added in v0.150.0
func (g *GitRepositoryBase) ContainsGoSourceFileOfMainPackageWithMainFunction(verbose bool) (mainFound bool, err error)
func (*GitRepositoryBase) CreateAndInit ¶ added in v0.120.0
func (g *GitRepositoryBase) CreateAndInit(createOptions *parameteroptions.CreateRepositoryOptions) (err error)
func (*GitRepositoryBase) DirectoryByPathExists ¶ added in v0.178.0
func (g *GitRepositoryBase) DirectoryByPathExists(verbose bool, path ...string) (exists bool, err error)
func (*GitRepositoryBase) EnsureMainReadmeMdExists ¶ added in v0.177.0
func (g *GitRepositoryBase) EnsureMainReadmeMdExists(verbose bool) (err error)
func (*GitRepositoryBase) GetCurrentCommitMessage ¶ added in v0.169.0
func (g *GitRepositoryBase) GetCurrentCommitMessage(verbose bool) (currentCommitMessage string, err error)
func (*GitRepositoryBase) GetCurrentCommitsNewestVersion ¶ added in v0.146.0
func (g *GitRepositoryBase) GetCurrentCommitsNewestVersion(verbose bool) (newestVersion Version, err error)
func (*GitRepositoryBase) GetCurrentCommitsNewestVersionOrNilIfNotPresent ¶ added in v0.146.0
func (g *GitRepositoryBase) GetCurrentCommitsNewestVersionOrNilIfNotPresent(verbose bool) (newestVersion Version, err error)
func (*GitRepositoryBase) GetFileByPath ¶ added in v0.152.0
func (g *GitRepositoryBase) GetFileByPath(path ...string) (file files.File, err error)
func (*GitRepositoryBase) GetLatestTagVersion ¶ added in v0.140.0
func (g *GitRepositoryBase) GetLatestTagVersion(verbose bool) (latestTagVersion Version, err error)
func (*GitRepositoryBase) GetLatestTagVersionAsString ¶ added in v0.141.1
func (g *GitRepositoryBase) GetLatestTagVersionAsString(verbose bool) (latestTagVersion string, err error)
func (*GitRepositoryBase) GetLatestTagVersionOrNilIfNotFound ¶ added in v0.159.0
func (g *GitRepositoryBase) GetLatestTagVersionOrNilIfNotFound(verbose bool) (latestTagVersion Version, err error)
func (*GitRepositoryBase) GetParentRepositoryForBaseClass ¶ added in v0.120.0
func (g *GitRepositoryBase) GetParentRepositoryForBaseClass() (parentRepositoryForBaseClass GitRepository, err error)
func (*GitRepositoryBase) GetPathAndHostDescription ¶ added in v0.151.0
func (g *GitRepositoryBase) GetPathAndHostDescription() (path string, hostDescription string, err error)
func (*GitRepositoryBase) HasNoUncommittedChanges ¶ added in v0.154.0
func (g *GitRepositoryBase) HasNoUncommittedChanges(verbose bool) (hasNoUncommittedChanges bool, err error)
func (*GitRepositoryBase) IsGolangApplication ¶ added in v0.150.0
func (g *GitRepositoryBase) IsGolangApplication(verbose bool) (isGolangApplication bool, err error)
func (*GitRepositoryBase) IsGolangPackage ¶ added in v0.156.0
func (g *GitRepositoryBase) IsGolangPackage(verbose bool) (isGolangPackage bool, err error)
func (*GitRepositoryBase) IsOnLocalhost ¶ added in v0.158.0
func (g *GitRepositoryBase) IsOnLocalhost(verbose bool) (isOnLocalhost bool, err error)
func (*GitRepositoryBase) IsPreCommitRepository ¶ added in v0.178.0
func (g *GitRepositoryBase) IsPreCommitRepository(verbose bool) (isPreCommitRepository bool, err error)
func (*GitRepositoryBase) ListVersionTags ¶ added in v0.139.0
func (g *GitRepositoryBase) ListVersionTags(verbose bool) (versionTags []GitTag, err error)
func (*GitRepositoryBase) MustAddFilesByPath ¶ added in v0.160.0
func (g *GitRepositoryBase) MustAddFilesByPath(pathsToAdd []string, verbose bool)
func (*GitRepositoryBase) MustBranchByNameExists ¶ added in v0.166.0
func (g *GitRepositoryBase) MustBranchByNameExists(branchName string, verbose bool) (branchExists bool)
func (*GitRepositoryBase) MustCheckHasNoUncommittedChanges ¶ added in v0.155.0
func (g *GitRepositoryBase) MustCheckHasNoUncommittedChanges(verbose bool)
func (*GitRepositoryBase) MustCheckIsGolangApplication ¶ added in v0.151.0
func (g *GitRepositoryBase) MustCheckIsGolangApplication(verbose bool)
func (*GitRepositoryBase) MustCheckIsGolangPackage ¶ added in v0.157.0
func (g *GitRepositoryBase) MustCheckIsGolangPackage(verbose bool)
func (*GitRepositoryBase) MustCheckIsOnLocalhost ¶ added in v0.158.0
func (g *GitRepositoryBase) MustCheckIsOnLocalhost(verbose bool)
func (*GitRepositoryBase) MustCheckIsPreCommitRepository ¶ added in v0.179.0
func (g *GitRepositoryBase) MustCheckIsPreCommitRepository(verbose bool)
func (*GitRepositoryBase) MustCommitAndPush ¶ added in v0.123.0
func (g *GitRepositoryBase) MustCommitAndPush(commitOptions *GitCommitOptions) (createdCommit *GitCommit)
func (*GitRepositoryBase) MustCommitIfUncommittedChanges ¶ added in v0.170.0
func (g *GitRepositoryBase) MustCommitIfUncommittedChanges(commitOptions *GitCommitOptions) (createdCommit *GitCommit)
func (*GitRepositoryBase) MustContainsGoSourceFileOfMainPackageWithMainFunction ¶ added in v0.150.0
func (g *GitRepositoryBase) MustContainsGoSourceFileOfMainPackageWithMainFunction(verbose bool) (mainFound bool)
func (*GitRepositoryBase) MustCreateAndInit ¶ added in v0.120.0
func (g *GitRepositoryBase) MustCreateAndInit(createOptions *parameteroptions.CreateRepositoryOptions)
func (*GitRepositoryBase) MustDirectoryByPathExists ¶ added in v0.178.0
func (g *GitRepositoryBase) MustDirectoryByPathExists(verbose bool, path ...string) (exists bool)
func (*GitRepositoryBase) MustEnsureMainReadmeMdExists ¶ added in v0.177.0
func (g *GitRepositoryBase) MustEnsureMainReadmeMdExists(verbose bool)
func (*GitRepositoryBase) MustGetCurrentCommitMessage ¶ added in v0.169.0
func (g *GitRepositoryBase) MustGetCurrentCommitMessage(verbose bool) (currentCommitMessage string)
func (*GitRepositoryBase) MustGetCurrentCommitsNewestVersion ¶ added in v0.146.0
func (g *GitRepositoryBase) MustGetCurrentCommitsNewestVersion(verbose bool) (newestVersion Version)
func (*GitRepositoryBase) MustGetCurrentCommitsNewestVersionOrNilIfNotPresent ¶ added in v0.146.0
func (g *GitRepositoryBase) MustGetCurrentCommitsNewestVersionOrNilIfNotPresent(verbose bool) (newestVersion Version)
func (*GitRepositoryBase) MustGetFileByPath ¶ added in v0.152.0
func (g *GitRepositoryBase) MustGetFileByPath(path ...string) (file files.File)
func (*GitRepositoryBase) MustGetLatestTagVersion ¶ added in v0.140.0
func (g *GitRepositoryBase) MustGetLatestTagVersion(verbose bool) (latestTagVersion Version)
func (*GitRepositoryBase) MustGetLatestTagVersionAsString ¶ added in v0.141.1
func (g *GitRepositoryBase) MustGetLatestTagVersionAsString(verbose bool) (latestTagVersion string)
func (*GitRepositoryBase) MustGetLatestTagVersionOrNilIfNotFound ¶ added in v0.159.0
func (g *GitRepositoryBase) MustGetLatestTagVersionOrNilIfNotFound(verbose bool) (latestTagVersion Version)
func (*GitRepositoryBase) MustGetParentRepositoryForBaseClass ¶ added in v0.120.0
func (g *GitRepositoryBase) MustGetParentRepositoryForBaseClass() (parentRepositoryForBaseClass GitRepository)
func (*GitRepositoryBase) MustGetPathAndHostDescription ¶ added in v0.151.0
func (g *GitRepositoryBase) MustGetPathAndHostDescription() (path string, hostDescription string)
func (*GitRepositoryBase) MustHasNoUncommittedChanges ¶ added in v0.154.0
func (g *GitRepositoryBase) MustHasNoUncommittedChanges(verbose bool) (hasNoUncommittedChanges bool)
func (*GitRepositoryBase) MustIsGolangApplication ¶ added in v0.150.0
func (g *GitRepositoryBase) MustIsGolangApplication(verbose bool) (isGolangApplication bool)
func (*GitRepositoryBase) MustIsGolangPackage ¶ added in v0.156.0
func (g *GitRepositoryBase) MustIsGolangPackage(verbose bool) (isGolangPackage bool)
func (*GitRepositoryBase) MustIsOnLocalhost ¶ added in v0.158.0
func (g *GitRepositoryBase) MustIsOnLocalhost(verbose bool) (isOnLocalhost bool)
func (*GitRepositoryBase) MustIsPreCommitRepository ¶ added in v0.178.0
func (g *GitRepositoryBase) MustIsPreCommitRepository(verbose bool) (isPreCommitRepository bool)
func (*GitRepositoryBase) MustListVersionTags ¶ added in v0.140.0
func (g *GitRepositoryBase) MustListVersionTags(verbose bool) (versionTags []GitTag)
func (*GitRepositoryBase) MustSetParentRepositoryForBaseClass ¶ added in v0.120.0
func (g *GitRepositoryBase) MustSetParentRepositoryForBaseClass(parentRepositoryForBaseClass GitRepository)
func (*GitRepositoryBase) MustWriteStringToFile ¶ added in v0.150.0
func (*GitRepositoryBase) SetParentRepositoryForBaseClass ¶ added in v0.120.0
func (g *GitRepositoryBase) SetParentRepositoryForBaseClass(parentRepositoryForBaseClass GitRepository) (err error)
func (*GitRepositoryBase) WriteStringToFile ¶ added in v0.150.0
type GitRepositoryCreateTagOptions ¶ added in v0.135.0
type GitRepositoryCreateTagOptions struct { // Commit hash to tag. // If not set the currently checked out commit is tagged (depends on the implementation if supported) CommitHash string // Name and comment/ message of the tag: TagName string TagComment string Verbose bool PushTagsToAllRemotes bool }
func NewGitRepositoryCreateTagOptions ¶ added in v0.135.0
func NewGitRepositoryCreateTagOptions() (g *GitRepositoryCreateTagOptions)
func (*GitRepositoryCreateTagOptions) GetCommitHash ¶ added in v0.142.0
func (g *GitRepositoryCreateTagOptions) GetCommitHash() (commitHash string, err error)
func (*GitRepositoryCreateTagOptions) GetDeepCopy ¶ added in v0.142.0
func (g *GitRepositoryCreateTagOptions) GetDeepCopy() (copy *GitRepositoryCreateTagOptions)
func (*GitRepositoryCreateTagOptions) GetPushTagsToAllRemotes ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) GetPushTagsToAllRemotes() (pushTagsToAllRemotes bool, err error)
func (*GitRepositoryCreateTagOptions) GetTagComment ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) GetTagComment() (tagComment string, err error)
func (*GitRepositoryCreateTagOptions) GetTagCommentOrDefaultIfUnset ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) GetTagCommentOrDefaultIfUnset() (tagComment string)
func (*GitRepositoryCreateTagOptions) GetTagName ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) GetTagName() (tagName string, err error)
func (*GitRepositoryCreateTagOptions) GetTagNameOrEmptyStringIfUnset ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) GetTagNameOrEmptyStringIfUnset() (tagName string)
func (*GitRepositoryCreateTagOptions) GetVerbose ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) GetVerbose() (verbose bool, err error)
func (*GitRepositoryCreateTagOptions) IsCommitHashSet ¶ added in v0.142.0
func (g *GitRepositoryCreateTagOptions) IsCommitHashSet() (isSet bool)
func (*GitRepositoryCreateTagOptions) IsTagCommentSet ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) IsTagCommentSet() (isSet bool)
func (*GitRepositoryCreateTagOptions) MustGetCommitHash ¶ added in v0.142.0
func (g *GitRepositoryCreateTagOptions) MustGetCommitHash() (commitHash string)
func (*GitRepositoryCreateTagOptions) MustGetPushTagsToAllRemotes ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) MustGetPushTagsToAllRemotes() (pushTagsToAllRemotes bool)
func (*GitRepositoryCreateTagOptions) MustGetTagComment ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) MustGetTagComment() (tagComment string)
func (*GitRepositoryCreateTagOptions) MustGetTagName ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) MustGetTagName() (tagName string)
func (*GitRepositoryCreateTagOptions) MustGetVerbose ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) MustGetVerbose() (verbose bool)
func (*GitRepositoryCreateTagOptions) MustSetCommitHash ¶ added in v0.142.0
func (g *GitRepositoryCreateTagOptions) MustSetCommitHash(commitHash string)
func (*GitRepositoryCreateTagOptions) MustSetPushTagsToAllRemotes ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) MustSetPushTagsToAllRemotes(pushTagsToAllRemotes bool)
func (*GitRepositoryCreateTagOptions) MustSetTagComment ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) MustSetTagComment(tagComment string)
func (*GitRepositoryCreateTagOptions) MustSetTagName ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) MustSetTagName(tagName string)
func (*GitRepositoryCreateTagOptions) MustSetVerbose ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) MustSetVerbose(verbose bool)
func (*GitRepositoryCreateTagOptions) SetCommitHash ¶ added in v0.142.0
func (g *GitRepositoryCreateTagOptions) SetCommitHash(commitHash string) (err error)
func (*GitRepositoryCreateTagOptions) SetPushTagsToAllRemotes ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) SetPushTagsToAllRemotes(pushTagsToAllRemotes bool) (err error)
func (*GitRepositoryCreateTagOptions) SetTagComment ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) SetTagComment(tagComment string) (err error)
func (*GitRepositoryCreateTagOptions) SetTagName ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) SetTagName(tagName string) (err error)
func (*GitRepositoryCreateTagOptions) SetVerbose ¶ added in v0.135.0
func (g *GitRepositoryCreateTagOptions) SetVerbose(verbose bool) (err error)
type GitRepositoryTag ¶ added in v0.130.0
type GitRepositoryTag struct { GitTagBase // contains filtered or unexported fields }
func GetGitRepositoryTagByName ¶ added in v0.130.0
func GetGitRepositoryTagByName(tagName string) (g *GitRepositoryTag, err error)
func GetGitRepositoryTagByNameAndRepository ¶ added in v0.130.0
func GetGitRepositoryTagByNameAndRepository(tagName string, gitRepository GitRepository) (g *GitRepositoryTag, err error)
func MustGetGitRepositoryTagByName ¶ added in v0.130.0
func MustGetGitRepositoryTagByName(tagName string) (g *GitRepositoryTag)
func MustGetGitRepositoryTagByNameAndRepository ¶ added in v0.130.0
func MustGetGitRepositoryTagByNameAndRepository(tagName string, gitRepository GitRepository) (g *GitRepositoryTag)
func NewGitRepositoryTag ¶ added in v0.130.0
func NewGitRepositoryTag() (g *GitRepositoryTag)
func (*GitRepositoryTag) GetGitRepository ¶ added in v0.130.0
func (g *GitRepositoryTag) GetGitRepository() (gitRepository GitRepository, err error)
func (*GitRepositoryTag) GetHash ¶ added in v0.142.0
func (g *GitRepositoryTag) GetHash() (hash string, err error)
func (*GitRepositoryTag) GetName ¶ added in v0.130.0
func (g *GitRepositoryTag) GetName() (name string, err error)
func (*GitRepositoryTag) GetVersion ¶ added in v0.130.0
func (g *GitRepositoryTag) GetVersion() (version Version, err error)
func (*GitRepositoryTag) IsVersionTag ¶ added in v0.130.0
func (g *GitRepositoryTag) IsVersionTag() (isVersionTag bool, err error)
func (*GitRepositoryTag) MustGetGitRepository ¶ added in v0.130.0
func (g *GitRepositoryTag) MustGetGitRepository() (gitRepository GitRepository)
func (*GitRepositoryTag) MustGetHash ¶ added in v0.142.0
func (g *GitRepositoryTag) MustGetHash() (hash string)
func (*GitRepositoryTag) MustGetName ¶ added in v0.130.0
func (g *GitRepositoryTag) MustGetName() (name string)
func (*GitRepositoryTag) MustGetVersion ¶ added in v0.130.0
func (g *GitRepositoryTag) MustGetVersion() (version Version)
func (*GitRepositoryTag) MustIsVersionTag ¶ added in v0.130.0
func (g *GitRepositoryTag) MustIsVersionTag() (isVersionTag bool)
func (*GitRepositoryTag) MustSetGitRepository ¶ added in v0.130.0
func (g *GitRepositoryTag) MustSetGitRepository(gitRepository GitRepository)
func (*GitRepositoryTag) MustSetName ¶ added in v0.130.0
func (g *GitRepositoryTag) MustSetName(name string)
func (*GitRepositoryTag) SetGitRepository ¶ added in v0.130.0
func (g *GitRepositoryTag) SetGitRepository(gitRepository GitRepository) (err error)
func (*GitRepositoryTag) SetName ¶ added in v0.130.0
func (g *GitRepositoryTag) SetName(name string) (err error)
type GitService ¶ added in v0.50.0
type GitService struct { }
func Git ¶ added in v0.50.0
func Git() (git *GitService)
func NewGitService ¶ added in v0.50.0
func NewGitService() (g *GitService)
func (*GitService) GetRepositoryRootPathByPath ¶ added in v0.50.0
func (g *GitService) GetRepositoryRootPathByPath(path string, verbose bool) (repoRootPath string, err error)
func (*GitService) MustGetRepositoryRootPathByPath ¶ added in v0.50.0
func (g *GitService) MustGetRepositoryRootPathByPath(path string, verbose bool) (repoRootPath string)
type GitTag ¶ added in v0.34.2
type GitTag interface { GetHash() (hash string, err error) GetName() (name string, err error) GetGitRepository() (repo GitRepository, err error) IsVersionTag() (isVersionTag bool, err error) SetName(name string) (err error) MustGetHash() (hash string) MustGetName() (name string) MustGetGitRepository() (repo GitRepository) MustIsVersionTag() (isVersionTag bool) MustSetName(name string) // These function can be implemented by embedding the GitTagBase struct: GetVersion() (version Version, err error) MustGetVersion() (version Version) }
type GitTagBase ¶ added in v0.140.0
type GitTagBase struct {
// contains filtered or unexported fields
}
func NewGitTagBase ¶ added in v0.140.0
func NewGitTagBase() (g *GitTagBase)
func (*GitTagBase) GetParentGitTagForBaseClass ¶ added in v0.140.0
func (g *GitTagBase) GetParentGitTagForBaseClass() (parentGitTagForBaseClass GitTag, err error)
func (*GitTagBase) GetVersion ¶ added in v0.140.0
func (g *GitTagBase) GetVersion() (version Version, err error)
func (*GitTagBase) MustGetParentGitTagForBaseClass ¶ added in v0.140.0
func (g *GitTagBase) MustGetParentGitTagForBaseClass() (parentGitTagForBaseClass GitTag)
func (*GitTagBase) MustGetVersion ¶ added in v0.140.0
func (g *GitTagBase) MustGetVersion() (version Version)
func (*GitTagBase) MustSetParentGitTagForBaseClass ¶ added in v0.140.0
func (g *GitTagBase) MustSetParentGitTagForBaseClass(parentGitTagForBaseClass GitTag)
func (*GitTagBase) SetParentGitTagForBaseClass ¶ added in v0.140.0
func (g *GitTagBase) SetParentGitTagForBaseClass(parentGitTagForBaseClass GitTag) (err error)
type GitignoreFile ¶ added in v0.162.0
func GetGitignoreFileByFile ¶ added in v0.162.0
func GetGitignoreFileByFile(fileToUse files.File) (gitignoreFile *GitignoreFile, err error)
func GetGitignoreFileByPath ¶ added in v0.162.0
func GetGitignoreFileByPath(filePath string) (gitignoreFile *GitignoreFile, err error)
func GetGitignoreFileInGitRepository ¶ added in v0.163.0
func GetGitignoreFileInGitRepository(gitRepository GitRepository) (gitignoreFile *GitignoreFile, err error)
func MustGetGitignoreFileByFile ¶ added in v0.162.0
func MustGetGitignoreFileByFile(fileToUse files.File) (gitignoreFile *GitignoreFile)
func MustGetGitignoreFileByPath ¶ added in v0.162.0
func MustGetGitignoreFileByPath(filePath string) (gitignoreFile *GitignoreFile)
func MustGetGitignoreFileInGitRepository ¶ added in v0.163.0
func MustGetGitignoreFileInGitRepository(gitRepository GitRepository) (gitignoreFile *GitignoreFile)
func NewGitignoreFile ¶ added in v0.162.0
func NewGitignoreFile() (g *GitignoreFile)
func (*GitignoreFile) AddDirToIgnore ¶ added in v0.162.0
func (g *GitignoreFile) AddDirToIgnore(pathToIgnore string, comment string, verbose bool) (err error)
func (*GitignoreFile) AddFileToIgnore ¶ added in v0.162.0
func (g *GitignoreFile) AddFileToIgnore(pathToIgnore string, comment string, verbose bool) (err error)
func (*GitignoreFile) ContainsIgnore ¶ added in v0.162.0
func (g *GitignoreFile) ContainsIgnore(pathToCheck string) (containsIgnore bool, err error)
func (*GitignoreFile) GetIgnoredPaths ¶ added in v0.162.0
func (g *GitignoreFile) GetIgnoredPaths() (ignoredPaths []string, err error)
func (*GitignoreFile) MustAddDirToIgnore ¶ added in v0.162.0
func (g *GitignoreFile) MustAddDirToIgnore(pathToIgnore string, comment string, verbose bool)
func (*GitignoreFile) MustAddFileToIgnore ¶ added in v0.162.0
func (g *GitignoreFile) MustAddFileToIgnore(pathToIgnore string, comment string, verbose bool)
func (*GitignoreFile) MustContainsIgnore ¶ added in v0.162.0
func (g *GitignoreFile) MustContainsIgnore(pathToCheck string) (containsIgnore bool)
func (*GitignoreFile) MustGetIgnoredPaths ¶ added in v0.162.0
func (g *GitignoreFile) MustGetIgnoredPaths() (ignoredPaths []string)
func (*GitignoreFile) MustReformat ¶ added in v0.162.0
func (g *GitignoreFile) MustReformat(verbose bool)
func (*GitignoreFile) Reformat ¶ added in v0.162.0
func (g *GitignoreFile) Reformat(verbose bool) (err error)
type GitlabAddRunnerOptions ¶ added in v0.31.0
func NewGitlabAddRunnerOptions ¶ added in v0.31.0
func NewGitlabAddRunnerOptions() (g *GitlabAddRunnerOptions)
func (*GitlabAddRunnerOptions) GetName ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) GetName() (name string, err error)
func (*GitlabAddRunnerOptions) GetRunnerName ¶ added in v0.31.0
func (o *GitlabAddRunnerOptions) GetRunnerName() (runnerName string, err error)
func (*GitlabAddRunnerOptions) GetRunnerTags ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) GetRunnerTags() (runnerTags []string, err error)
func (*GitlabAddRunnerOptions) GetTags ¶ added in v0.31.0
func (o *GitlabAddRunnerOptions) GetTags() (runnerTags []string, err error)
func (*GitlabAddRunnerOptions) GetTagsCommaSeparated ¶ added in v0.31.0
func (o *GitlabAddRunnerOptions) GetTagsCommaSeparated() (tagsCommaSeperated string, err error)
func (*GitlabAddRunnerOptions) GetVerbose ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) GetVerbose() (verbose bool, err error)
func (*GitlabAddRunnerOptions) MustGetName ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) MustGetName() (name string)
func (*GitlabAddRunnerOptions) MustGetRunnerName ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) MustGetRunnerName() (runnerName string)
func (*GitlabAddRunnerOptions) MustGetRunnerTags ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) MustGetRunnerTags() (runnerTags []string)
func (*GitlabAddRunnerOptions) MustGetTags ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) MustGetTags() (runnerTags []string)
func (*GitlabAddRunnerOptions) MustGetTagsCommaSeparated ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) MustGetTagsCommaSeparated() (tagsCommaSeperated string)
func (*GitlabAddRunnerOptions) MustGetVerbose ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) MustGetVerbose() (verbose bool)
func (*GitlabAddRunnerOptions) MustSetName ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) MustSetName(name string)
func (*GitlabAddRunnerOptions) MustSetRunnerTags ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) MustSetRunnerTags(runnerTags []string)
func (*GitlabAddRunnerOptions) MustSetVerbose ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) MustSetVerbose(verbose bool)
func (*GitlabAddRunnerOptions) SetName ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) SetName(name string) (err error)
func (*GitlabAddRunnerOptions) SetRunnerTags ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) SetRunnerTags(runnerTags []string) (err error)
func (*GitlabAddRunnerOptions) SetVerbose ¶ added in v0.31.0
func (g *GitlabAddRunnerOptions) SetVerbose(verbose bool) (err error)
type GitlabAuthenticationOptions ¶ added in v0.13.0
type GitlabAuthenticationOptions struct { AccessToken string AccessTokensFromGopass []string Verbose bool GitlabUrl string }
func NewGitlabAuthenticationOptions ¶ added in v0.13.0
func NewGitlabAuthenticationOptions() (g *GitlabAuthenticationOptions)
func (*GitlabAuthenticationOptions) GetAccessToken ¶ added in v0.32.0
func (g *GitlabAuthenticationOptions) GetAccessToken() (accessToken string, err error)
func (*GitlabAuthenticationOptions) GetAccessTokensFromGopass ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) GetAccessTokensFromGopass() (accessTokensFromGopass []string, err error)
func (*GitlabAuthenticationOptions) GetGitlabUrl ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) GetGitlabUrl() (gitlabUrl string, err error)
func (*GitlabAuthenticationOptions) GetVerbose ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) GetVerbose() (verbose bool, err error)
func (*GitlabAuthenticationOptions) IsAccessTokenSet ¶ added in v0.32.0
func (g *GitlabAuthenticationOptions) IsAccessTokenSet() (isSet bool)
func (*GitlabAuthenticationOptions) IsAuthenticatingAgainst ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) IsAuthenticatingAgainst(serviceName string) (isAuthenticatingAgainst bool, err error)
func (*GitlabAuthenticationOptions) IsVerbose ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) IsVerbose() (isVerbose bool)
func (*GitlabAuthenticationOptions) MustGetAccessToken ¶ added in v0.32.0
func (g *GitlabAuthenticationOptions) MustGetAccessToken() (accessToken string)
func (*GitlabAuthenticationOptions) MustGetAccessTokensFromGopass ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) MustGetAccessTokensFromGopass() (accessTokensFromGopass []string)
func (*GitlabAuthenticationOptions) MustGetGitlabUrl ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) MustGetGitlabUrl() (gitlabUrl string)
func (*GitlabAuthenticationOptions) MustGetVerbose ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) MustGetVerbose() (verbose bool)
func (*GitlabAuthenticationOptions) MustIsAuthenticatingAgainst ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) MustIsAuthenticatingAgainst(serviceName string) (isAuthenticatingAgainst bool)
func (*GitlabAuthenticationOptions) MustSetAccessToken ¶ added in v0.32.0
func (g *GitlabAuthenticationOptions) MustSetAccessToken(accessToken string)
func (*GitlabAuthenticationOptions) MustSetAccessTokensFromGopass ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) MustSetAccessTokensFromGopass(accessTokensFromGopass []string)
func (*GitlabAuthenticationOptions) MustSetGitlabUrl ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) MustSetGitlabUrl(gitlabUrl string)
func (*GitlabAuthenticationOptions) MustSetVerbose ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) MustSetVerbose(verbose bool)
func (*GitlabAuthenticationOptions) SetAccessToken ¶ added in v0.32.0
func (g *GitlabAuthenticationOptions) SetAccessToken(accessToken string) (err error)
func (*GitlabAuthenticationOptions) SetAccessTokensFromGopass ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) SetAccessTokensFromGopass(accessTokensFromGopass []string) (err error)
func (*GitlabAuthenticationOptions) SetGitlabUrl ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) SetGitlabUrl(gitlabUrl string) (err error)
func (*GitlabAuthenticationOptions) SetVerbose ¶ added in v0.13.0
func (g *GitlabAuthenticationOptions) SetVerbose(verbose bool) (err error)
type GitlabBranch ¶ added in v0.46.0
type GitlabBranch struct {
// contains filtered or unexported fields
}
func NewGitlabBranch ¶ added in v0.46.0
func NewGitlabBranch() (g *GitlabBranch)
func (*GitlabBranch) CopyFileToBranch ¶ added in v0.88.0
func (g *GitlabBranch) CopyFileToBranch(filePath string, targetBranch *GitlabBranch, verbose bool) (targetFile *GitlabRepositoryFile, err error)
func (*GitlabBranch) CreateFromDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranch) CreateFromDefaultBranch(verbose bool) (err error)
func (*GitlabBranch) CreateMergeRequest ¶ added in v0.55.0
func (g *GitlabBranch) CreateMergeRequest(options *GitlabCreateMergeRequestOptions) (mergeRequest *GitlabMergeRequest, err error)
func (*GitlabBranch) Delete ¶ added in v0.46.0
func (g *GitlabBranch) Delete(options *GitlabDeleteBranchOptions) (err error)
func (*GitlabBranch) DeleteRepositoryFile ¶ added in v0.88.0
func (g *GitlabBranch) DeleteRepositoryFile(filePath string, commitMessage string, verbose bool) (err error)
func (*GitlabBranch) Exists ¶ added in v0.46.0
func (g *GitlabBranch) Exists() (exists bool, err error)
func (*GitlabBranch) GetBranches ¶ added in v0.46.0
func (g *GitlabBranch) GetBranches() (branches *GitlabBranches, err error)
func (*GitlabBranch) GetDeepCopy ¶ added in v0.88.0
func (g *GitlabBranch) GetDeepCopy() (copy *GitlabBranch)
func (*GitlabBranch) GetGitlab ¶ added in v0.46.0
func (g *GitlabBranch) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabBranch) GetGitlabBranches ¶ added in v0.54.0
func (g *GitlabBranch) GetGitlabBranches() (branches *GitlabBranches, err error)
func (*GitlabBranch) GetGitlabProject ¶ added in v0.46.0
func (g *GitlabBranch) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabBranch) GetLatestCommit ¶ added in v0.73.0
func (g *GitlabBranch) GetLatestCommit(verbose bool) (latestCommit *GitlabCommit, err error)
func (*GitlabBranch) GetLatestCommitHashAsString ¶ added in v0.57.0
func (g *GitlabBranch) GetLatestCommitHashAsString(verbose bool) (commitHash string, err error)
func (*GitlabBranch) GetMergeRequests ¶ added in v0.55.0
func (g *GitlabBranch) GetMergeRequests() (mergeRequests *GitlabProjectMergeRequests, err error)
func (*GitlabBranch) GetName ¶ added in v0.46.0
func (g *GitlabBranch) GetName() (name string, err error)
func (*GitlabBranch) GetNativeBranchesClient ¶ added in v0.46.0
func (g *GitlabBranch) GetNativeBranchesClient() (nativeClient *gitlab.BranchesService, err error)
func (*GitlabBranch) GetNativeBranchesClientAndId ¶ added in v0.46.0
func (g *GitlabBranch) GetNativeBranchesClientAndId() (nativeClient *gitlab.BranchesService, projectId int, err error)
func (*GitlabBranch) GetProjectId ¶ added in v0.46.0
func (g *GitlabBranch) GetProjectId() (projectId int, err error)
func (*GitlabBranch) GetProjectUrl ¶ added in v0.46.0
func (g *GitlabBranch) GetProjectUrl() (projectUrl string, err error)
func (*GitlabBranch) GetRawResponse ¶ added in v0.57.0
func (g *GitlabBranch) GetRawResponse() (rawResponse *gitlab.Branch, err error)
func (*GitlabBranch) GetRepositoryFile ¶ added in v0.88.0
func (g *GitlabBranch) GetRepositoryFile(filePath string, verbose bool) (repositoryFile *GitlabRepositoryFile, err error)
func (*GitlabBranch) GetRepositoryFileSha256Sum ¶ added in v0.88.0
func (g *GitlabBranch) GetRepositoryFileSha256Sum(filePath string, verbose bool) (sha256sum string, err error)
func (*GitlabBranch) MustCopyFileToBranch ¶ added in v0.88.0
func (g *GitlabBranch) MustCopyFileToBranch(filePath string, targetBranch *GitlabBranch, verbose bool) (targetFile *GitlabRepositoryFile)
func (*GitlabBranch) MustCreateFromDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranch) MustCreateFromDefaultBranch(verbose bool)
func (*GitlabBranch) MustCreateMergeRequest ¶ added in v0.55.0
func (g *GitlabBranch) MustCreateMergeRequest(options *GitlabCreateMergeRequestOptions) (mergeRequest *GitlabMergeRequest)
func (*GitlabBranch) MustDelete ¶ added in v0.46.0
func (g *GitlabBranch) MustDelete(options *GitlabDeleteBranchOptions)
func (*GitlabBranch) MustDeleteRepositoryFile ¶ added in v0.88.0
func (g *GitlabBranch) MustDeleteRepositoryFile(filePath string, commitMessage string, verbose bool)
func (*GitlabBranch) MustExists ¶ added in v0.46.0
func (g *GitlabBranch) MustExists() (exists bool)
func (*GitlabBranch) MustGetBranches ¶ added in v0.46.0
func (g *GitlabBranch) MustGetBranches() (branches *GitlabBranches)
func (*GitlabBranch) MustGetGitlab ¶ added in v0.46.0
func (g *GitlabBranch) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabBranch) MustGetGitlabBranches ¶ added in v0.55.0
func (g *GitlabBranch) MustGetGitlabBranches() (branches *GitlabBranches)
func (*GitlabBranch) MustGetGitlabProject ¶ added in v0.46.0
func (g *GitlabBranch) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabBranch) MustGetLatestCommit ¶ added in v0.73.0
func (g *GitlabBranch) MustGetLatestCommit(verbose bool) (latestCommit *GitlabCommit)
func (*GitlabBranch) MustGetLatestCommitHashAsString ¶ added in v0.57.0
func (g *GitlabBranch) MustGetLatestCommitHashAsString(verbose bool) (commitHash string)
func (*GitlabBranch) MustGetMergeRequests ¶ added in v0.55.0
func (g *GitlabBranch) MustGetMergeRequests() (mergeRequests *GitlabProjectMergeRequests)
func (*GitlabBranch) MustGetName ¶ added in v0.46.0
func (g *GitlabBranch) MustGetName() (name string)
func (*GitlabBranch) MustGetNativeBranchesClient ¶ added in v0.46.0
func (g *GitlabBranch) MustGetNativeBranchesClient() (nativeClient *gitlab.BranchesService)
func (*GitlabBranch) MustGetNativeBranchesClientAndId ¶ added in v0.46.0
func (g *GitlabBranch) MustGetNativeBranchesClientAndId() (nativeClient *gitlab.BranchesService, projectId int)
func (*GitlabBranch) MustGetProjectId ¶ added in v0.46.0
func (g *GitlabBranch) MustGetProjectId() (projectId int)
func (*GitlabBranch) MustGetProjectUrl ¶ added in v0.46.0
func (g *GitlabBranch) MustGetProjectUrl() (projectUrl string)
func (*GitlabBranch) MustGetRawResponse ¶ added in v0.57.0
func (g *GitlabBranch) MustGetRawResponse() (rawResponse *gitlab.Branch)
func (*GitlabBranch) MustGetRepositoryFile ¶ added in v0.88.0
func (g *GitlabBranch) MustGetRepositoryFile(filePath string, verbose bool) (repositoryFile *GitlabRepositoryFile)
func (*GitlabBranch) MustGetRepositoryFileSha256Sum ¶ added in v0.88.0
func (g *GitlabBranch) MustGetRepositoryFileSha256Sum(filePath string, verbose bool) (sha256sum string)
func (*GitlabBranch) MustReadFileContentAsString ¶ added in v0.88.0
func (g *GitlabBranch) MustReadFileContentAsString(options *GitlabReadFileOptions) (content string)
func (*GitlabBranch) MustRepositoryFileExists ¶ added in v0.88.0
func (g *GitlabBranch) MustRepositoryFileExists(filePath string, verbose bool) (exists bool)
func (*GitlabBranch) MustSetGitlabProject ¶ added in v0.46.0
func (g *GitlabBranch) MustSetGitlabProject(gitlabProject *GitlabProject)
func (*GitlabBranch) MustSetName ¶ added in v0.46.0
func (g *GitlabBranch) MustSetName(name string)
func (*GitlabBranch) MustSyncFilesToBranch ¶ added in v0.88.0
func (g *GitlabBranch) MustSyncFilesToBranch(options *GitlabSyncBranchOptions)
func (*GitlabBranch) MustSyncFilesToBranchUsingMergeRequest ¶ added in v0.88.0
func (g *GitlabBranch) MustSyncFilesToBranchUsingMergeRequest(options *GitlabSyncBranchOptions) (createdMergeRequest *GitlabMergeRequest)
func (*GitlabBranch) MustWriteFileContent ¶ added in v0.73.0
func (g *GitlabBranch) MustWriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile)
func (*GitlabBranch) ReadFileContentAsString ¶ added in v0.88.0
func (g *GitlabBranch) ReadFileContentAsString(options *GitlabReadFileOptions) (content string, err error)
func (*GitlabBranch) RepositoryFileExists ¶ added in v0.88.0
func (g *GitlabBranch) RepositoryFileExists(filePath string, verbose bool) (exists bool, err error)
func (*GitlabBranch) SetGitlabProject ¶ added in v0.46.0
func (g *GitlabBranch) SetGitlabProject(gitlabProject *GitlabProject) (err error)
func (*GitlabBranch) SetName ¶ added in v0.46.0
func (g *GitlabBranch) SetName(name string) (err error)
func (*GitlabBranch) SyncFilesToBranch ¶ added in v0.88.0
func (g *GitlabBranch) SyncFilesToBranch(options *GitlabSyncBranchOptions) (err error)
func (*GitlabBranch) SyncFilesToBranchUsingMergeRequest ¶ added in v0.88.0
func (g *GitlabBranch) SyncFilesToBranchUsingMergeRequest(options *GitlabSyncBranchOptions) (createdMergeRequest *GitlabMergeRequest, err error)
func (*GitlabBranch) WriteFileContent ¶ added in v0.73.0
func (g *GitlabBranch) WriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile, err error)
type GitlabBranches ¶ added in v0.46.0
type GitlabBranches struct {
// contains filtered or unexported fields
}
func NewGitlabBranches ¶ added in v0.46.0
func NewGitlabBranches() (g *GitlabBranches)
func (*GitlabBranches) BranchByNameExists ¶ added in v0.46.0
func (g *GitlabBranches) BranchByNameExists(branchName string) (exists bool, err error)
func (*GitlabBranches) CreateBranch ¶ added in v0.46.0
func (g *GitlabBranches) CreateBranch(options *GitlabCreateBranchOptions) (createdBranch *GitlabBranch, err error)
func (*GitlabBranches) CreateBranchFromDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranches) CreateBranchFromDefaultBranch(branchName string, verbose bool) (createdBranch *GitlabBranch, err error)
func (*GitlabBranches) DeleteAllBranchesExceptDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranches) DeleteAllBranchesExceptDefaultBranch(verbose bool) (err error)
func (*GitlabBranches) GetBranchByName ¶ added in v0.46.0
func (g *GitlabBranches) GetBranchByName(branchName string) (branch *GitlabBranch, err error)
func (*GitlabBranches) GetBranchNames ¶ added in v0.46.0
func (g *GitlabBranches) GetBranchNames(verbose bool) (branchNames []string, err error)
func (*GitlabBranches) GetBranchNamesExceptDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranches) GetBranchNamesExceptDefaultBranch(verbose bool) (branchNames []string, err error)
func (*GitlabBranches) GetBranchesExceptDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranches) GetBranchesExceptDefaultBranch(verbose bool) (branches []*GitlabBranch, err error)
func (*GitlabBranches) GetDefaultBranchName ¶ added in v0.46.0
func (g *GitlabBranches) GetDefaultBranchName() (defaultBranchName string, err error)
func (*GitlabBranches) GetFilesFromListWithDiffBetweenBranches ¶ added in v0.88.0
func (g *GitlabBranches) GetFilesFromListWithDiffBetweenBranches(branchA *GitlabBranch, branchB *GitlabBranch, filesToCheck []string, verbose bool) (filesWithDiffBetweenBranches []string, err error)
func (*GitlabBranches) GetGitlab ¶ added in v0.46.0
func (g *GitlabBranches) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabBranches) GetGitlabProject ¶ added in v0.46.0
func (g *GitlabBranches) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabBranches) GetNativeBranchesClient ¶ added in v0.46.0
func (g *GitlabBranches) GetNativeBranchesClient() (nativeBranches *gitlab.BranchesService, err error)
func (*GitlabBranches) GetNativeBranchesClientAndId ¶ added in v0.46.0
func (g *GitlabBranches) GetNativeBranchesClientAndId() (nativeClient *gitlab.BranchesService, projectId int, err error)
func (*GitlabBranches) GetProjectId ¶ added in v0.46.0
func (g *GitlabBranches) GetProjectId() (projectId int, err error)
func (*GitlabBranches) GetProjectUrl ¶ added in v0.46.0
func (g *GitlabBranches) GetProjectUrl() (projectUrl string, err error)
func (*GitlabBranches) MustBranchByNameExists ¶ added in v0.46.0
func (g *GitlabBranches) MustBranchByNameExists(branchName string) (exists bool)
func (*GitlabBranches) MustCreateBranch ¶ added in v0.46.0
func (g *GitlabBranches) MustCreateBranch(options *GitlabCreateBranchOptions) (createdBranch *GitlabBranch)
func (*GitlabBranches) MustCreateBranchFromDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranches) MustCreateBranchFromDefaultBranch(branchName string, verbose bool) (createdBranch *GitlabBranch)
func (*GitlabBranches) MustDeleteAllBranchesExceptDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranches) MustDeleteAllBranchesExceptDefaultBranch(verbose bool)
func (*GitlabBranches) MustGetBranchByName ¶ added in v0.46.0
func (g *GitlabBranches) MustGetBranchByName(branchName string) (branch *GitlabBranch)
func (*GitlabBranches) MustGetBranchNames ¶ added in v0.46.0
func (g *GitlabBranches) MustGetBranchNames(verbose bool) (branchNames []string)
func (*GitlabBranches) MustGetBranchNamesExceptDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranches) MustGetBranchNamesExceptDefaultBranch(verbose bool) (branchNames []string)
func (*GitlabBranches) MustGetBranchesExceptDefaultBranch ¶ added in v0.46.0
func (g *GitlabBranches) MustGetBranchesExceptDefaultBranch(verbose bool) (branches []*GitlabBranch)
func (*GitlabBranches) MustGetDefaultBranchName ¶ added in v0.46.0
func (g *GitlabBranches) MustGetDefaultBranchName() (defaultBranchName string)
func (*GitlabBranches) MustGetFilesFromListWithDiffBetweenBranches ¶ added in v0.88.0
func (g *GitlabBranches) MustGetFilesFromListWithDiffBetweenBranches(branchA *GitlabBranch, branchB *GitlabBranch, filesToCheck []string, verbose bool) (filesWithDiffBetweenBranches []string)
func (*GitlabBranches) MustGetGitlab ¶ added in v0.46.0
func (g *GitlabBranches) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabBranches) MustGetGitlabProject ¶ added in v0.46.0
func (g *GitlabBranches) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabBranches) MustGetNativeBranchesClient ¶ added in v0.46.0
func (g *GitlabBranches) MustGetNativeBranchesClient() (nativeBranches *gitlab.BranchesService)
func (*GitlabBranches) MustGetNativeBranchesClientAndId ¶ added in v0.46.0
func (g *GitlabBranches) MustGetNativeBranchesClientAndId() (nativeClient *gitlab.BranchesService, projectId int)
func (*GitlabBranches) MustGetProjectId ¶ added in v0.46.0
func (g *GitlabBranches) MustGetProjectId() (projectId int)
func (*GitlabBranches) MustGetProjectUrl ¶ added in v0.46.0
func (g *GitlabBranches) MustGetProjectUrl() (projectUrl string)
func (*GitlabBranches) MustSetGitlabProject ¶ added in v0.46.0
func (g *GitlabBranches) MustSetGitlabProject(gitlabProject *GitlabProject)
func (*GitlabBranches) SetGitlabProject ¶ added in v0.46.0
func (g *GitlabBranches) SetGitlabProject(gitlabProject *GitlabProject) (err error)
type GitlabCiYamlFile ¶ added in v0.20.0
func GetGitlabCiYamlFileByFile ¶ added in v0.20.0
func GetGitlabCiYamlFileByFile(file files.File) (gitlabCiYamlFile *GitlabCiYamlFile, err error)
func GetGitlabCiYamlFileByPath ¶ added in v0.20.0
func GetGitlabCiYamlFileByPath(filePath string) (gitlabCiYamlFile *GitlabCiYamlFile, err error)
func GetGitlabCiYamlFileInGitRepository ¶ added in v0.176.0
func GetGitlabCiYamlFileInGitRepository(gitRepository GitRepository) (gitlabCiYamlFile *GitlabCiYamlFile, err error)
func MustGetGitlabCiYamlFileByFile ¶ added in v0.20.0
func MustGetGitlabCiYamlFileByFile(file files.File) (gitlabCiYamlFile *GitlabCiYamlFile)
func MustGetGitlabCiYamlFileByPath ¶ added in v0.20.0
func MustGetGitlabCiYamlFileByPath(filePath string) (gitlabCiYamlFile *GitlabCiYamlFile)
func MustGetGitlabCiYamlFileInGitRepository ¶ added in v0.177.0
func MustGetGitlabCiYamlFileInGitRepository(gitRepository GitRepository) (gitlabCiYamlFile *GitlabCiYamlFile)
func NewGitlabCiYamlFile ¶ added in v0.20.0
func NewGitlabCiYamlFile() (g *GitlabCiYamlFile)
func (*GitlabCiYamlFile) AddInclude ¶ added in v0.20.0
func (g *GitlabCiYamlFile) AddInclude(include *GitlabCiYamlInclude, verbose bool) (err error)
func (*GitlabCiYamlFile) ContainsInclude ¶ added in v0.20.0
func (g *GitlabCiYamlFile) ContainsInclude(include *GitlabCiYamlInclude, ignoreVersion bool, verbose bool) (containsInclude bool, err error)
func (*GitlabCiYamlFile) GetIncludes ¶ added in v0.20.0
func (g *GitlabCiYamlFile) GetIncludes(verbose bool) (includes []*GitlabCiYamlInclude, err error)
func (*GitlabCiYamlFile) GetTextBlocksWithoutIncludes ¶ added in v0.20.0
func (g *GitlabCiYamlFile) GetTextBlocksWithoutIncludes(verbose bool) (textBlocks []string, err error)
func (*GitlabCiYamlFile) MustAddInclude ¶ added in v0.20.0
func (g *GitlabCiYamlFile) MustAddInclude(include *GitlabCiYamlInclude, verbose bool)
func (*GitlabCiYamlFile) MustContainsInclude ¶ added in v0.20.0
func (g *GitlabCiYamlFile) MustContainsInclude(include *GitlabCiYamlInclude, ignoreVersion bool, verbose bool) (containsInclude bool)
func (*GitlabCiYamlFile) MustGetIncludes ¶ added in v0.20.0
func (g *GitlabCiYamlFile) MustGetIncludes(verbose bool) (includes []*GitlabCiYamlInclude)
func (*GitlabCiYamlFile) MustGetTextBlocksWithoutIncludes ¶ added in v0.20.0
func (g *GitlabCiYamlFile) MustGetTextBlocksWithoutIncludes(verbose bool) (textBlocks []string)
func (*GitlabCiYamlFile) MustRewriteIncludes ¶ added in v0.20.0
func (g *GitlabCiYamlFile) MustRewriteIncludes(includes []*GitlabCiYamlInclude, verbose bool)
func (*GitlabCiYamlFile) RewriteIncludes ¶ added in v0.20.0
func (g *GitlabCiYamlFile) RewriteIncludes(includes []*GitlabCiYamlInclude, verbose bool) (err error)
type GitlabCiYamlInclude ¶ added in v0.20.0
type GitlabCiYamlInclude struct { Project string `yaml:"project"` File string `yaml:"file"` Ref string `yaml:"ref"` }
func NewGitlabCiYamlInclude ¶ added in v0.20.0
func NewGitlabCiYamlInclude() (g *GitlabCiYamlInclude)
func (*GitlabCiYamlInclude) EqualsIgnoreVersion ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) EqualsIgnoreVersion(other *GitlabCiYamlInclude) (isEqual bool, err error)
func (*GitlabCiYamlInclude) GetFile ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) GetFile() (file string, err error)
func (*GitlabCiYamlInclude) GetLoggableString ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) GetLoggableString() (loggableString string, err error)
func (*GitlabCiYamlInclude) GetProject ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) GetProject() (project string, err error)
func (*GitlabCiYamlInclude) GetProjectAndFile ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) GetProjectAndFile() (project string, file string, err error)
func (*GitlabCiYamlInclude) GetRef ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) GetRef() (ref string, err error)
func (*GitlabCiYamlInclude) IsEmpty ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) IsEmpty() (isEmpty bool)
func (*GitlabCiYamlInclude) IsNonEmpty ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) IsNonEmpty() (isNonEmpty bool)
func (*GitlabCiYamlInclude) MustEqualsIgnoreVersion ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) MustEqualsIgnoreVersion(other *GitlabCiYamlInclude) (isEqual bool)
func (*GitlabCiYamlInclude) MustGetFile ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) MustGetFile() (file string)
func (*GitlabCiYamlInclude) MustGetLoggableString ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) MustGetLoggableString() (loggableString string)
func (*GitlabCiYamlInclude) MustGetProject ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) MustGetProject() (project string)
func (*GitlabCiYamlInclude) MustGetProjectAndFile ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) MustGetProjectAndFile() (project string, file string)
func (*GitlabCiYamlInclude) MustGetRef ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) MustGetRef() (ref string)
func (*GitlabCiYamlInclude) MustSetFile ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) MustSetFile(file string)
func (*GitlabCiYamlInclude) MustSetProject ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) MustSetProject(project string)
func (*GitlabCiYamlInclude) MustSetRef ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) MustSetRef(ref string)
func (*GitlabCiYamlInclude) SetFile ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) SetFile(file string) (err error)
func (*GitlabCiYamlInclude) SetProject ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) SetProject(project string) (err error)
func (*GitlabCiYamlInclude) SetRef ¶ added in v0.20.0
func (g *GitlabCiYamlInclude) SetRef(ref string) (err error)
func (*GitlabCiYamlInclude) UnmarshalYAML ¶ added in v0.27.1
func (g *GitlabCiYamlInclude) UnmarshalYAML(unmarshal func(interface{}) error) (err error)
The UnmarshalYAML is used as custom unmarshal function to avoid issues with multinine file sections. E.g this works anyway:
include:
- file: "c.yaml"
But this is a problem without custom UnmarshalYaml function:
include:
- file:
- "c.yaml"
type GitlabCommit ¶ added in v0.57.0
type GitlabCommit struct {
// contains filtered or unexported fields
}
func NewGitlabCommit ¶ added in v0.57.0
func NewGitlabCommit() (g *GitlabCommit)
func (*GitlabCommit) CreateRelease ¶ added in v0.100.0
func (g *GitlabCommit) CreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease, err error)
func (*GitlabCommit) CreateTag ¶ added in v0.100.0
func (g *GitlabCommit) CreateTag(createTagOptions *GitlabCreateTagOptions) (createdTag *GitlabTag, err error)
func (*GitlabCommit) GetAuthorEmail ¶ added in v0.97.0
func (g *GitlabCommit) GetAuthorEmail(verbose bool) (authorEmail string, err error)
func (*GitlabCommit) GetCommitHash ¶ added in v0.71.0
func (g *GitlabCommit) GetCommitHash() (commitHash string, err error)
func (*GitlabCommit) GetGitlab ¶ added in v0.71.0
func (g *GitlabCommit) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabCommit) GetGitlabProject ¶ added in v0.71.0
func (g *GitlabCommit) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabCommit) GetGitlabProjectUrlAsString ¶ added in v0.73.0
func (g *GitlabCommit) GetGitlabProjectUrlAsString() (projectUrl string, err error)
func (*GitlabCommit) GetGitlabProjectsCommits ¶ added in v0.71.0
func (g *GitlabCommit) GetGitlabProjectsCommits() (gitlabProjectsCommit *GitlabProjectCommits, err error)
func (*GitlabCommit) GetGitlabTags ¶ added in v0.100.0
func (g *GitlabCommit) GetGitlabTags() (gitlabTags *GitlabTags, err error)
func (*GitlabCommit) GetNativeCommitsService ¶ added in v0.71.0
func (g *GitlabCommit) GetNativeCommitsService() (nativeCommitsService *gitlab.CommitsService, err error)
func (*GitlabCommit) GetParentCommitHashesAsString ¶ added in v0.71.0
func (g *GitlabCommit) GetParentCommitHashesAsString(verbose bool) (parentCommitHashes []string, err error)
func (*GitlabCommit) GetParentCommits ¶ added in v0.71.0
func (g *GitlabCommit) GetParentCommits(verbose bool) (parentCommits []*GitlabCommit, err error)
func (*GitlabCommit) GetProjectId ¶ added in v0.71.0
func (g *GitlabCommit) GetProjectId() (projectId int, err error)
func (*GitlabCommit) GetRawResponse ¶ added in v0.71.0
func (g *GitlabCommit) GetRawResponse() (rawResponse *gitlab.Commit, err error)
func (*GitlabCommit) IsMergeCommit ¶ added in v0.73.0
func (g *GitlabCommit) IsMergeCommit(verbose bool) (isMergeCommit bool, err error)
func (*GitlabCommit) IsParentCommitOf ¶ added in v0.73.0
func (g *GitlabCommit) IsParentCommitOf(childCommit *GitlabCommit, verbose bool) (isParent bool, err error)
func (*GitlabCommit) MustCreateRelease ¶ added in v0.100.0
func (g *GitlabCommit) MustCreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease)
func (*GitlabCommit) MustCreateTag ¶ added in v0.100.0
func (g *GitlabCommit) MustCreateTag(createTagOptions *GitlabCreateTagOptions) (createdTag *GitlabTag)
func (*GitlabCommit) MustGetAuthorEmail ¶ added in v0.97.0
func (g *GitlabCommit) MustGetAuthorEmail(verbose bool) (authorEmail string)
func (*GitlabCommit) MustGetCommitHash ¶ added in v0.71.0
func (g *GitlabCommit) MustGetCommitHash() (commitHash string)
func (*GitlabCommit) MustGetGitlab ¶ added in v0.71.0
func (g *GitlabCommit) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabCommit) MustGetGitlabProject ¶ added in v0.71.0
func (g *GitlabCommit) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabCommit) MustGetGitlabProjectUrlAsString ¶ added in v0.73.0
func (g *GitlabCommit) MustGetGitlabProjectUrlAsString() (projectUrl string)
func (*GitlabCommit) MustGetGitlabProjectsCommits ¶ added in v0.71.0
func (g *GitlabCommit) MustGetGitlabProjectsCommits() (gitlabProjectsCommit *GitlabProjectCommits)
func (*GitlabCommit) MustGetGitlabTags ¶ added in v0.100.0
func (g *GitlabCommit) MustGetGitlabTags() (gitlabTags *GitlabTags)
func (*GitlabCommit) MustGetNativeCommitsService ¶ added in v0.71.0
func (g *GitlabCommit) MustGetNativeCommitsService() (nativeCommitsService *gitlab.CommitsService)
func (*GitlabCommit) MustGetParentCommitHashesAsString ¶ added in v0.71.0
func (g *GitlabCommit) MustGetParentCommitHashesAsString(verbose bool) (parentCommitHashes []string)
func (*GitlabCommit) MustGetParentCommits ¶ added in v0.71.0
func (g *GitlabCommit) MustGetParentCommits(verbose bool) (parentCommits []*GitlabCommit)
func (*GitlabCommit) MustGetProjectId ¶ added in v0.71.0
func (g *GitlabCommit) MustGetProjectId() (projectId int)
func (*GitlabCommit) MustGetRawResponse ¶ added in v0.71.0
func (g *GitlabCommit) MustGetRawResponse() (rawResponse *gitlab.Commit)
func (*GitlabCommit) MustIsMergeCommit ¶ added in v0.73.0
func (g *GitlabCommit) MustIsMergeCommit(verbose bool) (isMergeCommit bool)
func (*GitlabCommit) MustIsParentCommitOf ¶ added in v0.73.0
func (g *GitlabCommit) MustIsParentCommitOf(childCommit *GitlabCommit, verbose bool) (isParent bool)
func (*GitlabCommit) MustSetCommitHash ¶ added in v0.71.0
func (g *GitlabCommit) MustSetCommitHash(commitHash string)
func (*GitlabCommit) MustSetGitlabProjectsCommits ¶ added in v0.71.0
func (g *GitlabCommit) MustSetGitlabProjectsCommits(gitlabProjectsCommit *GitlabProjectCommits)
func (*GitlabCommit) SetCommitHash ¶ added in v0.71.0
func (g *GitlabCommit) SetCommitHash(commitHash string) (err error)
func (*GitlabCommit) SetGitlabProjectsCommits ¶ added in v0.71.0
func (g *GitlabCommit) SetGitlabProjectsCommits(gitlabProjectsCommit *GitlabProjectCommits) (err error)
type GitlabCreateAccessTokenOptions ¶ added in v0.31.0
type GitlabCreateAccessTokenOptions struct { UserName string TokenName string Scopes []string ExpiresAt *time.Time Verbose bool }
func NewGitlabCreateAccessTokenOptions ¶ added in v0.31.0
func NewGitlabCreateAccessTokenOptions() (g *GitlabCreateAccessTokenOptions)
func (*GitlabCreateAccessTokenOptions) GetExipiresAtOrDefaultIfUnset ¶ added in v0.31.0
func (o *GitlabCreateAccessTokenOptions) GetExipiresAtOrDefaultIfUnset() (expiresAt *time.Time, err error)
func (*GitlabCreateAccessTokenOptions) GetExpiresAt ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) GetExpiresAt() (expiresAt *time.Time, err error)
func (*GitlabCreateAccessTokenOptions) GetScopes ¶ added in v0.31.0
func (o *GitlabCreateAccessTokenOptions) GetScopes() (scopes []string, err error)
func (*GitlabCreateAccessTokenOptions) GetTokenName ¶ added in v0.31.0
func (o *GitlabCreateAccessTokenOptions) GetTokenName() (tokenName string, err error)
func (*GitlabCreateAccessTokenOptions) GetUserName ¶ added in v0.31.0
func (o *GitlabCreateAccessTokenOptions) GetUserName() (userName string, err error)
func (*GitlabCreateAccessTokenOptions) GetVerbose ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) GetVerbose() (verbose bool, err error)
func (*GitlabCreateAccessTokenOptions) MustGetExipiresAtOrDefaultIfUnset ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustGetExipiresAtOrDefaultIfUnset() (expiresAt *time.Time)
func (*GitlabCreateAccessTokenOptions) MustGetExpiresAt ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustGetExpiresAt() (expiresAt *time.Time)
func (*GitlabCreateAccessTokenOptions) MustGetScopes ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustGetScopes() (scopes []string)
func (*GitlabCreateAccessTokenOptions) MustGetTokenName ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustGetTokenName() (tokenName string)
func (*GitlabCreateAccessTokenOptions) MustGetUserName ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustGetUserName() (userName string)
func (*GitlabCreateAccessTokenOptions) MustGetVerbose ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustGetVerbose() (verbose bool)
func (*GitlabCreateAccessTokenOptions) MustSetExpiresAt ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustSetExpiresAt(expiresAt *time.Time)
func (*GitlabCreateAccessTokenOptions) MustSetScopes ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustSetScopes(scopes []string)
func (*GitlabCreateAccessTokenOptions) MustSetTokenName ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustSetTokenName(tokenName string)
func (*GitlabCreateAccessTokenOptions) MustSetUserName ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustSetUserName(userName string)
func (*GitlabCreateAccessTokenOptions) MustSetVerbose ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) MustSetVerbose(verbose bool)
func (*GitlabCreateAccessTokenOptions) SetExpiresAt ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) SetExpiresAt(expiresAt *time.Time) (err error)
func (*GitlabCreateAccessTokenOptions) SetScopes ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) SetScopes(scopes []string) (err error)
func (*GitlabCreateAccessTokenOptions) SetTokenName ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) SetTokenName(tokenName string) (err error)
func (*GitlabCreateAccessTokenOptions) SetUserName ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) SetUserName(userName string) (err error)
func (*GitlabCreateAccessTokenOptions) SetVerbose ¶ added in v0.31.0
func (g *GitlabCreateAccessTokenOptions) SetVerbose(verbose bool) (err error)
type GitlabCreateBranchOptions ¶ added in v0.88.0
type GitlabCreateBranchOptions struct { SourceBranchName string BranchName string Verbose bool FailIfAlreadyExists bool }
func NewGitlabCreateBranchOptions ¶ added in v0.88.0
func NewGitlabCreateBranchOptions() (g *GitlabCreateBranchOptions)
func (*GitlabCreateBranchOptions) GetBranchName ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) GetBranchName() (branchName string, err error)
func (*GitlabCreateBranchOptions) GetFailIfAlreadyExists ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) GetFailIfAlreadyExists() (failIfAlreadyExists bool)
func (*GitlabCreateBranchOptions) GetSourceBranchName ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) GetSourceBranchName() (sourceBranchName string, err error)
func (*GitlabCreateBranchOptions) GetVerbose ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) GetVerbose() (verbose bool)
func (*GitlabCreateBranchOptions) MustGetBranchName ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) MustGetBranchName() (branchName string)
func (*GitlabCreateBranchOptions) MustGetSourceBranchName ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) MustGetSourceBranchName() (sourceBranchName string)
func (*GitlabCreateBranchOptions) MustSetBranchName ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) MustSetBranchName(branchName string)
func (*GitlabCreateBranchOptions) MustSetSourceBranchName ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) MustSetSourceBranchName(sourceBranchName string)
func (*GitlabCreateBranchOptions) SetBranchName ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) SetBranchName(branchName string) (err error)
func (*GitlabCreateBranchOptions) SetFailIfAlreadyExists ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) SetFailIfAlreadyExists(failIfAlreadyExists bool)
func (*GitlabCreateBranchOptions) SetSourceBranchName ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) SetSourceBranchName(sourceBranchName string) (err error)
func (*GitlabCreateBranchOptions) SetVerbose ¶ added in v0.88.0
func (g *GitlabCreateBranchOptions) SetVerbose(verbose bool)
type GitlabCreateDeployKeyOptions ¶ added in v0.31.0
type GitlabCreateDeployKeyOptions struct { Name string WriteAccess bool PublicKeyFile files.File Verbose bool }
func NewGitlabCreateDeployKeyOptions ¶ added in v0.31.0
func NewGitlabCreateDeployKeyOptions() (g *GitlabCreateDeployKeyOptions)
func (*GitlabCreateDeployKeyOptions) GetName ¶ added in v0.31.0
func (o *GitlabCreateDeployKeyOptions) GetName() (name string, err error)
func (*GitlabCreateDeployKeyOptions) GetPublicKeyFile ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) GetPublicKeyFile() (publicKeyFile files.File, err error)
func (*GitlabCreateDeployKeyOptions) GetPublicKeyMaterialString ¶ added in v0.31.0
func (o *GitlabCreateDeployKeyOptions) GetPublicKeyMaterialString() (keyMaterial string, err error)
func (*GitlabCreateDeployKeyOptions) GetPublicKeyfile ¶ added in v0.31.0
func (o *GitlabCreateDeployKeyOptions) GetPublicKeyfile() (keyFile files.File, err error)
func (*GitlabCreateDeployKeyOptions) GetVerbose ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) GetVerbose() (verbose bool, err error)
func (*GitlabCreateDeployKeyOptions) GetWriteAccess ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) GetWriteAccess() (writeAccess bool, err error)
func (*GitlabCreateDeployKeyOptions) MustGetName ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustGetName() (name string)
func (*GitlabCreateDeployKeyOptions) MustGetPublicKeyFile ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustGetPublicKeyFile() (publicKeyFile files.File)
func (*GitlabCreateDeployKeyOptions) MustGetPublicKeyMaterialString ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustGetPublicKeyMaterialString() (keyMaterial string)
func (*GitlabCreateDeployKeyOptions) MustGetPublicKeyfile ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustGetPublicKeyfile() (keyFile files.File)
func (*GitlabCreateDeployKeyOptions) MustGetVerbose ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustGetVerbose() (verbose bool)
func (*GitlabCreateDeployKeyOptions) MustGetWriteAccess ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustGetWriteAccess() (writeAccess bool)
func (*GitlabCreateDeployKeyOptions) MustSetName ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustSetName(name string)
func (*GitlabCreateDeployKeyOptions) MustSetPublicKeyFile ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustSetPublicKeyFile(publicKeyFile files.File)
func (*GitlabCreateDeployKeyOptions) MustSetVerbose ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustSetVerbose(verbose bool)
func (*GitlabCreateDeployKeyOptions) MustSetWriteAccess ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) MustSetWriteAccess(writeAccess bool)
func (*GitlabCreateDeployKeyOptions) SetName ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) SetName(name string) (err error)
func (*GitlabCreateDeployKeyOptions) SetPublicKeyFile ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) SetPublicKeyFile(publicKeyFile files.File) (err error)
func (*GitlabCreateDeployKeyOptions) SetVerbose ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) SetVerbose(verbose bool) (err error)
func (*GitlabCreateDeployKeyOptions) SetWriteAccess ¶ added in v0.31.0
func (g *GitlabCreateDeployKeyOptions) SetWriteAccess(writeAccess bool) (err error)
type GitlabCreateGroupOptions ¶ added in v0.31.0
type GitlabCreateGroupOptions struct {
Verbose bool
}
func NewGitlabCreateGroupOptions ¶ added in v0.31.0
func NewGitlabCreateGroupOptions() (createOptions *GitlabCreateGroupOptions)
func (*GitlabCreateGroupOptions) GetDeepCopy ¶ added in v0.31.0
func (o *GitlabCreateGroupOptions) GetDeepCopy() (copy *GitlabCreateGroupOptions)
func (*GitlabCreateGroupOptions) GetVerbose ¶ added in v0.31.0
func (g *GitlabCreateGroupOptions) GetVerbose() (verbose bool, err error)
func (*GitlabCreateGroupOptions) MustGetVerbose ¶ added in v0.31.0
func (g *GitlabCreateGroupOptions) MustGetVerbose() (verbose bool)
func (*GitlabCreateGroupOptions) MustSetVerbose ¶ added in v0.31.0
func (g *GitlabCreateGroupOptions) MustSetVerbose(verbose bool)
func (*GitlabCreateGroupOptions) SetVerbose ¶ added in v0.31.0
func (g *GitlabCreateGroupOptions) SetVerbose(verbose bool) (err error)
type GitlabCreateMergeRequestOptions ¶ added in v0.55.0
type GitlabCreateMergeRequestOptions struct { SourceBranchName string TargetBranchName string Title string Description string Labels []string SquashEnabled bool DeleteSourceBranchOnMerge bool Verbose bool FailIfMergeRequestAlreadyExists bool AssignToSelf bool }
func NewGitlabCreateMergeRequestOptions ¶ added in v0.55.0
func NewGitlabCreateMergeRequestOptions() (g *GitlabCreateMergeRequestOptions)
func (*GitlabCreateMergeRequestOptions) GetAssignToSelf ¶ added in v0.88.0
func (g *GitlabCreateMergeRequestOptions) GetAssignToSelf() (assignToSelf bool)
func (*GitlabCreateMergeRequestOptions) GetDeepCopy ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) GetDeepCopy() (copy *GitlabCreateMergeRequestOptions)
func (*GitlabCreateMergeRequestOptions) GetDeleteSourceBranchOnMerge ¶ added in v0.88.0
func (g *GitlabCreateMergeRequestOptions) GetDeleteSourceBranchOnMerge() (deleteSourceBranchOnMerge bool)
func (*GitlabCreateMergeRequestOptions) GetDescription ¶ added in v0.60.0
func (g *GitlabCreateMergeRequestOptions) GetDescription() (description string, err error)
func (*GitlabCreateMergeRequestOptions) GetDescriptionOrEmptyStringIfUnset ¶ added in v0.60.0
func (g *GitlabCreateMergeRequestOptions) GetDescriptionOrEmptyStringIfUnset() (description string)
func (*GitlabCreateMergeRequestOptions) GetFailIfMergeRequestAlreadyExists ¶ added in v0.88.0
func (g *GitlabCreateMergeRequestOptions) GetFailIfMergeRequestAlreadyExists() (failIfMergeRequestAlreadyExists bool)
func (*GitlabCreateMergeRequestOptions) GetLabels ¶ added in v0.59.0
func (g *GitlabCreateMergeRequestOptions) GetLabels() (labels []string, err error)
func (*GitlabCreateMergeRequestOptions) GetLabelsOrEmptySliceIfUnset ¶ added in v0.59.0
func (g *GitlabCreateMergeRequestOptions) GetLabelsOrEmptySliceIfUnset() (labels []string)
func (*GitlabCreateMergeRequestOptions) GetSourceBranchName ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) GetSourceBranchName() (sourceBranchName string, err error)
func (*GitlabCreateMergeRequestOptions) GetSquashEnabled ¶ added in v0.88.0
func (g *GitlabCreateMergeRequestOptions) GetSquashEnabled() (squashEnabled bool)
func (*GitlabCreateMergeRequestOptions) GetTargetBranchName ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) GetTargetBranchName() (targetBranchName string, err error)
func (*GitlabCreateMergeRequestOptions) GetTitle ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) GetTitle() (title string, err error)
func (*GitlabCreateMergeRequestOptions) GetVerbose ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) GetVerbose() (verbose bool)
func (*GitlabCreateMergeRequestOptions) IsTargetBranchSet ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) IsTargetBranchSet() (isSet bool)
func (*GitlabCreateMergeRequestOptions) MustGetDescription ¶ added in v0.60.0
func (g *GitlabCreateMergeRequestOptions) MustGetDescription() (description string)
func (*GitlabCreateMergeRequestOptions) MustGetLabels ¶ added in v0.59.0
func (g *GitlabCreateMergeRequestOptions) MustGetLabels() (labels []string)
func (*GitlabCreateMergeRequestOptions) MustGetSourceBranchName ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) MustGetSourceBranchName() (sourceBranchName string)
func (*GitlabCreateMergeRequestOptions) MustGetTargetBranchName ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) MustGetTargetBranchName() (targetBranchName string)
func (*GitlabCreateMergeRequestOptions) MustGetTitle ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) MustGetTitle() (title string)
func (*GitlabCreateMergeRequestOptions) MustSetDescription ¶ added in v0.60.0
func (g *GitlabCreateMergeRequestOptions) MustSetDescription(description string)
func (*GitlabCreateMergeRequestOptions) MustSetLabels ¶ added in v0.59.0
func (g *GitlabCreateMergeRequestOptions) MustSetLabels(labels []string)
func (*GitlabCreateMergeRequestOptions) MustSetSourceBranchName ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) MustSetSourceBranchName(sourceBranchName string)
func (*GitlabCreateMergeRequestOptions) MustSetTargetBranchName ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) MustSetTargetBranchName(targetBranchName string)
func (*GitlabCreateMergeRequestOptions) MustSetTitle ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) MustSetTitle(title string)
func (*GitlabCreateMergeRequestOptions) SetAssignToSelf ¶ added in v0.88.0
func (g *GitlabCreateMergeRequestOptions) SetAssignToSelf(assignToSelf bool)
func (*GitlabCreateMergeRequestOptions) SetDeleteSourceBranchOnMerge ¶ added in v0.88.0
func (g *GitlabCreateMergeRequestOptions) SetDeleteSourceBranchOnMerge(deleteSourceBranchOnMerge bool)
func (*GitlabCreateMergeRequestOptions) SetDescription ¶ added in v0.60.0
func (g *GitlabCreateMergeRequestOptions) SetDescription(description string) (err error)
func (*GitlabCreateMergeRequestOptions) SetFailIfMergeRequestAlreadyExists ¶ added in v0.88.0
func (g *GitlabCreateMergeRequestOptions) SetFailIfMergeRequestAlreadyExists(failIfMergeRequestAlreadyExists bool)
func (*GitlabCreateMergeRequestOptions) SetLabels ¶ added in v0.59.0
func (g *GitlabCreateMergeRequestOptions) SetLabels(labels []string) (err error)
func (*GitlabCreateMergeRequestOptions) SetSourceBranchName ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) SetSourceBranchName(sourceBranchName string) (err error)
func (*GitlabCreateMergeRequestOptions) SetSquashEnabled ¶ added in v0.88.0
func (g *GitlabCreateMergeRequestOptions) SetSquashEnabled(squashEnabled bool)
func (*GitlabCreateMergeRequestOptions) SetTargetBranchName ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) SetTargetBranchName(targetBranchName string) (err error)
func (*GitlabCreateMergeRequestOptions) SetTitle ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) SetTitle(title string) (err error)
func (*GitlabCreateMergeRequestOptions) SetVerbose ¶ added in v0.55.0
func (g *GitlabCreateMergeRequestOptions) SetVerbose(verbose bool)
type GitlabCreatePersonalAccessTokenOptions ¶ added in v0.31.0
func NewGitlabCreatePersonalAccessTokenOptions ¶ added in v0.31.0
func NewGitlabCreatePersonalAccessTokenOptions() (g *GitlabCreatePersonalAccessTokenOptions)
func (*GitlabCreatePersonalAccessTokenOptions) GetName ¶ added in v0.31.0
func (o *GitlabCreatePersonalAccessTokenOptions) GetName() (name string, err error)
func (*GitlabCreatePersonalAccessTokenOptions) GetVerbose ¶ added in v0.31.0
func (g *GitlabCreatePersonalAccessTokenOptions) GetVerbose() (verbose bool, err error)
func (*GitlabCreatePersonalAccessTokenOptions) MustGetName ¶ added in v0.31.0
func (g *GitlabCreatePersonalAccessTokenOptions) MustGetName() (name string)
func (*GitlabCreatePersonalAccessTokenOptions) MustGetVerbose ¶ added in v0.31.0
func (g *GitlabCreatePersonalAccessTokenOptions) MustGetVerbose() (verbose bool)
func (*GitlabCreatePersonalAccessTokenOptions) MustSetName ¶ added in v0.31.0
func (g *GitlabCreatePersonalAccessTokenOptions) MustSetName(name string)
func (*GitlabCreatePersonalAccessTokenOptions) MustSetVerbose ¶ added in v0.31.0
func (g *GitlabCreatePersonalAccessTokenOptions) MustSetVerbose(verbose bool)
func (*GitlabCreatePersonalAccessTokenOptions) SetName ¶ added in v0.31.0
func (g *GitlabCreatePersonalAccessTokenOptions) SetName(name string) (err error)
func (*GitlabCreatePersonalAccessTokenOptions) SetVerbose ¶ added in v0.31.0
func (g *GitlabCreatePersonalAccessTokenOptions) SetVerbose(verbose bool) (err error)
type GitlabCreateProjectOptions ¶ added in v0.31.0
func NewGitlabCreateProjectOptions ¶ added in v0.31.0
func NewGitlabCreateProjectOptions() (g *GitlabCreateProjectOptions)
func (*GitlabCreateProjectOptions) GetGroupNames ¶ added in v0.31.0
func (o *GitlabCreateProjectOptions) GetGroupNames(verbose bool) (groupNames []string, err error)
func (*GitlabCreateProjectOptions) GetGroupPath ¶ added in v0.31.0
func (o *GitlabCreateProjectOptions) GetGroupPath(verbose bool) (groupPath string, err error)
func (*GitlabCreateProjectOptions) GetIsPublic ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) GetIsPublic() (isPublic bool, err error)
func (*GitlabCreateProjectOptions) GetProjectName ¶ added in v0.31.0
func (o *GitlabCreateProjectOptions) GetProjectName() (projectName string, err error)
func (*GitlabCreateProjectOptions) GetProjectPath ¶ added in v0.31.0
func (o *GitlabCreateProjectOptions) GetProjectPath() (projectPath string, err error)
func (*GitlabCreateProjectOptions) GetVerbose ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) GetVerbose() (verbose bool, err error)
func (*GitlabCreateProjectOptions) MustGetGroupNames ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) MustGetGroupNames(verbose bool) (groupNames []string)
func (*GitlabCreateProjectOptions) MustGetGroupPath ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) MustGetGroupPath(verbose bool) (groupPath string)
func (*GitlabCreateProjectOptions) MustGetIsPublic ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) MustGetIsPublic() (isPublic bool)
func (*GitlabCreateProjectOptions) MustGetProjectName ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) MustGetProjectName() (projectName string)
func (*GitlabCreateProjectOptions) MustGetProjectPath ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) MustGetProjectPath() (projectPath string)
func (*GitlabCreateProjectOptions) MustGetVerbose ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) MustGetVerbose() (verbose bool)
func (*GitlabCreateProjectOptions) MustSetIsPublic ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) MustSetIsPublic(isPublic bool)
func (*GitlabCreateProjectOptions) MustSetProjectPath ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) MustSetProjectPath(projectPath string)
func (*GitlabCreateProjectOptions) MustSetVerbose ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) MustSetVerbose(verbose bool)
func (*GitlabCreateProjectOptions) SetIsPublic ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) SetIsPublic(isPublic bool) (err error)
func (*GitlabCreateProjectOptions) SetProjectPath ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) SetProjectPath(projectPath string) (err error)
func (*GitlabCreateProjectOptions) SetVerbose ¶ added in v0.31.0
func (g *GitlabCreateProjectOptions) SetVerbose(verbose bool) (err error)
type GitlabCreateReleaseLinkOptions ¶ added in v0.101.0
func NewGitlabCreateReleaseLinkOptions ¶ added in v0.101.0
func NewGitlabCreateReleaseLinkOptions() (g *GitlabCreateReleaseLinkOptions)
func (*GitlabCreateReleaseLinkOptions) GetName ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) GetName() (name string, err error)
func (*GitlabCreateReleaseLinkOptions) GetNameAndUrl ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) GetNameAndUrl() (name string, url string, err error)
func (*GitlabCreateReleaseLinkOptions) GetUrl ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) GetUrl() (url string, err error)
func (*GitlabCreateReleaseLinkOptions) GetVerbose ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) GetVerbose() (verbose bool)
func (*GitlabCreateReleaseLinkOptions) MustGetName ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) MustGetName() (name string)
func (*GitlabCreateReleaseLinkOptions) MustGetNameAndUrl ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) MustGetNameAndUrl() (name string, url string)
func (*GitlabCreateReleaseLinkOptions) MustGetUrl ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) MustGetUrl() (url string)
func (*GitlabCreateReleaseLinkOptions) MustSetName ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) MustSetName(name string)
func (*GitlabCreateReleaseLinkOptions) MustSetUrl ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) MustSetUrl(url string)
func (*GitlabCreateReleaseLinkOptions) SetName ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) SetName(name string) (err error)
func (*GitlabCreateReleaseLinkOptions) SetUrl ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) SetUrl(url string) (err error)
func (*GitlabCreateReleaseLinkOptions) SetVerbose ¶ added in v0.101.0
func (g *GitlabCreateReleaseLinkOptions) SetVerbose(verbose bool)
type GitlabCreateReleaseOptions ¶ added in v0.100.0
func NewGitlabCreateReleaseOptions ¶ added in v0.100.0
func NewGitlabCreateReleaseOptions() (g *GitlabCreateReleaseOptions)
func (*GitlabCreateReleaseOptions) GetDescription ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) GetDescription() (description string, err error)
func (*GitlabCreateReleaseOptions) GetName ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) GetName() (name string, err error)
func (*GitlabCreateReleaseOptions) GetVerbose ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) GetVerbose() (verbose bool)
func (*GitlabCreateReleaseOptions) MustGetDescription ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) MustGetDescription() (description string)
func (*GitlabCreateReleaseOptions) MustGetName ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) MustGetName() (name string)
func (*GitlabCreateReleaseOptions) MustSetDescription ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) MustSetDescription(description string)
func (*GitlabCreateReleaseOptions) MustSetName ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) MustSetName(name string)
func (*GitlabCreateReleaseOptions) SetDescription ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) SetDescription(description string) (err error)
func (*GitlabCreateReleaseOptions) SetName ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) SetName(name string) (err error)
func (*GitlabCreateReleaseOptions) SetVerbose ¶ added in v0.100.0
func (g *GitlabCreateReleaseOptions) SetVerbose(verbose bool)
type GitlabCreateTagOptions ¶ added in v0.100.0
func NewGitlabCreateTagOptions ¶ added in v0.100.0
func NewGitlabCreateTagOptions() (g *GitlabCreateTagOptions)
func (*GitlabCreateTagOptions) GetDeepCopy ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) GetDeepCopy() (deepCopy *GitlabCreateTagOptions)
func (*GitlabCreateTagOptions) GetName ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) GetName() (name string, err error)
func (*GitlabCreateTagOptions) GetRef ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) GetRef() (ref string, err error)
func (*GitlabCreateTagOptions) GetVerbose ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) GetVerbose() (verbose bool)
func (*GitlabCreateTagOptions) MustGetName ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) MustGetName() (name string)
func (*GitlabCreateTagOptions) MustGetRef ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) MustGetRef() (ref string)
func (*GitlabCreateTagOptions) MustSetName ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) MustSetName(name string)
func (*GitlabCreateTagOptions) MustSetRef ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) MustSetRef(ref string)
func (*GitlabCreateTagOptions) SetName ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) SetName(name string) (err error)
func (*GitlabCreateTagOptions) SetRef ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) SetRef(ref string) (err error)
func (*GitlabCreateTagOptions) SetVerbose ¶ added in v0.100.0
func (g *GitlabCreateTagOptions) SetVerbose(verbose bool)
type GitlabCreateUserOptions ¶ added in v0.31.0
type GitlabCreateUserOptions struct { Name string Username string Password string Email string Verbose bool }
func NewGitlabCreateUserOptions ¶ added in v0.31.0
func NewGitlabCreateUserOptions() (g *GitlabCreateUserOptions)
func (*GitlabCreateUserOptions) GetEmail ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) GetEmail() (email string, err error)
func (*GitlabCreateUserOptions) GetName ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) GetName() (name string, err error)
func (*GitlabCreateUserOptions) GetPassword ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) GetPassword() (password string, err error)
func (*GitlabCreateUserOptions) GetUsername ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) GetUsername() (username string, err error)
func (*GitlabCreateUserOptions) GetVerbose ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) GetVerbose() (verbose bool, err error)
func (*GitlabCreateUserOptions) MustGetEmail ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustGetEmail() (email string)
func (*GitlabCreateUserOptions) MustGetName ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustGetName() (name string)
func (*GitlabCreateUserOptions) MustGetPassword ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustGetPassword() (password string)
func (*GitlabCreateUserOptions) MustGetUsername ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustGetUsername() (username string)
func (*GitlabCreateUserOptions) MustGetVerbose ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustGetVerbose() (verbose bool)
func (*GitlabCreateUserOptions) MustSetEmail ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustSetEmail(email string)
func (*GitlabCreateUserOptions) MustSetName ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustSetName(name string)
func (*GitlabCreateUserOptions) MustSetPassword ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustSetPassword(password string)
func (*GitlabCreateUserOptions) MustSetUsername ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustSetUsername(username string)
func (*GitlabCreateUserOptions) MustSetVerbose ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) MustSetVerbose(verbose bool)
func (*GitlabCreateUserOptions) SetEmail ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) SetEmail(email string) (err error)
func (*GitlabCreateUserOptions) SetName ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) SetName(name string) (err error)
func (*GitlabCreateUserOptions) SetPassword ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) SetPassword(password string) (err error)
func (*GitlabCreateUserOptions) SetUsername ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) SetUsername(username string) (err error)
func (*GitlabCreateUserOptions) SetVerbose ¶ added in v0.31.0
func (g *GitlabCreateUserOptions) SetVerbose(verbose bool) (err error)
type GitlabDeleteBranchOptions ¶ added in v0.55.0
type GitlabDeleteBranchOptions struct { // By default the delete function waits until the deleted branch is not returned in the branch list anymore to avoid race conditions (branch is deleted but still listed by gitlab.) // SkipWaitForDeletion = true will skip this check/wait. SkipWaitForDeletion bool // Enable verbose output: Verbose bool }
func NewGitlabDeleteBranchOptions ¶ added in v0.55.0
func NewGitlabDeleteBranchOptions() (g *GitlabDeleteBranchOptions)
func (*GitlabDeleteBranchOptions) GetSkipWaitForDeletion ¶ added in v0.55.0
func (g *GitlabDeleteBranchOptions) GetSkipWaitForDeletion() (skipWaitForDeletion bool)
func (*GitlabDeleteBranchOptions) GetVerbose ¶ added in v0.55.0
func (g *GitlabDeleteBranchOptions) GetVerbose() (verbose bool)
func (*GitlabDeleteBranchOptions) SetSkipWaitForDeletion ¶ added in v0.55.0
func (g *GitlabDeleteBranchOptions) SetSkipWaitForDeletion(skipWaitForDeletion bool)
func (*GitlabDeleteBranchOptions) SetVerbose ¶ added in v0.55.0
func (g *GitlabDeleteBranchOptions) SetVerbose(verbose bool)
type GitlabDeleteProjectOptions ¶ added in v0.54.0
func NewGitlabDeleteProjectOptions ¶ added in v0.54.0
func NewGitlabDeleteProjectOptions() (g *GitlabDeleteProjectOptions)
func (*GitlabDeleteProjectOptions) GetProjectPath ¶ added in v0.54.0
func (g *GitlabDeleteProjectOptions) GetProjectPath() (projectPath string, err error)
func (*GitlabDeleteProjectOptions) GetVerbose ¶ added in v0.54.0
func (g *GitlabDeleteProjectOptions) GetVerbose() (verbose bool)
func (*GitlabDeleteProjectOptions) MustGetProjectPath ¶ added in v0.54.0
func (g *GitlabDeleteProjectOptions) MustGetProjectPath() (projectPath string)
func (*GitlabDeleteProjectOptions) MustSetProjectPath ¶ added in v0.54.0
func (g *GitlabDeleteProjectOptions) MustSetProjectPath(projectPath string)
func (*GitlabDeleteProjectOptions) SetProjectPath ¶ added in v0.54.0
func (g *GitlabDeleteProjectOptions) SetProjectPath(projectPath string) (err error)
func (*GitlabDeleteProjectOptions) SetVerbose ¶ added in v0.54.0
func (g *GitlabDeleteProjectOptions) SetVerbose(verbose bool)
type GitlabDeleteReleaseOptions ¶ added in v0.100.0
func NewGitlabDeleteReleaseOptions ¶ added in v0.100.0
func NewGitlabDeleteReleaseOptions() (g *GitlabDeleteReleaseOptions)
func (*GitlabDeleteReleaseOptions) GetDeleteCorrespondingTag ¶ added in v0.100.0
func (g *GitlabDeleteReleaseOptions) GetDeleteCorrespondingTag() (deleteCorrespondingTag bool)
func (*GitlabDeleteReleaseOptions) GetVerbose ¶ added in v0.100.0
func (g *GitlabDeleteReleaseOptions) GetVerbose() (verbose bool)
func (*GitlabDeleteReleaseOptions) SetDeleteCorrespondingTag ¶ added in v0.100.0
func (g *GitlabDeleteReleaseOptions) SetDeleteCorrespondingTag(deleteCorrespondingTag bool)
func (*GitlabDeleteReleaseOptions) SetVerbose ¶ added in v0.100.0
func (g *GitlabDeleteReleaseOptions) SetVerbose(verbose bool)
type GitlabGetRepositoryFileOptions ¶ added in v0.39.0
func NewGitlabGetRepositoryFileOptions ¶ added in v0.39.0
func NewGitlabGetRepositoryFileOptions() (g *GitlabGetRepositoryFileOptions)
func (*GitlabGetRepositoryFileOptions) GetBranchName ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) GetBranchName() (branchName string, err error)
func (*GitlabGetRepositoryFileOptions) GetPath ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) GetPath() (path string, err error)
func (*GitlabGetRepositoryFileOptions) GetVerbose ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) GetVerbose() (verbose bool)
func (*GitlabGetRepositoryFileOptions) IsBranchNameSet ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) IsBranchNameSet() (isSet bool)
func (*GitlabGetRepositoryFileOptions) MustGetBranchName ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) MustGetBranchName() (branchName string)
func (*GitlabGetRepositoryFileOptions) MustGetPath ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) MustGetPath() (path string)
func (*GitlabGetRepositoryFileOptions) MustSetBranchName ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) MustSetBranchName(branchName string)
func (*GitlabGetRepositoryFileOptions) MustSetPath ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) MustSetPath(path string)
func (*GitlabGetRepositoryFileOptions) SetBranchName ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) SetBranchName(branchName string) (err error)
func (*GitlabGetRepositoryFileOptions) SetPath ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) SetPath(path string) (err error)
func (*GitlabGetRepositoryFileOptions) SetVerbose ¶ added in v0.39.0
func (g *GitlabGetRepositoryFileOptions) SetVerbose(verbose bool)
type GitlabGroup ¶ added in v0.31.0
type GitlabGroup struct {
// contains filtered or unexported fields
}
func NewGitlabGroup ¶ added in v0.31.0
func NewGitlabGroup() (gitlabGroup *GitlabGroup)
func (*GitlabGroup) Create ¶ added in v0.66.0
func (g *GitlabGroup) Create(createOptions *GitlabCreateGroupOptions) (err error)
func (*GitlabGroup) Delete ¶ added in v0.66.0
func (g *GitlabGroup) Delete(verbose bool) (err error)
func (*GitlabGroup) Exists ¶ added in v0.66.0
func (g *GitlabGroup) Exists(verbose bool) (exists bool, err error)
func (*GitlabGroup) GetFqdn ¶ added in v0.31.0
func (p *GitlabGroup) GetFqdn() (fqdn string, err error)
func (*GitlabGroup) GetGitlab ¶ added in v0.31.0
func (p *GitlabGroup) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabGroup) GetGitlabFqdn ¶ added in v0.66.0
func (g *GitlabGroup) GetGitlabFqdn() (gitlabFqdn string, err error)
func (*GitlabGroup) GetGitlabGroups ¶ added in v0.66.0
func (g *GitlabGroup) GetGitlabGroups() (gitlabGroups *GitlabGroups, err error)
func (*GitlabGroup) GetGroupIdOrPath ¶ added in v0.66.0
func (g *GitlabGroup) GetGroupIdOrPath() (groupIdOrPath interface{}, err error)
func (*GitlabGroup) GetGroupIdOrPathAsString ¶ added in v0.66.0
func (g *GitlabGroup) GetGroupIdOrPathAsString() (groupIdOrPath string, err error)
func (*GitlabGroup) GetGroupName ¶ added in v0.66.0
func (g *GitlabGroup) GetGroupName() (groupName string, err error)
func (*GitlabGroup) GetGroupPath ¶ added in v0.66.0
func (g *GitlabGroup) GetGroupPath() (groupPath string, err error)
func (*GitlabGroup) GetGroupPathAndId ¶ added in v0.66.0
func (g *GitlabGroup) GetGroupPathAndId() (groupPath string, groupId int, err error)
func (*GitlabGroup) GetGroupPathAndIdOrEmptyIfUnset ¶ added in v0.66.0
func (g *GitlabGroup) GetGroupPathAndIdOrEmptyIfUnset() (groupPath string, groupId int)
func (*GitlabGroup) GetGroupPathOrEmptyStringIfUnset ¶ added in v0.66.0
func (g *GitlabGroup) GetGroupPathOrEmptyStringIfUnset() (groupPath string)
func (*GitlabGroup) GetId ¶ added in v0.31.0
func (p *GitlabGroup) GetId() (id int, err error)
func (*GitlabGroup) GetIdOrMinusOneIfUnset ¶ added in v0.66.0
func (g *GitlabGroup) GetIdOrMinusOneIfUnset() (id int)
func (*GitlabGroup) GetNativeClient ¶ added in v0.31.0
func (p *GitlabGroup) GetNativeClient() (nativeClient *gitlab.Client, err error)
func (*GitlabGroup) GetNativeGroupsService ¶ added in v0.66.0
func (g *GitlabGroup) GetNativeGroupsService() (nativeGroupsService *gitlab.GroupsService, err error)
func (*GitlabGroup) GetParentGroup ¶ added in v0.66.0
func (g *GitlabGroup) GetParentGroup(verbose bool) (parentGroup *GitlabGroup, err error)
func (*GitlabGroup) GetParentGroupPath ¶ added in v0.66.0
func (p *GitlabGroup) GetParentGroupPath(verbose bool) (parentGroupPath string, err error)
func (*GitlabGroup) GetRawResponse ¶ added in v0.66.0
func (g *GitlabGroup) GetRawResponse() (rawRespoonse *gitlab.Group, err error)
func (*GitlabGroup) IsGroupPathSet ¶ added in v0.66.0
func (g *GitlabGroup) IsGroupPathSet() (isSet bool)
func (*GitlabGroup) IsIdSet ¶ added in v0.66.0
func (g *GitlabGroup) IsIdSet() (isSet bool)
func (*GitlabGroup) IsSubgroup ¶ added in v0.66.0
func (g *GitlabGroup) IsSubgroup() (isSubgroup bool, err error)
func (*GitlabGroup) ListProjectPaths ¶ added in v0.67.0
func (g *GitlabGroup) ListProjectPaths(options *GitlabListProjectsOptions) (projectPaths []string, err error)
func (*GitlabGroup) MustCreate ¶ added in v0.66.0
func (g *GitlabGroup) MustCreate(createOptions *GitlabCreateGroupOptions)
func (*GitlabGroup) MustDelete ¶ added in v0.66.0
func (g *GitlabGroup) MustDelete(verbose bool)
func (*GitlabGroup) MustExists ¶ added in v0.66.0
func (g *GitlabGroup) MustExists(verbose bool) (exists bool)
func (*GitlabGroup) MustGetFqdn ¶ added in v0.31.0
func (g *GitlabGroup) MustGetFqdn() (fqdn string)
func (*GitlabGroup) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabGroup) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabGroup) MustGetGitlabFqdn ¶ added in v0.66.0
func (g *GitlabGroup) MustGetGitlabFqdn() (gitlabFqdn string)
func (*GitlabGroup) MustGetGitlabGroups ¶ added in v0.66.0
func (g *GitlabGroup) MustGetGitlabGroups() (gitlabGroups *GitlabGroups)
func (*GitlabGroup) MustGetGroupIdOrPath ¶ added in v0.66.0
func (g *GitlabGroup) MustGetGroupIdOrPath() (groupIdOrPath interface{})
func (*GitlabGroup) MustGetGroupIdOrPathAsString ¶ added in v0.66.0
func (g *GitlabGroup) MustGetGroupIdOrPathAsString() (groupIdOrPath string)
func (*GitlabGroup) MustGetGroupName ¶ added in v0.66.0
func (g *GitlabGroup) MustGetGroupName() (groupName string)
func (*GitlabGroup) MustGetGroupPath ¶ added in v0.66.0
func (g *GitlabGroup) MustGetGroupPath() (groupPath string)
func (*GitlabGroup) MustGetGroupPathAndId ¶ added in v0.66.0
func (g *GitlabGroup) MustGetGroupPathAndId() (groupPath string, groupId int)
func (*GitlabGroup) MustGetId ¶ added in v0.31.0
func (g *GitlabGroup) MustGetId(verbose bool) (id int)
func (*GitlabGroup) MustGetNativeClient ¶ added in v0.31.0
func (g *GitlabGroup) MustGetNativeClient() (nativeClient *gitlab.Client)
func (*GitlabGroup) MustGetNativeGroupsService ¶ added in v0.66.0
func (g *GitlabGroup) MustGetNativeGroupsService() (nativeGroupsService *gitlab.GroupsService)
func (*GitlabGroup) MustGetParentGroup ¶ added in v0.66.0
func (g *GitlabGroup) MustGetParentGroup(verbose bool) (parentGroup *GitlabGroup)
func (*GitlabGroup) MustGetParentGroupPath ¶ added in v0.66.0
func (g *GitlabGroup) MustGetParentGroupPath(verbose bool) (parentGroupPath string)
func (*GitlabGroup) MustGetRawResponse ¶ added in v0.66.0
func (g *GitlabGroup) MustGetRawResponse() (rawRespoonse *gitlab.Group)
func (*GitlabGroup) MustIsSubgroup ¶ added in v0.66.0
func (g *GitlabGroup) MustIsSubgroup() (isSubgroup bool)
func (*GitlabGroup) MustListProjectPaths ¶ added in v0.67.0
func (g *GitlabGroup) MustListProjectPaths(options *GitlabListProjectsOptions) (projectPaths []string)
func (*GitlabGroup) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabGroup) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabGroup) MustSetGroupPath ¶ added in v0.66.0
func (g *GitlabGroup) MustSetGroupPath(groupPath string)
func (*GitlabGroup) MustSetId ¶ added in v0.31.0
func (g *GitlabGroup) MustSetId(id int)
func (*GitlabGroup) SetGitlab ¶ added in v0.31.0
func (p *GitlabGroup) SetGitlab(gitlab *GitlabInstance) (err error)
func (*GitlabGroup) SetGroupPath ¶ added in v0.66.0
func (g *GitlabGroup) SetGroupPath(groupPath string) (err error)
func (*GitlabGroup) SetId ¶ added in v0.31.0
func (p *GitlabGroup) SetId(id int) (err error)
type GitlabGroups ¶ added in v0.31.0
type GitlabGroups struct {
// contains filtered or unexported fields
}
func NewGitlabGroups ¶ added in v0.31.0
func NewGitlabGroups() (gitlabGroups *GitlabGroups)
func (*GitlabGroups) CreateGroup ¶ added in v0.31.0
func (g *GitlabGroups) CreateGroup(groupPath string, createOptions *GitlabCreateGroupOptions) (createdGroup *GitlabGroup, err error)
func (*GitlabGroups) GetFqdn ¶ added in v0.31.0
func (p *GitlabGroups) GetFqdn() (fqdn string, err error)
func (*GitlabGroups) GetGitlab ¶ added in v0.31.0
func (p *GitlabGroups) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabGroups) GetGroupById ¶ added in v0.66.0
func (g *GitlabGroups) GetGroupById(id int, verbose bool) (gitlabGroup *GitlabGroup, err error)
func (*GitlabGroups) GetGroupByPath ¶ added in v0.66.0
func (g *GitlabGroups) GetGroupByPath(groupPath string, verbose bool) (gitlabGroup *GitlabGroup, err error)
func (*GitlabGroups) GetNativeClient ¶ added in v0.31.0
func (p *GitlabGroups) GetNativeClient() (nativeClient *gitlab.Client, err error)
func (*GitlabGroups) GetNativeGroupsService ¶ added in v0.31.0
func (p *GitlabGroups) GetNativeGroupsService() (nativeGroupsService *gitlab.GroupsService, err error)
func (*GitlabGroups) GroupByGroupPathExists ¶ added in v0.31.0
func (g *GitlabGroups) GroupByGroupPathExists(groupPath string, verbose bool) (groupExists bool, err error)
func (*GitlabGroups) MustCreateGroup ¶ added in v0.31.0
func (g *GitlabGroups) MustCreateGroup(groupPath string, createOptions *GitlabCreateGroupOptions) (createdGroup *GitlabGroup)
func (*GitlabGroups) MustGetFqdn ¶ added in v0.31.0
func (g *GitlabGroups) MustGetFqdn() (fqdn string)
func (*GitlabGroups) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabGroups) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabGroups) MustGetGroupById ¶ added in v0.66.0
func (g *GitlabGroups) MustGetGroupById(id int, verbose bool) (gitlabGroup *GitlabGroup)
func (*GitlabGroups) MustGetGroupByPath ¶ added in v0.66.0
func (g *GitlabGroups) MustGetGroupByPath(groupPath string, verbose bool) (gitlabGroup *GitlabGroup)
func (*GitlabGroups) MustGetNativeClient ¶ added in v0.31.0
func (g *GitlabGroups) MustGetNativeClient() (nativeClient *gitlab.Client)
func (*GitlabGroups) MustGetNativeGroupsService ¶ added in v0.31.0
func (g *GitlabGroups) MustGetNativeGroupsService() (nativeGroupsService *gitlab.GroupsService)
func (*GitlabGroups) MustGroupByGroupPathExists ¶ added in v0.31.0
func (g *GitlabGroups) MustGroupByGroupPathExists(groupPath string, verbose bool) (groupExists bool)
func (*GitlabGroups) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabGroups) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabGroups) SetGitlab ¶ added in v0.31.0
func (p *GitlabGroups) SetGitlab(gitlab *GitlabInstance) (err error)
type GitlabInstance ¶ added in v0.31.0
type GitlabInstance struct {
// contains filtered or unexported fields
}
func GetGitlabByFQDN ¶ added in v0.31.0
func GetGitlabByFQDN(fqdn string) (gitlab *GitlabInstance, err error)
func MustGetGitlabByFQDN ¶ added in v0.31.0
func MustGetGitlabByFQDN(fqdn string) (gitlab *GitlabInstance)
func MustGetGitlabByFqdn ¶ added in v0.31.0
func MustGetGitlabByFqdn(fqdn string) (gitlab *GitlabInstance)
func NewGitlab ¶ added in v0.31.0
func NewGitlab() (gitlab *GitlabInstance)
func NewGitlabInstance ¶ added in v0.38.0
func NewGitlabInstance() (g *GitlabInstance)
func (*GitlabInstance) AddRunner ¶ added in v0.31.0
func (g *GitlabInstance) AddRunner(newRunnerOptions *GitlabAddRunnerOptions) (createdRunner *GitlabRunner, err error)
func (*GitlabInstance) Authenticate ¶ added in v0.31.0
func (g *GitlabInstance) Authenticate(authOptions *GitlabAuthenticationOptions) (err error)
func (*GitlabInstance) CheckProjectByPathExists ¶ added in v0.31.0
func (g *GitlabInstance) CheckProjectByPathExists(projectPath string, verbose bool) (projectExists bool, err error)
func (*GitlabInstance) CheckRunnerStatusOk ¶ added in v0.31.0
func (g *GitlabInstance) CheckRunnerStatusOk(runnerName string, verbose bool) (isStatusOk bool, err error)
func (*GitlabInstance) CreateAccessToken ¶ added in v0.31.0
func (g *GitlabInstance) CreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string, err error)
func (*GitlabInstance) CreateGroupByPath ¶ added in v0.66.0
func (g *GitlabInstance) CreateGroupByPath(groupPath string, createOptions *GitlabCreateGroupOptions) (createdGroup *GitlabGroup, err error)
func (*GitlabInstance) CreatePersonalProject ¶ added in v0.55.0
func (g *GitlabInstance) CreatePersonalProject(projectName string, verbose bool) (personalProject *GitlabProject, err error)
func (*GitlabInstance) CreateProject ¶ added in v0.31.0
func (g *GitlabInstance) CreateProject(createOptions *GitlabCreateProjectOptions) (gitlabProject *GitlabProject, err error)
func (*GitlabInstance) DeleteGroupByPath ¶ added in v0.66.0
func (g *GitlabInstance) DeleteGroupByPath(groupPath string, verbose bool) (err error)
func (*GitlabInstance) GetApiV4Url ¶ added in v0.31.0
func (g *GitlabInstance) GetApiV4Url() (v4ApiUrl string, err error)
func (*GitlabInstance) GetCurrentUser ¶ added in v0.54.0
func (g *GitlabInstance) GetCurrentUser(verbose bool) (currentUser *GitlabUser, err error)
func (*GitlabInstance) GetCurrentUsersName ¶ added in v0.58.0
func (g *GitlabInstance) GetCurrentUsersName(verbose bool) (currentUserName string, err error)
Returns the human readable gitlab user name also known as display name.
For the technical user name use `GetCurrentUsersUsername`.
func (*GitlabInstance) GetCurrentUsersUsername ¶ added in v0.58.0
func (g *GitlabInstance) GetCurrentUsersUsername(verbose bool) (currentUserName string, err error)
Return the gitlab user name. This is the technical user name used by Gitlab.
To get the human readable user name use `GetCurrentUsersName`.
func (*GitlabInstance) GetCurrentlyUsedAccessToken ¶ added in v0.31.0
func (g *GitlabInstance) GetCurrentlyUsedAccessToken() (gitlabAccessToken string, err error)
func (*GitlabInstance) GetDeepCopy ¶ added in v0.88.0
func (g *GitlabInstance) GetDeepCopy() (copy *GitlabInstance)
func (*GitlabInstance) GetFqdn ¶ added in v0.31.0
func (g *GitlabInstance) GetFqdn() (fqdn string, err error)
func (*GitlabInstance) GetGitlabGroups ¶ added in v0.31.0
func (g *GitlabInstance) GetGitlabGroups() (gitlabGroups *GitlabGroups, err error)
func (*GitlabInstance) GetGitlabProjectById ¶ added in v0.38.0
func (g *GitlabInstance) GetGitlabProjectById(projectId int, verbose bool) (gitlabProject *GitlabProject, err error)
func (*GitlabInstance) GetGitlabProjectByPath ¶ added in v0.31.0
func (g *GitlabInstance) GetGitlabProjectByPath(projectPath string, verbose bool) (gitlabProject *GitlabProject, err error)
func (*GitlabInstance) GetGitlabProjects ¶ added in v0.31.0
func (g *GitlabInstance) GetGitlabProjects() (gitlabProjects *GitlabProjects, err error)
func (*GitlabInstance) GetGitlabRunners ¶ added in v0.31.0
func (g *GitlabInstance) GetGitlabRunners() (gitlabRunners *GitlabRunnersService, err error)
func (*GitlabInstance) GetGitlabSettings ¶ added in v0.31.0
func (g *GitlabInstance) GetGitlabSettings() (gitlabSettings *GitlabSettings, err error)
func (*GitlabInstance) GetGitlabUsers ¶ added in v0.31.0
func (g *GitlabInstance) GetGitlabUsers() (gitlabUsers *GitlabUsers, err error)
func (*GitlabInstance) GetGroupById ¶ added in v0.66.0
func (g *GitlabInstance) GetGroupById(id int, verbose bool) (gitlabGroup *GitlabGroup, err error)
func (*GitlabInstance) GetGroupByPath ¶ added in v0.66.0
func (g *GitlabInstance) GetGroupByPath(groupPath string, verbose bool) (gitlabGroup *GitlabGroup, err error)
func (*GitlabInstance) GetNativeBranchesClient ¶ added in v0.46.0
func (g *GitlabInstance) GetNativeBranchesClient() (nativeClient *gitlab.BranchesService, err error)
func (*GitlabInstance) GetNativeClient ¶ added in v0.31.0
func (g *GitlabInstance) GetNativeClient() (nativeClient *gitlab.Client, err error)
func (*GitlabInstance) GetNativeMergeRequestsService ¶ added in v0.55.0
func (g *GitlabInstance) GetNativeMergeRequestsService() (nativeClient *gitlab.MergeRequestsService, err error)
func (*GitlabInstance) GetNativeReleaseLinksClient ¶ added in v0.101.0
func (g *GitlabInstance) GetNativeReleaseLinksClient() (nativeClient *gitlab.ReleaseLinksService, err error)
func (*GitlabInstance) GetNativeReleasesClient ¶ added in v0.100.0
func (g *GitlabInstance) GetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService, err error)
func (*GitlabInstance) GetNativeRepositoriesClient ¶ added in v0.45.0
func (g *GitlabInstance) GetNativeRepositoriesClient() (nativeRepositoriesClient *gitlab.RepositoriesService, err error)
func (*GitlabInstance) GetNativeRepositoryFilesClient ¶ added in v0.39.0
func (g *GitlabInstance) GetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, err error)
func (*GitlabInstance) GetNativeTagsService ¶ added in v0.31.0
func (g *GitlabInstance) GetNativeTagsService() (nativeTagsService *gitlab.TagsService, err error)
func (*GitlabInstance) GetPersonalAccessTokenList ¶ added in v0.31.0
func (g *GitlabInstance) GetPersonalAccessTokenList(verbose bool) (personalAccessTokens []*GitlabPersonalAccessToken, err error)
func (*GitlabInstance) GetPersonalAccessTokens ¶ added in v0.31.0
func (g *GitlabInstance) GetPersonalAccessTokens() (tokens *GitlabPersonalAccessTokenService, err error)
func (*GitlabInstance) GetPersonalProjectByName ¶ added in v0.54.0
func (g *GitlabInstance) GetPersonalProjectByName(projectName string, verbose bool) (project *GitlabProject, err error)
func (*GitlabInstance) GetPersonalProjectsPath ¶ added in v0.54.0
func (g *GitlabInstance) GetPersonalProjectsPath(verbose bool) (personalProjetsPath string, err error)
Get the path to the personal projects which is "users/USERNAME/projects".
func (*GitlabInstance) GetProjectIdByPath ¶ added in v0.31.0
func (g *GitlabInstance) GetProjectIdByPath(projectPath string, verbose bool) (projectId int, err error)
func (*GitlabInstance) GetProjectPathList ¶ added in v0.31.0
func (g *GitlabInstance) GetProjectPathList(options *GitlabgetProjectListOptions) (projectPaths []string, err error)
func (*GitlabInstance) GetRunnerByName ¶ added in v0.31.0
func (g *GitlabInstance) GetRunnerByName(name string) (runner *GitlabRunner, err error)
func (*GitlabInstance) GetUserById ¶ added in v0.54.0
func (g *GitlabInstance) GetUserById(id int) (gitlabUser *GitlabUser, err error)
func (*GitlabInstance) GetUserByUsername ¶ added in v0.31.0
func (g *GitlabInstance) GetUserByUsername(username string) (gitlabUser *GitlabUser, err error)
func (*GitlabInstance) GetUserId ¶ added in v0.31.0
func (g *GitlabInstance) GetUserId() (userId int, err error)
Returns the `userId` of the currently logged in user.
func (*GitlabInstance) GetUserNameList ¶ added in v0.31.0
func (g *GitlabInstance) GetUserNameList(verbose bool) (userNames []string, err error)
func (*GitlabInstance) GroupByGroupPathExists ¶ added in v0.31.0
func (g *GitlabInstance) GroupByGroupPathExists(groupPath string, verbose bool) (groupExists bool, err error)
func (*GitlabInstance) MustAddRunner ¶ added in v0.31.0
func (g *GitlabInstance) MustAddRunner(newRunnerOptions *GitlabAddRunnerOptions) (createdRunner *GitlabRunner)
func (*GitlabInstance) MustAuthenticate ¶ added in v0.31.0
func (g *GitlabInstance) MustAuthenticate(authOptions *GitlabAuthenticationOptions)
func (*GitlabInstance) MustCheckProjectByPathExists ¶ added in v0.31.0
func (g *GitlabInstance) MustCheckProjectByPathExists(projectPath string, verbose bool) (projectExists bool)
func (*GitlabInstance) MustCheckRunnerStatusOk ¶ added in v0.31.0
func (g *GitlabInstance) MustCheckRunnerStatusOk(runnerName string, verbose bool) (isStatusOk bool)
func (*GitlabInstance) MustCreateGroupByPath ¶ added in v0.66.0
func (g *GitlabInstance) MustCreateGroupByPath(groupPath string, createOptions *GitlabCreateGroupOptions) (createdGroup *GitlabGroup)
func (*GitlabInstance) MustCreatePersonalProject ¶ added in v0.55.0
func (g *GitlabInstance) MustCreatePersonalProject(projectName string, verbose bool) (personalProject *GitlabProject)
func (*GitlabInstance) MustCreateProject ¶ added in v0.31.0
func (g *GitlabInstance) MustCreateProject(createOptions *GitlabCreateProjectOptions) (gitlabProject *GitlabProject)
func (*GitlabInstance) MustDeleteGroupByPath ¶ added in v0.66.0
func (g *GitlabInstance) MustDeleteGroupByPath(groupPath string, verbose bool)
func (*GitlabInstance) MustGetApiV4Url ¶ added in v0.31.0
func (g *GitlabInstance) MustGetApiV4Url() (v4ApiUrl string)
func (*GitlabInstance) MustGetCurrentUser ¶ added in v0.54.0
func (g *GitlabInstance) MustGetCurrentUser(verbose bool) (currentUser *GitlabUser)
func (*GitlabInstance) MustGetCurrentUserName ¶ added in v0.54.0
func (g *GitlabInstance) MustGetCurrentUserName(verbose bool) (currentUserName string)
func (*GitlabInstance) MustGetCurrentUsersName ¶ added in v0.58.0
func (g *GitlabInstance) MustGetCurrentUsersName(verbose bool) (currentUserName string)
func (*GitlabInstance) MustGetCurrentUsersUsername ¶ added in v0.58.0
func (g *GitlabInstance) MustGetCurrentUsersUsername(verbose bool) (currentUserName string)
func (*GitlabInstance) MustGetCurrentlyUsedAccessToken ¶ added in v0.31.0
func (g *GitlabInstance) MustGetCurrentlyUsedAccessToken() (gitlabAccessToken string)
func (*GitlabInstance) MustGetFqdn ¶ added in v0.31.0
func (g *GitlabInstance) MustGetFqdn() (fqdn string)
func (*GitlabInstance) MustGetGitlabGroups ¶ added in v0.31.0
func (g *GitlabInstance) MustGetGitlabGroups() (gitlabGroups *GitlabGroups)
func (*GitlabInstance) MustGetGitlabProjectById ¶ added in v0.38.0
func (g *GitlabInstance) MustGetGitlabProjectById(projectId int, verbose bool) (gitlabProject *GitlabProject)
func (*GitlabInstance) MustGetGitlabProjectByPath ¶ added in v0.31.0
func (g *GitlabInstance) MustGetGitlabProjectByPath(projectPath string, verbose bool) (gitlabProject *GitlabProject)
func (*GitlabInstance) MustGetGitlabProjects ¶ added in v0.31.0
func (g *GitlabInstance) MustGetGitlabProjects() (gitlabProjects *GitlabProjects)
func (*GitlabInstance) MustGetGitlabRunners ¶ added in v0.31.0
func (g *GitlabInstance) MustGetGitlabRunners() (gitlabRunners *GitlabRunnersService)
func (*GitlabInstance) MustGetGitlabSettings ¶ added in v0.31.0
func (g *GitlabInstance) MustGetGitlabSettings() (gitlabSettings *GitlabSettings)
func (*GitlabInstance) MustGetGitlabUsers ¶ added in v0.31.0
func (g *GitlabInstance) MustGetGitlabUsers() (gitlabUsers *GitlabUsers)
func (*GitlabInstance) MustGetGroupById ¶ added in v0.66.0
func (g *GitlabInstance) MustGetGroupById(id int, verbose bool) (gitlabGroup *GitlabGroup)
func (*GitlabInstance) MustGetGroupByPath ¶ added in v0.66.0
func (g *GitlabInstance) MustGetGroupByPath(groupPath string, verbose bool) (gitlabGroup *GitlabGroup)
func (*GitlabInstance) MustGetNativeBranchesClient ¶ added in v0.46.0
func (g *GitlabInstance) MustGetNativeBranchesClient() (nativeClient *gitlab.BranchesService)
func (*GitlabInstance) MustGetNativeClient ¶ added in v0.31.0
func (g *GitlabInstance) MustGetNativeClient() (nativeClient *gitlab.Client)
func (*GitlabInstance) MustGetNativeMergeRequestsService ¶ added in v0.55.0
func (g *GitlabInstance) MustGetNativeMergeRequestsService() (nativeClient *gitlab.MergeRequestsService)
func (*GitlabInstance) MustGetNativeReleaseLinksClient ¶ added in v0.101.0
func (g *GitlabInstance) MustGetNativeReleaseLinksClient() (nativeClient *gitlab.ReleaseLinksService)
func (*GitlabInstance) MustGetNativeReleasesClient ¶ added in v0.100.0
func (g *GitlabInstance) MustGetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService)
func (*GitlabInstance) MustGetNativeRepositoriesClient ¶ added in v0.46.0
func (g *GitlabInstance) MustGetNativeRepositoriesClient() (nativeRepositoriesClient *gitlab.RepositoriesService)
func (*GitlabInstance) MustGetNativeRepositoryFilesClient ¶ added in v0.39.0
func (g *GitlabInstance) MustGetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService)
func (*GitlabInstance) MustGetNativeTagsService ¶ added in v0.31.0
func (g *GitlabInstance) MustGetNativeTagsService() (nativeTagsService *gitlab.TagsService)
func (*GitlabInstance) MustGetPersonalAccessTokenList ¶ added in v0.31.0
func (g *GitlabInstance) MustGetPersonalAccessTokenList(verbose bool) (personalAccessTokens []*GitlabPersonalAccessToken)
func (*GitlabInstance) MustGetPersonalAccessTokens ¶ added in v0.31.0
func (g *GitlabInstance) MustGetPersonalAccessTokens() (tokens *GitlabPersonalAccessTokenService)
func (*GitlabInstance) MustGetPersonalProjectByName ¶ added in v0.54.0
func (g *GitlabInstance) MustGetPersonalProjectByName(projectName string, verbose bool) (project *GitlabProject)
func (*GitlabInstance) MustGetPersonalProjectsPath ¶ added in v0.54.0
func (g *GitlabInstance) MustGetPersonalProjectsPath(verbose bool) (personalProjetsPath string)
func (*GitlabInstance) MustGetProjectIdByPath ¶ added in v0.31.0
func (g *GitlabInstance) MustGetProjectIdByPath(projectPath string, verbose bool) (projectId int)
func (*GitlabInstance) MustGetProjectPathList ¶ added in v0.31.0
func (g *GitlabInstance) MustGetProjectPathList(options *GitlabgetProjectListOptions) (projectPaths []string)
func (*GitlabInstance) MustGetRunnerByName ¶ added in v0.31.0
func (g *GitlabInstance) MustGetRunnerByName(name string) (runner *GitlabRunner)
func (*GitlabInstance) MustGetUserById ¶ added in v0.54.0
func (g *GitlabInstance) MustGetUserById(id int) (gitlabUser *GitlabUser)
func (*GitlabInstance) MustGetUserByUsername ¶ added in v0.31.0
func (g *GitlabInstance) MustGetUserByUsername(username string) (gitlabUser *GitlabUser)
func (*GitlabInstance) MustGetUserId ¶ added in v0.31.0
func (g *GitlabInstance) MustGetUserId() (userId int)
func (*GitlabInstance) MustGetUserNameList ¶ added in v0.31.0
func (g *GitlabInstance) MustGetUserNameList(verbose bool) (userNames []string)
func (*GitlabInstance) MustGroupByGroupPathExists ¶ added in v0.31.0
func (g *GitlabInstance) MustGroupByGroupPathExists(groupPath string, verbose bool) (groupExists bool)
func (*GitlabInstance) MustProjectByProjectIdExists ¶ added in v0.38.0
func (g *GitlabInstance) MustProjectByProjectIdExists(projectId int, verbose bool) (projectExists bool)
func (*GitlabInstance) MustProjectByProjectPathExists ¶ added in v0.31.0
func (g *GitlabInstance) MustProjectByProjectPathExists(projectPath string, verbose bool) (projectExists bool)
func (*GitlabInstance) MustRecreatePersonalAccessToken ¶ added in v0.31.0
func (g *GitlabInstance) MustRecreatePersonalAccessToken(createOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string)
func (*GitlabInstance) MustRemoveAllRunners ¶ added in v0.31.0
func (g *GitlabInstance) MustRemoveAllRunners(verbose bool)
func (*GitlabInstance) MustResetAccessToken ¶ added in v0.31.0
func (g *GitlabInstance) MustResetAccessToken(options *GitlabResetAccessTokenOptions)
func (*GitlabInstance) MustResetUserPassword ¶ added in v0.31.0
func (g *GitlabInstance) MustResetUserPassword(resetOptions *GitlabResetPasswordOptions)
func (*GitlabInstance) MustSetCurrentlyUsedAccessToken ¶ added in v0.31.0
func (g *GitlabInstance) MustSetCurrentlyUsedAccessToken(currentlyUsedAccessToken *string)
func (*GitlabInstance) MustSetFqdn ¶ added in v0.31.0
func (g *GitlabInstance) MustSetFqdn(fqdn string)
func (*GitlabInstance) MustSetNativeClient ¶ added in v0.31.0
func (g *GitlabInstance) MustSetNativeClient(nativeClient *gitlab.Client)
func (*GitlabInstance) MustUseUnauthenticatedClient ¶ added in v0.31.0
func (g *GitlabInstance) MustUseUnauthenticatedClient(verbose bool)
func (*GitlabInstance) ProjectByProjectIdExists ¶ added in v0.37.0
func (g *GitlabInstance) ProjectByProjectIdExists(projectId int, verbose bool) (projectExists bool, err error)
func (*GitlabInstance) ProjectByProjectPathExists ¶ added in v0.31.0
func (g *GitlabInstance) ProjectByProjectPathExists(projectPath string, verbose bool) (projectExists bool, err error)
func (*GitlabInstance) RecreatePersonalAccessToken ¶ added in v0.31.0
func (g *GitlabInstance) RecreatePersonalAccessToken(createOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string, err error)
func (*GitlabInstance) RemoveAllRunners ¶ added in v0.31.0
func (g *GitlabInstance) RemoveAllRunners(verbose bool) (err error)
func (*GitlabInstance) ResetAccessToken ¶ added in v0.31.0
func (g *GitlabInstance) ResetAccessToken(options *GitlabResetAccessTokenOptions) (err error)
func (*GitlabInstance) ResetUserPassword ¶ added in v0.31.0
func (g *GitlabInstance) ResetUserPassword(resetOptions *GitlabResetPasswordOptions) (err error)
func (*GitlabInstance) SetCurrentlyUsedAccessToken ¶ added in v0.31.0
func (g *GitlabInstance) SetCurrentlyUsedAccessToken(currentlyUsedAccessToken *string) (err error)
func (*GitlabInstance) SetFqdn ¶ added in v0.31.0
func (g *GitlabInstance) SetFqdn(fqdn string) (err error)
func (*GitlabInstance) SetNativeClient ¶ added in v0.31.0
func (g *GitlabInstance) SetNativeClient(nativeClient *gitlab.Client) (err error)
func (*GitlabInstance) UseUnauthenticatedClient ¶ added in v0.31.0
func (g *GitlabInstance) UseUnauthenticatedClient(verbose bool) (err error)
type GitlabListProjectsOptions ¶ added in v0.67.0
type GitlabListProjectsOptions struct {
Verbose bool
}
func NewGitlabListProjectsOptions ¶ added in v0.67.0
func NewGitlabListProjectsOptions() (g *GitlabListProjectsOptions)
func (*GitlabListProjectsOptions) GetVerbose ¶ added in v0.67.0
func (g *GitlabListProjectsOptions) GetVerbose() (verbose bool)
func (*GitlabListProjectsOptions) SetVerbose ¶ added in v0.67.0
func (g *GitlabListProjectsOptions) SetVerbose(verbose bool)
type GitlabMergeOptions ¶ added in v0.73.0
type GitlabMergeOptions struct {
Verbose bool
}
func NewGitlabMergeOptions ¶ added in v0.73.0
func NewGitlabMergeOptions() (g *GitlabMergeOptions)
func (*GitlabMergeOptions) GetVerbose ¶ added in v0.73.0
func (g *GitlabMergeOptions) GetVerbose() (verbose bool)
func (*GitlabMergeOptions) SetVerbose ¶ added in v0.73.0
func (g *GitlabMergeOptions) SetVerbose(verbose bool)
type GitlabMergeRequest ¶ added in v0.55.0
type GitlabMergeRequest struct {
// contains filtered or unexported fields
}
func NewGitlabMergeRequest ¶ added in v0.55.0
func NewGitlabMergeRequest() (g *GitlabMergeRequest)
func (*GitlabMergeRequest) GetCachedSourceBranchName ¶ added in v0.64.0
func (g *GitlabMergeRequest) GetCachedSourceBranchName() (cachedSourceBranchName string, err error)
func (*GitlabMergeRequest) GetCachedTargetBranchName ¶ added in v0.64.0
func (g *GitlabMergeRequest) GetCachedTargetBranchName() (cachedTargetBranchName string, err error)
func (*GitlabMergeRequest) GetCachedTitle ¶ added in v0.55.0
func (g *GitlabMergeRequest) GetCachedTitle() (cachedTitle string, err error)
func (*GitlabMergeRequest) GetDescription ¶ added in v0.60.0
func (g *GitlabMergeRequest) GetDescription() (description string, err error)
func (*GitlabMergeRequest) GetDetailedMergeStatus ¶ added in v0.73.0
func (g *GitlabMergeRequest) GetDetailedMergeStatus(verbose bool) (mergeStatus string, err error)
func (*GitlabMergeRequest) GetGitlabProject ¶ added in v0.73.0
func (g *GitlabMergeRequest) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabMergeRequest) GetGitlabProjectMergeRequests ¶ added in v0.56.0
func (g *GitlabMergeRequest) GetGitlabProjectMergeRequests() (gitlabProjectMergeRequests *GitlabProjectMergeRequests, err error)
func (*GitlabMergeRequest) GetId ¶ added in v0.55.0
func (g *GitlabMergeRequest) GetId() (id int, err error)
func (*GitlabMergeRequest) GetLabels ¶ added in v0.59.0
func (g *GitlabMergeRequest) GetLabels() (labels []string, err error)
func (*GitlabMergeRequest) GetMergeCommit ¶ added in v0.73.0
func (g *GitlabMergeRequest) GetMergeCommit(verbose bool) (mergeCommit *GitlabCommit, err error)
func (*GitlabMergeRequest) GetMergeCommitSha ¶ added in v0.73.0
func (g *GitlabMergeRequest) GetMergeCommitSha(verbose bool) (mergeCommitSha string, err error)
func (*GitlabMergeRequest) GetNativeMergeRequestsService ¶ added in v0.55.0
func (g *GitlabMergeRequest) GetNativeMergeRequestsService() (nativeService *gitlab.MergeRequestsService, err error)
func (*GitlabMergeRequest) GetProject ¶ added in v0.55.0
func (g *GitlabMergeRequest) GetProject() (project *GitlabProject, err error)
func (*GitlabMergeRequest) GetProjectId ¶ added in v0.55.0
func (g *GitlabMergeRequest) GetProjectId() (projectId int, err error)
func (*GitlabMergeRequest) GetRawResponse ¶ added in v0.55.0
func (g *GitlabMergeRequest) GetRawResponse() (rawResponse *gitlab.MergeRequest, err error)
func (*GitlabMergeRequest) GetSourceBranchName ¶ added in v0.55.0
func (g *GitlabMergeRequest) GetSourceBranchName() (sourceBranchName string, err error)
func (*GitlabMergeRequest) GetTargetBranchName ¶ added in v0.55.0
func (g *GitlabMergeRequest) GetTargetBranchName() (targetBranchName string, err error)
func (*GitlabMergeRequest) GetUrlAsString ¶ added in v0.55.0
func (g *GitlabMergeRequest) GetUrlAsString() (url string, err error)
func (*GitlabMergeRequest) IsClosed ¶ added in v0.55.0
func (g *GitlabMergeRequest) IsClosed() (isClosed bool, err error)
func (*GitlabMergeRequest) IsMerged ¶ added in v0.73.0
func (g *GitlabMergeRequest) IsMerged() (isMerged bool, err error)
func (*GitlabMergeRequest) IsOpen ¶ added in v0.55.0
func (g *GitlabMergeRequest) IsOpen() (isOpen bool, err error)
func (*GitlabMergeRequest) Merge ¶ added in v0.73.0
func (g *GitlabMergeRequest) Merge(options *GitlabMergeOptions) (mergeCommit *GitlabCommit, err error)
func (*GitlabMergeRequest) MustClose ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustClose(closeMessage string, verbose bool) (err error)
func (*GitlabMergeRequest) MustGetCachedSourceBranchName ¶ added in v0.64.0
func (g *GitlabMergeRequest) MustGetCachedSourceBranchName() (cachedSourceBranchName string)
func (*GitlabMergeRequest) MustGetCachedTargetBranchName ¶ added in v0.64.0
func (g *GitlabMergeRequest) MustGetCachedTargetBranchName() (cachedTargetBranchName string)
func (*GitlabMergeRequest) MustGetCachedTitle ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetCachedTitle() (cachedTitle string)
func (*GitlabMergeRequest) MustGetDescription ¶ added in v0.60.0
func (g *GitlabMergeRequest) MustGetDescription() (description string)
func (*GitlabMergeRequest) MustGetDetailedMergeStatus ¶ added in v0.73.0
func (g *GitlabMergeRequest) MustGetDetailedMergeStatus(verbose bool) (mergeStatus string)
func (*GitlabMergeRequest) MustGetGitlabMergeRequests ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetGitlabMergeRequests() (gitlabMergeRequests *GitlabProjectMergeRequests)
func (*GitlabMergeRequest) MustGetGitlabProject ¶ added in v0.73.0
func (g *GitlabMergeRequest) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabMergeRequest) MustGetGitlabProjectMergeRequests ¶ added in v0.56.0
func (g *GitlabMergeRequest) MustGetGitlabProjectMergeRequests() (gitlabProjectMergeRequests *GitlabProjectMergeRequests)
func (*GitlabMergeRequest) MustGetId ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetId() (id int)
func (*GitlabMergeRequest) MustGetLabels ¶ added in v0.59.0
func (g *GitlabMergeRequest) MustGetLabels() (labels []string)
func (*GitlabMergeRequest) MustGetMergeCommit ¶ added in v0.73.0
func (g *GitlabMergeRequest) MustGetMergeCommit(verbose bool) (mergeCommit *GitlabCommit)
func (*GitlabMergeRequest) MustGetMergeCommitSha ¶ added in v0.73.0
func (g *GitlabMergeRequest) MustGetMergeCommitSha(verbose bool) (mergeCommitSha string)
func (*GitlabMergeRequest) MustGetNativeMergeRequestsService ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetNativeMergeRequestsService() (nativeService *gitlab.MergeRequestsService)
func (*GitlabMergeRequest) MustGetProject ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetProject() (project *GitlabProject)
func (*GitlabMergeRequest) MustGetProjectId ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetProjectId() (projectId int)
func (*GitlabMergeRequest) MustGetRawResponse ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetRawResponse() (rawResponse *gitlab.MergeRequest)
func (*GitlabMergeRequest) MustGetSourceBranchName ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetSourceBranchName() (sourceBranchName string)
func (*GitlabMergeRequest) MustGetTargetBranchName ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetTargetBranchName() (targetBranchName string)
func (*GitlabMergeRequest) MustGetUrlAsString ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustGetUrlAsString() (url string)
func (*GitlabMergeRequest) MustIsClosed ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustIsClosed() (isClosed bool)
func (*GitlabMergeRequest) MustIsMerged ¶ added in v0.73.0
func (g *GitlabMergeRequest) MustIsMerged() (isMerged bool)
func (*GitlabMergeRequest) MustIsOpen ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustIsOpen() (isOpen bool)
func (*GitlabMergeRequest) MustMerge ¶ added in v0.73.0
func (g *GitlabMergeRequest) MustMerge(options *GitlabMergeOptions) (mergeCommit *GitlabCommit)
func (*GitlabMergeRequest) MustSetCachedSourceBranchName ¶ added in v0.64.0
func (g *GitlabMergeRequest) MustSetCachedSourceBranchName(cachedSourceBranchName string)
func (*GitlabMergeRequest) MustSetCachedTargetBranchName ¶ added in v0.64.0
func (g *GitlabMergeRequest) MustSetCachedTargetBranchName(cachedTargetBranchName string)
func (*GitlabMergeRequest) MustSetCachedTitle ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustSetCachedTitle(cachedTitle string)
func (*GitlabMergeRequest) MustSetGitlabProjectMergeRequests ¶ added in v0.56.0
func (g *GitlabMergeRequest) MustSetGitlabProjectMergeRequests(gitlabProjectMergeRequests *GitlabProjectMergeRequests)
func (*GitlabMergeRequest) MustSetId ¶ added in v0.55.0
func (g *GitlabMergeRequest) MustSetId(id int)
func (*GitlabMergeRequest) MustWaitUntilDetailedMergeStatusIsNotChecking ¶ added in v0.73.0
func (g *GitlabMergeRequest) MustWaitUntilDetailedMergeStatusIsNotChecking(verbose bool)
func (*GitlabMergeRequest) SetCachedSourceBranchName ¶ added in v0.64.0
func (g *GitlabMergeRequest) SetCachedSourceBranchName(cachedSourceBranchName string) (err error)
func (*GitlabMergeRequest) SetCachedTargetBranchName ¶ added in v0.64.0
func (g *GitlabMergeRequest) SetCachedTargetBranchName(cachedTargetBranchName string) (err error)
func (*GitlabMergeRequest) SetCachedTitle ¶ added in v0.55.0
func (g *GitlabMergeRequest) SetCachedTitle(cachedTitle string) (err error)
func (*GitlabMergeRequest) SetGitlabProjectMergeRequests ¶ added in v0.56.0
func (g *GitlabMergeRequest) SetGitlabProjectMergeRequests(gitlabProjectMergeRequests *GitlabProjectMergeRequests) (err error)
func (*GitlabMergeRequest) SetId ¶ added in v0.55.0
func (g *GitlabMergeRequest) SetId(id int) (err error)
func (*GitlabMergeRequest) WaitUntilDetailedMergeStatusIsNotChecking ¶ added in v0.73.0
func (g *GitlabMergeRequest) WaitUntilDetailedMergeStatusIsNotChecking(verbose bool) (err error)
type GitlabPersonalAccessToken ¶ added in v0.31.0
type GitlabPersonalAccessToken struct {
// contains filtered or unexported fields
}
func NewGitlabPersonalAccessToken ¶ added in v0.31.0
func NewGitlabPersonalAccessToken() (accessToken *GitlabPersonalAccessToken)
func (*GitlabPersonalAccessToken) GetCachedName ¶ added in v0.31.0
func (t *GitlabPersonalAccessToken) GetCachedName() (cachedName string, err error)
func (*GitlabPersonalAccessToken) GetGitlabPersonalAccessTokens ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) GetGitlabPersonalAccessTokens() (gitlabPersonalAccessTokens *GitlabPersonalAccessTokenService, err error)
func (*GitlabPersonalAccessToken) GetId ¶ added in v0.31.0
func (t *GitlabPersonalAccessToken) GetId() (id int, err error)
func (*GitlabPersonalAccessToken) GetInfoString ¶ added in v0.31.0
func (t *GitlabPersonalAccessToken) GetInfoString(verbose bool) (infoString string, err error)
func (*GitlabPersonalAccessToken) GetNativePersonalTokenService ¶ added in v0.31.0
func (t *GitlabPersonalAccessToken) GetNativePersonalTokenService() (nativeService *gitlab.PersonalAccessTokensService, err error)
func (*GitlabPersonalAccessToken) GetPersonalAccessTokens ¶ added in v0.31.0
func (t *GitlabPersonalAccessToken) GetPersonalAccessTokens() (tokensService *GitlabPersonalAccessTokenService, err error)
func (*GitlabPersonalAccessToken) GetTokenRawResponse ¶ added in v0.31.0
func (t *GitlabPersonalAccessToken) GetTokenRawResponse(verbose bool) (nativeResponse *gitlab.PersonalAccessToken, err error)
func (*GitlabPersonalAccessToken) MustGetCachedName ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustGetCachedName() (cachedName string)
func (*GitlabPersonalAccessToken) MustGetGitlabPersonalAccessTokens ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustGetGitlabPersonalAccessTokens() (gitlabPersonalAccessTokens *GitlabPersonalAccessTokenService)
func (*GitlabPersonalAccessToken) MustGetId ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustGetId() (id int)
func (*GitlabPersonalAccessToken) MustGetInfoString ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustGetInfoString(verbose bool) (infoString string)
func (*GitlabPersonalAccessToken) MustGetNativePersonalTokenService ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustGetNativePersonalTokenService() (nativeService *gitlab.PersonalAccessTokensService)
func (*GitlabPersonalAccessToken) MustGetPersonalAccessTokens ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustGetPersonalAccessTokens() (tokensService *GitlabPersonalAccessTokenService)
func (*GitlabPersonalAccessToken) MustGetTokenRawResponse ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustGetTokenRawResponse(verbose bool) (nativeResponse *gitlab.PersonalAccessToken)
func (*GitlabPersonalAccessToken) MustSetCachedName ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustSetCachedName(cachedName string)
func (*GitlabPersonalAccessToken) MustSetGitlabPersonalAccessTokens ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustSetGitlabPersonalAccessTokens(gitlabPersonalAccessTokens *GitlabPersonalAccessTokenService)
func (*GitlabPersonalAccessToken) MustSetId ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustSetId(id int)
func (*GitlabPersonalAccessToken) MustSetPersonalAccessTokens ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) MustSetPersonalAccessTokens(tokensService *GitlabPersonalAccessTokenService)
func (*GitlabPersonalAccessToken) SetCachedName ¶ added in v0.31.0
func (t *GitlabPersonalAccessToken) SetCachedName(cachedName string) (err error)
func (*GitlabPersonalAccessToken) SetGitlabPersonalAccessTokens ¶ added in v0.31.0
func (g *GitlabPersonalAccessToken) SetGitlabPersonalAccessTokens(gitlabPersonalAccessTokens *GitlabPersonalAccessTokenService) (err error)
func (*GitlabPersonalAccessToken) SetId ¶ added in v0.31.0
func (t *GitlabPersonalAccessToken) SetId(id int) (err error)
func (*GitlabPersonalAccessToken) SetPersonalAccessTokens ¶ added in v0.31.0
func (t *GitlabPersonalAccessToken) SetPersonalAccessTokens(tokensService *GitlabPersonalAccessTokenService) (err error)
type GitlabPersonalAccessTokenService ¶ added in v0.31.0
type GitlabPersonalAccessTokenService struct {
// contains filtered or unexported fields
}
func NewGitlabPersonalAccessTokenService ¶ added in v0.31.0
func NewGitlabPersonalAccessTokenService() (tokens *GitlabPersonalAccessTokenService)
func (*GitlabPersonalAccessTokenService) CreateToken ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) CreateToken(tokenOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string, err error)
func (*GitlabPersonalAccessTokenService) ExistsByName ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) ExistsByName(tokenName string, verbose bool) (exists bool, err error)
func (*GitlabPersonalAccessTokenService) GetApiV4Url ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetApiV4Url() (apiV4Url string, err error)
func (*GitlabPersonalAccessTokenService) GetCurrentUserId ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetCurrentUserId(verbose bool) (userId int, err error)
func (*GitlabPersonalAccessTokenService) GetCurrentlyUsedAccessToken ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetCurrentlyUsedAccessToken() (accessToken string, err error)
func (*GitlabPersonalAccessTokenService) GetGitlab ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabPersonalAccessTokenService) GetGitlabUsers ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetGitlabUsers() (gitlabUsers *GitlabUsers, err error)
func (*GitlabPersonalAccessTokenService) GetNativeGitlabClient ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetNativeGitlabClient() (nativeClient *gitlab.Client, err error)
func (*GitlabPersonalAccessTokenService) GetNativePersonalTokenService ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetNativePersonalTokenService() (nativeService *gitlab.PersonalAccessTokensService, err error)
func (*GitlabPersonalAccessTokenService) GetNativeUsersService ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetNativeUsersService() (nativeService *gitlab.UsersService, err error)
func (*GitlabPersonalAccessTokenService) GetPersonalAccessTokenList ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetPersonalAccessTokenList(verbose bool) (tokens []*GitlabPersonalAccessToken, err error)
func (*GitlabPersonalAccessTokenService) GetPersonalAccessTokenNameList ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetPersonalAccessTokenNameList(verbose bool) (tokenNames []string, err error)
func (*GitlabPersonalAccessTokenService) GetTokenIdByName ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) GetTokenIdByName(tokenName string, verbose bool) (tokenId int, err error)
func (*GitlabPersonalAccessTokenService) MustCreateToken ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustCreateToken(tokenOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string)
func (*GitlabPersonalAccessTokenService) MustExistsByName ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustExistsByName(tokenName string, verbose bool) (exists bool)
func (*GitlabPersonalAccessTokenService) MustGetApiV4Url ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetApiV4Url() (apiV4Url string)
func (*GitlabPersonalAccessTokenService) MustGetCurrentUserId ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetCurrentUserId(verbose bool) (userId int)
func (*GitlabPersonalAccessTokenService) MustGetCurrentlyUsedAccessToken ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetCurrentlyUsedAccessToken() (accessToken string)
func (*GitlabPersonalAccessTokenService) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabPersonalAccessTokenService) MustGetGitlabUsers ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetGitlabUsers() (gitlabUsers *GitlabUsers)
func (*GitlabPersonalAccessTokenService) MustGetNativeGitlabClient ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetNativeGitlabClient() (nativeClient *gitlab.Client)
func (*GitlabPersonalAccessTokenService) MustGetNativePersonalTokenService ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetNativePersonalTokenService() (nativeService *gitlab.PersonalAccessTokensService)
func (*GitlabPersonalAccessTokenService) MustGetNativeUsersService ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetNativeUsersService() (nativeService *gitlab.UsersService)
func (*GitlabPersonalAccessTokenService) MustGetPersonalAccessTokenList ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetPersonalAccessTokenList(verbose bool) (tokens []*GitlabPersonalAccessToken)
func (*GitlabPersonalAccessTokenService) MustGetPersonalAccessTokenNameList ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetPersonalAccessTokenNameList(verbose bool) (tokenNames []string)
func (*GitlabPersonalAccessTokenService) MustGetTokenIdByName ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustGetTokenIdByName(tokenName string, verbose bool) (tokenId int)
func (*GitlabPersonalAccessTokenService) MustRecreateToken ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustRecreateToken(tokenOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string)
func (*GitlabPersonalAccessTokenService) MustRevokeTokenByName ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustRevokeTokenByName(tokenName string, verbose bool)
func (*GitlabPersonalAccessTokenService) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabPersonalAccessTokenService) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabPersonalAccessTokenService) RecreateToken ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) RecreateToken(tokenOptions *GitlabCreatePersonalAccessTokenOptions) (newToken string, err error)
func (*GitlabPersonalAccessTokenService) RevokeTokenByName ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) RevokeTokenByName(tokenName string, verbose bool) (err error)
func (*GitlabPersonalAccessTokenService) SetGitlab ¶ added in v0.31.0
func (p *GitlabPersonalAccessTokenService) SetGitlab(gitlab *GitlabInstance) (err error)
type GitlabPersonalProjects ¶ added in v0.54.0
type GitlabPersonalProjects struct {
// contains filtered or unexported fields
}
func NewGitlabPersonalProjects ¶ added in v0.54.0
func NewGitlabPersonalProjects() (g *GitlabPersonalProjects)
func (*GitlabPersonalProjects) GetGitlab ¶ added in v0.54.0
func (g *GitlabPersonalProjects) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabPersonalProjects) MustGetGitlab ¶ added in v0.54.0
func (g *GitlabPersonalProjects) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabPersonalProjects) MustSetGitlab ¶ added in v0.54.0
func (g *GitlabPersonalProjects) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabPersonalProjects) SetGitlab ¶ added in v0.54.0
func (g *GitlabPersonalProjects) SetGitlab(gitlab *GitlabInstance) (err error)
type GitlabProject ¶ added in v0.31.0
type GitlabProject struct {
// contains filtered or unexported fields
}
func GetGitlabProjectByUrl ¶ added in v0.31.0
func GetGitlabProjectByUrl(url *urlsutils.URL, authOptions []authenticationoptions.AuthenticationOption, verbose bool) (gitlabProject *GitlabProject, err error)
func GetGitlabProjectByUrlFromString ¶ added in v0.31.0
func GetGitlabProjectByUrlFromString(urlString string, authOptions []authenticationoptions.AuthenticationOption, verbose bool) (gitlabProject *GitlabProject, err error)
func MustGetGitlabProjectByUrl ¶ added in v0.31.0
func MustGetGitlabProjectByUrl(url *urlsutils.URL, authOptions []authenticationoptions.AuthenticationOption, verbose bool) (gitlabProject *GitlabProject)
func MustGetGitlabProjectByUrlFromString ¶ added in v0.31.0
func MustGetGitlabProjectByUrlFromString(urlString string, authOptions []authenticationoptions.AuthenticationOption, verbose bool) (gitlabProject *GitlabProject)
func NewGitlabProject ¶ added in v0.31.0
func NewGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabProject) Create ¶ added in v0.54.0
func (g *GitlabProject) Create(verbose bool) (err error)
func (*GitlabProject) CreateBranchFromDefaultBranch ¶ added in v0.46.0
func (g *GitlabProject) CreateBranchFromDefaultBranch(branchName string, verbose bool) (createdBranch *GitlabBranch, err error)
func (*GitlabProject) CreateEmptyFile ¶ added in v0.45.0
func (g *GitlabProject) CreateEmptyFile(fileName string, ref string, verbose bool) (createdFile *GitlabRepositoryFile, err error)
func (*GitlabProject) CreateMergeRequest ¶ added in v0.60.0
func (g *GitlabProject) CreateMergeRequest(options *GitlabCreateMergeRequestOptions) (createdMergeRequest *GitlabMergeRequest, err error)
func (*GitlabProject) CreateNextMajorReleaseFromLatestCommitInDefaultBranch ¶ added in v0.102.0
func (g *GitlabProject) CreateNextMajorReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease, err error)
func (*GitlabProject) CreateNextMinorReleaseFromLatestCommitInDefaultBranch ¶ added in v0.102.0
func (g *GitlabProject) CreateNextMinorReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease, err error)
func (*GitlabProject) CreateNextPatchReleaseFromLatestCommitInDefaultBranch ¶ added in v0.102.0
func (g *GitlabProject) CreateNextPatchReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease, err error)
func (*GitlabProject) CreateReleaseFromLatestCommitInDefaultBranch ¶ added in v0.100.0
func (p *GitlabProject) CreateReleaseFromLatestCommitInDefaultBranch(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease, err error)
func (*GitlabProject) Delete ¶ added in v0.54.0
func (g *GitlabProject) Delete(verbose bool) (err error)
func (*GitlabProject) DeleteAllBranchesExceptDefaultBranch ¶ added in v0.46.0
func (g *GitlabProject) DeleteAllBranchesExceptDefaultBranch(verbose bool) (err error)
func (*GitlabProject) DeleteAllReleases ¶ added in v0.102.0
func (g *GitlabProject) DeleteAllReleases(deleteOptions *GitlabDeleteReleaseOptions) (err error)
func (*GitlabProject) DeleteAllRepositoryFiles ¶ added in v0.45.0
func (g *GitlabProject) DeleteAllRepositoryFiles(branchName string, verbose bool) (err error)
func (*GitlabProject) DeleteBranch ¶ added in v0.55.0
func (g *GitlabProject) DeleteBranch(branchName string, deleteOptions *GitlabDeleteBranchOptions) (err error)
func (*GitlabProject) DeleteFileInDefaultBranch ¶ added in v0.73.0
func (g *GitlabProject) DeleteFileInDefaultBranch(fileName string, commitMessage string, verbose bool) (err error)
func (*GitlabProject) DeployKeyByNameExists ¶ added in v0.31.0
func (p *GitlabProject) DeployKeyByNameExists(keyName string) (exists bool, err error)
func (*GitlabProject) Exists ¶ added in v0.37.0
func (g *GitlabProject) Exists(verbose bool) (projectExists bool, err error)
func (*GitlabProject) GetBranchByName ¶ added in v0.46.0
func (g *GitlabProject) GetBranchByName(branchName string) (branch *GitlabBranch, err error)
func (*GitlabProject) GetBranchNames ¶ added in v0.46.0
func (g *GitlabProject) GetBranchNames(verbose bool) (branchNames []string, err error)
func (*GitlabProject) GetBranches ¶ added in v0.46.0
func (g *GitlabProject) GetBranches() (branches *GitlabBranches, err error)
func (*GitlabProject) GetCachedPath ¶ added in v0.31.0
func (p *GitlabProject) GetCachedPath() (path string, err error)
func (*GitlabProject) GetCachedPathForPersonalProject ¶ added in v0.55.0
func (g *GitlabProject) GetCachedPathForPersonalProject() (cachedPath string, err error)
func (*GitlabProject) GetCachedProjectName ¶ added in v0.55.0
func (g *GitlabProject) GetCachedProjectName() (projectName string, err error)
func (*GitlabProject) GetCommitByHashString ¶ added in v0.71.0
func (g *GitlabProject) GetCommitByHashString(hashString string, verbose bool) (commit *GitlabCommit, err error)
func (*GitlabProject) GetCurrentUserName ¶ added in v0.55.0
func (g *GitlabProject) GetCurrentUserName(verbose bool) (userName string, err error)
func (*GitlabProject) GetDeepCopy ¶ added in v0.88.0
func (g *GitlabProject) GetDeepCopy() (copy *GitlabProject)
func (*GitlabProject) GetDefaultBranch ¶ added in v0.88.0
func (g *GitlabProject) GetDefaultBranch() (defaultBranch *GitlabBranch, err error)
func (*GitlabProject) GetDefaultBranchName ¶ added in v0.39.0
func (g *GitlabProject) GetDefaultBranchName() (defaultBranchName string, err error)
func (*GitlabProject) GetDeployKeyByName ¶ added in v0.31.0
func (p *GitlabProject) GetDeployKeyByName(keyName string) (projectDeployKey *GitlabProjectDeployKey, err error)
func (*GitlabProject) GetDeployKeys ¶ added in v0.31.0
func (p *GitlabProject) GetDeployKeys() (deployKeys *GitlabProjectDeployKeys, err error)
func (*GitlabProject) GetDirectoryNames ¶ added in v0.45.0
func (g *GitlabProject) GetDirectoryNames(ref string, verbose bool) (directoryNames []string, err error)
func (*GitlabProject) GetFileInDefaultBranch ¶ added in v0.73.0
func (g *GitlabProject) GetFileInDefaultBranch(fileName string, verbose bool) (repositoryFile *GitlabRepositoryFile, err error)
func (*GitlabProject) GetFilesNames ¶ added in v0.45.0
func (g *GitlabProject) GetFilesNames(ref string, verbose bool) (fileNames []string, err error)
func (*GitlabProject) GetGitlab ¶ added in v0.31.0
func (p *GitlabProject) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabProject) GetGitlabFqdn ¶ added in v0.39.0
func (g *GitlabProject) GetGitlabFqdn() (fqdn string, err error)
func (*GitlabProject) GetGitlabProjectDeployKeys ¶ added in v0.31.0
func (p *GitlabProject) GetGitlabProjectDeployKeys() (projectDeployKeys *GitlabProjectDeployKeys, err error)
func (*GitlabProject) GetGitlabProjects ¶ added in v0.31.0
func (p *GitlabProject) GetGitlabProjects() (projects *GitlabProjects, err error)
func (*GitlabProject) GetGitlabReleases ¶ added in v0.100.0
func (p *GitlabProject) GetGitlabReleases() (gitlabReleases *GitlabReleases, err error)
func (*GitlabProject) GetId ¶ added in v0.31.0
func (p *GitlabProject) GetId() (id int, err error)
func (*GitlabProject) GetLatestCommit ¶ added in v0.71.0
func (g *GitlabProject) GetLatestCommit(branchName string, verbose bool) (latestCommit *GitlabCommit, err error)
func (*GitlabProject) GetLatestCommitHashAsString ¶ added in v0.57.0
func (g *GitlabProject) GetLatestCommitHashAsString(branchName string, verbose bool) (commitHash string, err error)
func (*GitlabProject) GetLatestCommitOfDefaultBranch ¶ added in v0.71.0
func (g *GitlabProject) GetLatestCommitOfDefaultBranch(verbose bool) (latestCommit *GitlabCommit, err error)
func (*GitlabProject) GetMergeRequests ¶ added in v0.55.0
func (g *GitlabProject) GetMergeRequests() (mergeRequestes *GitlabProjectMergeRequests, err error)
func (*GitlabProject) GetNativeProjectsService ¶ added in v0.31.0
func (p *GitlabProject) GetNativeProjectsService() (nativeGitlabProject *gitlab.ProjectsService, err error)
func (*GitlabProject) GetNewestSemanticVersion ¶ added in v0.102.0
func (g *GitlabProject) GetNewestSemanticVersion(verbose bool) (newestSemanticVersion *VersionSemanticVersion, err error)
func (*GitlabProject) GetNewestVersion ¶ added in v0.31.0
func (g *GitlabProject) GetNewestVersion(verbose bool) (newestVersion Version, err error)
func (*GitlabProject) GetNewestVersionAsString ¶ added in v0.31.0
func (g *GitlabProject) GetNewestVersionAsString(verbose bool) (newestVersionString string, err error)
func (*GitlabProject) GetNextMajorReleaseVersionString ¶ added in v0.102.0
func (g *GitlabProject) GetNextMajorReleaseVersionString(verbose bool) (nextVersionString string, err error)
func (*GitlabProject) GetNextMinorReleaseVersionString ¶ added in v0.102.0
func (g *GitlabProject) GetNextMinorReleaseVersionString(verbose bool) (nextVersionString string, err error)
func (*GitlabProject) GetNextPatchReleaseVersionString ¶ added in v0.102.0
func (g *GitlabProject) GetNextPatchReleaseVersionString(verbose bool) (nextVersionString string, err error)
func (*GitlabProject) GetOpenMergeRequestBySourceAndTargetBranch ¶ added in v0.64.0
func (g *GitlabProject) GetOpenMergeRequestBySourceAndTargetBranch(sourceBranchName string, targetBranchName string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
func (*GitlabProject) GetOpenMergeRequestByTitle ¶ added in v0.55.0
func (g *GitlabProject) GetOpenMergeRequestByTitle(title string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
func (*GitlabProject) GetPath ¶ added in v0.38.0
func (g *GitlabProject) GetPath() (projectPath string, err error)
func (*GitlabProject) GetProjectCommits ¶ added in v0.57.0
func (g *GitlabProject) GetProjectCommits() (projectCommits *GitlabProjectCommits, err error)
func (*GitlabProject) GetProjectUrl ¶ added in v0.39.0
func (g *GitlabProject) GetProjectUrl() (projectUrl string, err error)
func (*GitlabProject) GetRawResponse ¶ added in v0.55.0
func (g *GitlabProject) GetRawResponse() (nativeGitlabProject *gitlab.Project, err error)
func (*GitlabProject) GetReleaseByName ¶ added in v0.100.0
func (p *GitlabProject) GetReleaseByName(releaseName string) (gitlabRelease *GitlabRelease, err error)
func (*GitlabProject) GetRepositoryFile ¶ added in v0.73.0
func (g *GitlabProject) GetRepositoryFile(options *GitlabGetRepositoryFileOptions) (repositoryFile *GitlabRepositoryFile, err error)
func (*GitlabProject) GetRepositoryFiles ¶ added in v0.39.0
func (g *GitlabProject) GetRepositoryFiles() (repositoryFiles *GitlabRepositoryFiles, err error)
func (*GitlabProject) GetSemanticVersions ¶ added in v0.102.0
func (g *GitlabProject) GetSemanticVersions(verbose bool) (semanticVersions []Version, err error)
func (*GitlabProject) GetTagByName ¶ added in v0.100.0
func (g *GitlabProject) GetTagByName(tagName string) (tag *GitlabTag, err error)
func (*GitlabProject) GetTags ¶ added in v0.31.0
func (g *GitlabProject) GetTags() (gitlabTags *GitlabTags, err error)
func (*GitlabProject) GetVersionTags ¶ added in v0.31.0
func (g *GitlabProject) GetVersionTags(verbose bool) (versionTags []*GitlabTag, err error)
func (*GitlabProject) GetVersions ¶ added in v0.31.0
func (g *GitlabProject) GetVersions(verbose bool) (versions []Version, err error)
func (*GitlabProject) HasNoRepositoryFiles ¶ added in v0.45.0
func (g *GitlabProject) HasNoRepositoryFiles(branchName string, verbose bool) (hasNoRepositoryFiles bool, err error)
func (*GitlabProject) IsCachedPathSet ¶ added in v0.38.0
func (g *GitlabProject) IsCachedPathSet() (isSet bool)
func (*GitlabProject) IsIdSet ¶ added in v0.54.0
func (g *GitlabProject) IsIdSet() (isSet bool, err error)
func (*GitlabProject) IsPersonalProject ¶ added in v0.54.0
func (g *GitlabProject) IsPersonalProject() (isPersonalProject bool, err error)
func (*GitlabProject) ListVersionTagNames ¶ added in v0.100.0
func (g *GitlabProject) ListVersionTagNames(verbose bool) (versionTagNames []string, err error)
func (*GitlabProject) MakePrivate ¶ added in v0.31.0
func (p *GitlabProject) MakePrivate(verbose bool) (err error)
func (*GitlabProject) MakePublic ¶ added in v0.31.0
func (p *GitlabProject) MakePublic(verbose bool) (err error)
func (*GitlabProject) MustCreate ¶ added in v0.54.0
func (g *GitlabProject) MustCreate(verbose bool)
func (*GitlabProject) MustCreateBranchFromDefaultBranch ¶ added in v0.46.0
func (g *GitlabProject) MustCreateBranchFromDefaultBranch(branchName string, verbose bool) (createdBranch *GitlabBranch)
func (*GitlabProject) MustCreateEmptyFile ¶ added in v0.45.0
func (g *GitlabProject) MustCreateEmptyFile(fileName string, ref string, verbose bool) (createdFile *GitlabRepositoryFile)
func (*GitlabProject) MustCreateMergeRequest ¶ added in v0.60.0
func (g *GitlabProject) MustCreateMergeRequest(options *GitlabCreateMergeRequestOptions) (createdMergeRequest *GitlabMergeRequest)
func (*GitlabProject) MustCreateNextMajorReleaseFromLatestCommitInDefaultBranch ¶ added in v0.102.0
func (g *GitlabProject) MustCreateNextMajorReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease)
func (*GitlabProject) MustCreateNextMinorReleaseFromLatestCommitInDefaultBranch ¶ added in v0.102.0
func (g *GitlabProject) MustCreateNextMinorReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease)
func (*GitlabProject) MustCreateNextPatchReleaseFromLatestCommitInDefaultBranch ¶ added in v0.102.0
func (g *GitlabProject) MustCreateNextPatchReleaseFromLatestCommitInDefaultBranch(description string, verbose bool) (createdRelease *GitlabRelease)
func (*GitlabProject) MustCreateReleaseFromLatestCommitInDefaultBranch ¶ added in v0.100.0
func (g *GitlabProject) MustCreateReleaseFromLatestCommitInDefaultBranch(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease)
func (*GitlabProject) MustDelete ¶ added in v0.54.0
func (g *GitlabProject) MustDelete(verbose bool)
func (*GitlabProject) MustDeleteAllBranchesExceptDefaultBranch ¶ added in v0.46.0
func (g *GitlabProject) MustDeleteAllBranchesExceptDefaultBranch(verbose bool)
func (*GitlabProject) MustDeleteAllReleases ¶ added in v0.102.0
func (g *GitlabProject) MustDeleteAllReleases(deleteOptions *GitlabDeleteReleaseOptions)
func (*GitlabProject) MustDeleteAllRepositoryFiles ¶ added in v0.45.0
func (g *GitlabProject) MustDeleteAllRepositoryFiles(branchName string, verbose bool)
func (*GitlabProject) MustDeleteBranch ¶ added in v0.55.0
func (g *GitlabProject) MustDeleteBranch(branchName string, deleteOptions *GitlabDeleteBranchOptions)
func (*GitlabProject) MustDeleteFileInDefaultBranch ¶ added in v0.73.0
func (g *GitlabProject) MustDeleteFileInDefaultBranch(fileName string, commitMessage string, verbose bool)
func (*GitlabProject) MustDeployKeyByNameExists ¶ added in v0.31.0
func (g *GitlabProject) MustDeployKeyByNameExists(keyName string) (exists bool)
func (*GitlabProject) MustExists ¶ added in v0.37.0
func (g *GitlabProject) MustExists(verbose bool) (projectExists bool)
func (*GitlabProject) MustGetBranchByName ¶ added in v0.46.0
func (g *GitlabProject) MustGetBranchByName(branchName string) (branch *GitlabBranch)
func (*GitlabProject) MustGetBranchNames ¶ added in v0.46.0
func (g *GitlabProject) MustGetBranchNames(verbose bool) (branchNames []string)
func (*GitlabProject) MustGetBranches ¶ added in v0.46.0
func (g *GitlabProject) MustGetBranches() (branches *GitlabBranches)
func (*GitlabProject) MustGetCachedPath ¶ added in v0.31.0
func (g *GitlabProject) MustGetCachedPath() (path string)
func (*GitlabProject) MustGetCachedPathForPersonalProject ¶ added in v0.55.0
func (g *GitlabProject) MustGetCachedPathForPersonalProject() (cachedPath string)
func (*GitlabProject) MustGetCachedProjectName ¶ added in v0.55.0
func (g *GitlabProject) MustGetCachedProjectName() (projectName string)
func (*GitlabProject) MustGetCommitByHashString ¶ added in v0.71.0
func (g *GitlabProject) MustGetCommitByHashString(hashString string, verbose bool) (commit *GitlabCommit)
func (*GitlabProject) MustGetCurrentUserName ¶ added in v0.55.0
func (g *GitlabProject) MustGetCurrentUserName(verbose bool) (userName string)
func (*GitlabProject) MustGetDefaultBranch ¶ added in v0.88.0
func (g *GitlabProject) MustGetDefaultBranch() (defaultBranch *GitlabBranch)
func (*GitlabProject) MustGetDefaultBranchName ¶ added in v0.39.0
func (g *GitlabProject) MustGetDefaultBranchName() (defaultBranchName string)
func (*GitlabProject) MustGetDeployKeyByName ¶ added in v0.31.0
func (g *GitlabProject) MustGetDeployKeyByName(keyName string) (projectDeployKey *GitlabProjectDeployKey)
func (*GitlabProject) MustGetDeployKeys ¶ added in v0.31.0
func (g *GitlabProject) MustGetDeployKeys() (deployKeys *GitlabProjectDeployKeys)
func (*GitlabProject) MustGetDirectoryNames ¶ added in v0.45.0
func (g *GitlabProject) MustGetDirectoryNames(ref string, verbose bool) (directoryNames []string)
func (*GitlabProject) MustGetFileInDefaultBranch ¶ added in v0.73.0
func (g *GitlabProject) MustGetFileInDefaultBranch(fileName string, verbose bool) (repositoryFile *GitlabRepositoryFile)
func (*GitlabProject) MustGetFilesNames ¶ added in v0.45.0
func (g *GitlabProject) MustGetFilesNames(ref string, verbose bool) (fileNames []string)
func (*GitlabProject) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabProject) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabProject) MustGetGitlabFqdn ¶ added in v0.39.0
func (g *GitlabProject) MustGetGitlabFqdn() (fqdn string)
func (*GitlabProject) MustGetGitlabProjectDeployKeys ¶ added in v0.31.0
func (g *GitlabProject) MustGetGitlabProjectDeployKeys() (projectDeployKeys *GitlabProjectDeployKeys)
func (*GitlabProject) MustGetGitlabProjects ¶ added in v0.31.0
func (g *GitlabProject) MustGetGitlabProjects() (projects *GitlabProjects)
func (*GitlabProject) MustGetGitlabReleases ¶ added in v0.100.0
func (g *GitlabProject) MustGetGitlabReleases() (gitlabReleases *GitlabReleases)
func (*GitlabProject) MustGetId ¶ added in v0.31.0
func (g *GitlabProject) MustGetId() (id int)
func (*GitlabProject) MustGetLatestCommit ¶ added in v0.71.0
func (g *GitlabProject) MustGetLatestCommit(branchName string, verbose bool) (latestCommit *GitlabCommit)
func (*GitlabProject) MustGetLatestCommitHashAsString ¶ added in v0.57.0
func (g *GitlabProject) MustGetLatestCommitHashAsString(branchName string, verbose bool) (commitHash string)
func (*GitlabProject) MustGetLatestCommitOfDefaultBranch ¶ added in v0.71.0
func (g *GitlabProject) MustGetLatestCommitOfDefaultBranch(verbose bool) (latestCommit *GitlabCommit)
func (*GitlabProject) MustGetMergeRequests ¶ added in v0.55.0
func (g *GitlabProject) MustGetMergeRequests() (mergeRequestes *GitlabProjectMergeRequests)
func (*GitlabProject) MustGetNativeGitlabProject ¶ added in v0.39.0
func (g *GitlabProject) MustGetNativeGitlabProject() (nativeGitlabProject *gitlab.Project)
func (*GitlabProject) MustGetNativeProjectsService ¶ added in v0.31.0
func (g *GitlabProject) MustGetNativeProjectsService() (nativeGitlabProject *gitlab.ProjectsService)
func (*GitlabProject) MustGetNewestSemanticVersion ¶ added in v0.102.0
func (g *GitlabProject) MustGetNewestSemanticVersion(verbose bool) (newestSemanticVersion *VersionSemanticVersion)
func (*GitlabProject) MustGetNewestVersion ¶ added in v0.31.0
func (g *GitlabProject) MustGetNewestVersion(verbose bool) (newestVersion Version)
func (*GitlabProject) MustGetNewestVersionAsString ¶ added in v0.31.0
func (g *GitlabProject) MustGetNewestVersionAsString(verbose bool) (newestVersionString string)
func (*GitlabProject) MustGetNextMajorReleaseVersionString ¶ added in v0.102.0
func (g *GitlabProject) MustGetNextMajorReleaseVersionString(verbose bool) (nextVersionString string)
func (*GitlabProject) MustGetNextMinorReleaseVersionString ¶ added in v0.102.0
func (g *GitlabProject) MustGetNextMinorReleaseVersionString(verbose bool) (nextVersionString string)
func (*GitlabProject) MustGetNextPatchReleaseVersionString ¶ added in v0.102.0
func (g *GitlabProject) MustGetNextPatchReleaseVersionString(verbose bool) (nextVersionString string)
func (*GitlabProject) MustGetOpenMergeRequestBySourceAndTargetBranch ¶ added in v0.64.0
func (g *GitlabProject) MustGetOpenMergeRequestBySourceAndTargetBranch(sourceBranchName string, targetBranchName string, verbose bool) (mergeRequest *GitlabMergeRequest)
func (*GitlabProject) MustGetOpenMergeRequestByTitle ¶ added in v0.55.0
func (g *GitlabProject) MustGetOpenMergeRequestByTitle(title string, verbose bool) (mergeRequest *GitlabMergeRequest)
func (*GitlabProject) MustGetPath ¶ added in v0.38.0
func (g *GitlabProject) MustGetPath() (projectPath string)
func (*GitlabProject) MustGetProjectCommits ¶ added in v0.57.0
func (g *GitlabProject) MustGetProjectCommits() (projectCommits *GitlabProjectCommits)
func (*GitlabProject) MustGetProjectUrl ¶ added in v0.39.0
func (g *GitlabProject) MustGetProjectUrl() (projectUrl string)
func (*GitlabProject) MustGetRawResponse ¶ added in v0.55.0
func (g *GitlabProject) MustGetRawResponse() (nativeGitlabProject *gitlab.Project)
func (*GitlabProject) MustGetReleaseByName ¶ added in v0.100.0
func (g *GitlabProject) MustGetReleaseByName(releaseName string) (gitlabRelease *GitlabRelease)
func (*GitlabProject) MustGetRepositoryFile ¶ added in v0.73.0
func (g *GitlabProject) MustGetRepositoryFile(options *GitlabGetRepositoryFileOptions) (repositoryFile *GitlabRepositoryFile)
func (*GitlabProject) MustGetRepositoryFiles ¶ added in v0.39.0
func (g *GitlabProject) MustGetRepositoryFiles() (repositoryFiles *GitlabRepositoryFiles)
func (*GitlabProject) MustGetSemanticVersions ¶ added in v0.102.0
func (g *GitlabProject) MustGetSemanticVersions(verbose bool) (semanticVersions []Version)
func (*GitlabProject) MustGetTagByName ¶ added in v0.100.0
func (g *GitlabProject) MustGetTagByName(tagName string) (tag *GitlabTag)
func (*GitlabProject) MustGetTags ¶ added in v0.31.0
func (g *GitlabProject) MustGetTags() (gitlabTags *GitlabTags)
func (*GitlabProject) MustGetVersionTags ¶ added in v0.31.0
func (g *GitlabProject) MustGetVersionTags(verbose bool) (versionTags []*GitlabTag)
func (*GitlabProject) MustGetVersions ¶ added in v0.31.0
func (g *GitlabProject) MustGetVersions(verbose bool) (versions []Version)
func (*GitlabProject) MustHasNoRepositoryFiles ¶ added in v0.45.0
func (g *GitlabProject) MustHasNoRepositoryFiles(branchName string, verbose bool) (hasNoRepositoryFiles bool)
func (*GitlabProject) MustIsIdSet ¶ added in v0.54.0
func (g *GitlabProject) MustIsIdSet() (isSet bool)
func (*GitlabProject) MustIsPersonalProject ¶ added in v0.54.0
func (g *GitlabProject) MustIsPersonalProject() (isPersonalProject bool)
func (*GitlabProject) MustListVersionTagNames ¶ added in v0.100.0
func (g *GitlabProject) MustListVersionTagNames(verbose bool) (versionTagNames []string)
func (*GitlabProject) MustMakePrivate ¶ added in v0.31.0
func (g *GitlabProject) MustMakePrivate(verbose bool)
func (*GitlabProject) MustMakePublic ¶ added in v0.31.0
func (g *GitlabProject) MustMakePublic(verbose bool)
func (*GitlabProject) MustReadFileContentAsString ¶ added in v0.39.0
func (g *GitlabProject) MustReadFileContentAsString(options *GitlabReadFileOptions) (content string)
func (*GitlabProject) MustRecreateDeployKey ¶ added in v0.31.0
func (g *GitlabProject) MustRecreateDeployKey(keyOptions *GitlabCreateDeployKeyOptions)
func (*GitlabProject) MustSetCachedPath ¶ added in v0.31.0
func (g *GitlabProject) MustSetCachedPath(pathToCache string)
func (*GitlabProject) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabProject) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabProject) MustSetId ¶ added in v0.31.0
func (g *GitlabProject) MustSetId(id int)
func (*GitlabProject) MustWriteFileContent ¶ added in v0.39.0
func (g *GitlabProject) MustWriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile)
func (*GitlabProject) MustWriteFileContentInDefaultBranch ¶ added in v0.102.0
func (g *GitlabProject) MustWriteFileContentInDefaultBranch(writeOptions *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile)
func (*GitlabProject) ReadFileContentAsString ¶ added in v0.39.0
func (g *GitlabProject) ReadFileContentAsString(options *GitlabReadFileOptions) (content string, err error)
func (*GitlabProject) RecreateDeployKey ¶ added in v0.31.0
func (p *GitlabProject) RecreateDeployKey(keyOptions *GitlabCreateDeployKeyOptions) (err error)
func (*GitlabProject) SetCachedPath ¶ added in v0.31.0
func (p *GitlabProject) SetCachedPath(pathToCache string) (err error)
func (*GitlabProject) SetGitlab ¶ added in v0.31.0
func (p *GitlabProject) SetGitlab(gitlab *GitlabInstance) (err error)
func (*GitlabProject) SetId ¶ added in v0.31.0
func (g *GitlabProject) SetId(id int) (err error)
func (*GitlabProject) WriteFileContent ¶ added in v0.39.0
func (g *GitlabProject) WriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile, err error)
func (*GitlabProject) WriteFileContentInDefaultBranch ¶ added in v0.102.0
func (g *GitlabProject) WriteFileContentInDefaultBranch(writeOptions *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile, err error)
type GitlabProjectCommits ¶ added in v0.57.0
type GitlabProjectCommits struct {
// contains filtered or unexported fields
}
func NewGitlabProjectCommits ¶ added in v0.57.0
func NewGitlabProjectCommits() (g *GitlabProjectCommits)
func (*GitlabProjectCommits) GetCommitByHashString ¶ added in v0.71.0
func (g *GitlabProjectCommits) GetCommitByHashString(hash string, verbose bool) (commit *GitlabCommit, err error)
func (*GitlabProjectCommits) GetGitlab ¶ added in v0.71.0
func (g *GitlabProjectCommits) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabProjectCommits) GetGitlabProject ¶ added in v0.57.0
func (g *GitlabProjectCommits) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabProjectCommits) GetNativeCommitsService ¶ added in v0.71.0
func (g *GitlabProjectCommits) GetNativeCommitsService() (nativeCommitsService *gitlab.CommitsService, err error)
func (*GitlabProjectCommits) GetNativeGitlabClient ¶ added in v0.71.0
func (g *GitlabProjectCommits) GetNativeGitlabClient() (nativeClient *gitlab.Client, err error)
func (*GitlabProjectCommits) MustGetCommitByHashString ¶ added in v0.71.0
func (g *GitlabProjectCommits) MustGetCommitByHashString(hash string, verbose bool) (commit *GitlabCommit)
func (*GitlabProjectCommits) MustGetGitlab ¶ added in v0.71.0
func (g *GitlabProjectCommits) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabProjectCommits) MustGetGitlabProject ¶ added in v0.57.0
func (g *GitlabProjectCommits) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabProjectCommits) MustGetNativeCommitsService ¶ added in v0.71.0
func (g *GitlabProjectCommits) MustGetNativeCommitsService() (nativeCommitsService *gitlab.CommitsService)
func (*GitlabProjectCommits) MustGetNativeGitlabClient ¶ added in v0.71.0
func (g *GitlabProjectCommits) MustGetNativeGitlabClient() (nativeClient *gitlab.Client)
func (*GitlabProjectCommits) MustSetGitlabProject ¶ added in v0.57.0
func (g *GitlabProjectCommits) MustSetGitlabProject(gitlabProject *GitlabProject)
func (*GitlabProjectCommits) SetGitlabProject ¶ added in v0.57.0
func (g *GitlabProjectCommits) SetGitlabProject(gitlabProject *GitlabProject) (err error)
type GitlabProjectDeployKey ¶ added in v0.31.0
type GitlabProjectDeployKey struct {
// contains filtered or unexported fields
}
func NewGitlabProjectDeployKey ¶ added in v0.31.0
func NewGitlabProjectDeployKey() (projectDeployKey *GitlabProjectDeployKey)
func (*GitlabProjectDeployKey) CreateDeployKey ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) CreateDeployKey(createOptions *GitlabCreateDeployKeyOptions) (err error)
func (*GitlabProjectDeployKey) Delete ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) Delete(verbose bool) (err error)
func (*GitlabProjectDeployKey) Exists ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) Exists() (exists bool, err error)
func (*GitlabProjectDeployKey) GetGitlab ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabProjectDeployKey) GetGitlabProject ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabProjectDeployKey) GetGitlabProjectDeployKeys ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) GetGitlabProjectDeployKeys() (gitlabProjectProjectDeployKeys *GitlabProjectDeployKeys, err error)
func (*GitlabProjectDeployKey) GetId ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) GetId() (id int, err error)
func (*GitlabProjectDeployKey) GetName ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) GetName() (name string, err error)
func (*GitlabProjectDeployKey) GetNativeProjectDeployKeyService ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) GetNativeProjectDeployKeyService() (nativeService *gitlab.DeployKeysService, err error)
func (*GitlabProjectDeployKey) GetProjectId ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) GetProjectId() (id int, err error)
func (*GitlabProjectDeployKey) MustCreateDeployKey ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustCreateDeployKey(createOptions *GitlabCreateDeployKeyOptions)
func (*GitlabProjectDeployKey) MustDelete ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustDelete(verbose bool)
func (*GitlabProjectDeployKey) MustExists ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustExists() (exists bool)
func (*GitlabProjectDeployKey) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabProjectDeployKey) MustGetGitlabProject ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabProjectDeployKey) MustGetGitlabProjectDeployKeys ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustGetGitlabProjectDeployKeys() (gitlabProjectProjectDeployKeys *GitlabProjectDeployKeys)
func (*GitlabProjectDeployKey) MustGetId ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustGetId() (id int)
func (*GitlabProjectDeployKey) MustGetName ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustGetName() (name string)
func (*GitlabProjectDeployKey) MustGetNativeProjectDeployKeyService ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustGetNativeProjectDeployKeyService() (nativeService *gitlab.DeployKeysService)
func (*GitlabProjectDeployKey) MustGetProjectId ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustGetProjectId() (id int)
func (*GitlabProjectDeployKey) MustRecreateDeployKey ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustRecreateDeployKey(createOptions *GitlabCreateDeployKeyOptions)
func (*GitlabProjectDeployKey) MustSetGitlabProjectDeployKeys ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustSetGitlabProjectDeployKeys(gitlabProjectDeployKeys *GitlabProjectDeployKeys)
func (*GitlabProjectDeployKey) MustSetId ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustSetId(id int)
func (*GitlabProjectDeployKey) MustSetName ¶ added in v0.31.0
func (g *GitlabProjectDeployKey) MustSetName(name string)
func (*GitlabProjectDeployKey) RecreateDeployKey ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) RecreateDeployKey(createOptions *GitlabCreateDeployKeyOptions) (err error)
func (*GitlabProjectDeployKey) SetGitlabProjectDeployKeys ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) SetGitlabProjectDeployKeys(gitlabProjectDeployKeys *GitlabProjectDeployKeys) (err error)
func (*GitlabProjectDeployKey) SetId ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) SetId(id int) (err error)
func (*GitlabProjectDeployKey) SetName ¶ added in v0.31.0
func (k *GitlabProjectDeployKey) SetName(name string) (err error)
type GitlabProjectDeployKeys ¶ added in v0.31.0
type GitlabProjectDeployKeys struct {
// contains filtered or unexported fields
}
func NewGitlabProjectDeployKeys ¶ added in v0.31.0
func NewGitlabProjectDeployKeys() (deployKeys *GitlabProjectDeployKeys)
func (*GitlabProjectDeployKeys) DeployKeyByNameExists ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) DeployKeyByNameExists(keyName string) (keyExists bool, err error)
func (*GitlabProjectDeployKeys) GetGitlab ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabProjectDeployKeys) GetGitlabProject ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabProjectDeployKeys) GetGitlabProjectDeployKeyByName ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) GetGitlabProjectDeployKeyByName(keyName string) (deployKey *GitlabProjectDeployKey, err error)
func (*GitlabProjectDeployKeys) GetKeyIdByKeyName ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) GetKeyIdByKeyName(keyName string) (id int, err error)
func (*GitlabProjectDeployKeys) GetKeyNameList ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) GetKeyNameList() (keyNames []string, err error)
func (*GitlabProjectDeployKeys) GetKeysList ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) GetKeysList() (keys []*GitlabProjectDeployKey, err error)
func (*GitlabProjectDeployKeys) GetNativeGitlabClient ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) GetNativeGitlabClient() (nativeGitlabClient *gitlab.Client, err error)
func (*GitlabProjectDeployKeys) GetNativeProjectDeployKeyService ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) GetNativeProjectDeployKeyService() (nativeService *gitlab.DeployKeysService, err error)
func (*GitlabProjectDeployKeys) GetProjectId ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) GetProjectId() (id int, err error)
func (*GitlabProjectDeployKeys) MustDeployKeyByNameExists ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustDeployKeyByNameExists(keyName string) (keyExists bool)
func (*GitlabProjectDeployKeys) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabProjectDeployKeys) MustGetGitlabProject ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabProjectDeployKeys) MustGetGitlabProjectDeployKeyByName ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustGetGitlabProjectDeployKeyByName(keyName string) (deployKey *GitlabProjectDeployKey)
func (*GitlabProjectDeployKeys) MustGetKeyIdByKeyName ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustGetKeyIdByKeyName(keyName string) (id int)
func (*GitlabProjectDeployKeys) MustGetKeyNameList ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustGetKeyNameList() (keyNames []string)
func (*GitlabProjectDeployKeys) MustGetKeysList ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustGetKeysList() (keys []*GitlabProjectDeployKey)
func (*GitlabProjectDeployKeys) MustGetNativeGitlabClient ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustGetNativeGitlabClient() (nativeGitlabClient *gitlab.Client)
func (*GitlabProjectDeployKeys) MustGetNativeProjectDeployKeyService ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustGetNativeProjectDeployKeyService() (nativeService *gitlab.DeployKeysService)
func (*GitlabProjectDeployKeys) MustGetProjectId ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustGetProjectId() (id int)
func (*GitlabProjectDeployKeys) MustSetGitlabProject ¶ added in v0.31.0
func (g *GitlabProjectDeployKeys) MustSetGitlabProject(gitlabProject *GitlabProject)
func (*GitlabProjectDeployKeys) SetGitlabProject ¶ added in v0.31.0
func (k *GitlabProjectDeployKeys) SetGitlabProject(gitlabProject *GitlabProject) (err error)
type GitlabProjectMergeRequests ¶ added in v0.56.0
type GitlabProjectMergeRequests struct {
// contains filtered or unexported fields
}
Handle Gitlab merge requests related to a project.
func NewGitlabMergeRequests ¶ added in v0.55.0
func NewGitlabMergeRequests() (g *GitlabProjectMergeRequests)
func NewGitlabProjectMergeRequests ¶ added in v0.56.0
func NewGitlabProjectMergeRequests() (g *GitlabProjectMergeRequests)
func (*GitlabProjectMergeRequests) CreateMergeRequest ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) CreateMergeRequest(options *GitlabCreateMergeRequestOptions) (createdMergeRequest *GitlabMergeRequest, err error)
func (*GitlabProjectMergeRequests) GetDefaultBranchName ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetDefaultBranchName() (defaultBranchName string, err error)
func (*GitlabProjectMergeRequests) GetGitlab ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabProjectMergeRequests) GetGitlabProject ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabProjectMergeRequests) GetMergeRequestByNativeMergeRequest ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetMergeRequestByNativeMergeRequest(nativeMergeRequest *gitlab.MergeRequest) (mergeRequest *GitlabMergeRequest, err error)
func (*GitlabProjectMergeRequests) GetNativeMergeRequestsService ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetNativeMergeRequestsService() (nativeService *gitlab.MergeRequestsService, err error)
func (*GitlabProjectMergeRequests) GetOpenMergeRequestBySourceAndTargetBranch ¶ added in v0.64.0
func (g *GitlabProjectMergeRequests) GetOpenMergeRequestBySourceAndTargetBranch(sourceBranchName string, targetBranchName string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
func (*GitlabProjectMergeRequests) GetOpenMergeRequestByTitle ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetOpenMergeRequestByTitle(title string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
func (*GitlabProjectMergeRequests) GetOpenMergeRequestByTitleOrNilIfNotPresent ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetOpenMergeRequestByTitleOrNilIfNotPresent(title string, verbose bool) (mergeRequest *GitlabMergeRequest, err error)
func (*GitlabProjectMergeRequests) GetOpenMergeRequests ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetOpenMergeRequests(verbose bool) (openMergeRequest []*GitlabMergeRequest, err error)
func (*GitlabProjectMergeRequests) GetProjectId ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetProjectId() (projectId int, err error)
func (*GitlabProjectMergeRequests) GetProjectUrlAsString ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetProjectUrlAsString() (projectUrl string, err error)
func (*GitlabProjectMergeRequests) GetRawMergeRequests ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) GetRawMergeRequests(options *gitlab.ListProjectMergeRequestsOptions) (rawMergeRequests []*gitlab.MergeRequest, err error)
func (*GitlabProjectMergeRequests) GetUserId ¶ added in v0.88.0
func (g *GitlabProjectMergeRequests) GetUserId() (userId int, err error)
Returns the `userId` of the currently logged in user.
func (*GitlabProjectMergeRequests) MustCreateMergeRequest ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustCreateMergeRequest(options *GitlabCreateMergeRequestOptions) (createdMergeRequest *GitlabMergeRequest)
func (*GitlabProjectMergeRequests) MustGetDefaultBranchName ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetDefaultBranchName() (defaultBranchName string)
func (*GitlabProjectMergeRequests) MustGetGitlab ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabProjectMergeRequests) MustGetGitlabProject ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabProjectMergeRequests) MustGetMergeRequestByNativeMergeRequest ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetMergeRequestByNativeMergeRequest(nativeMergeRequest *gitlab.MergeRequest) (mergeRequest *GitlabMergeRequest)
func (*GitlabProjectMergeRequests) MustGetNativeMergeRequestsService ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetNativeMergeRequestsService() (nativeService *gitlab.MergeRequestsService)
func (*GitlabProjectMergeRequests) MustGetOpenMergeRequestBySourceAndTargetBranch ¶ added in v0.64.0
func (g *GitlabProjectMergeRequests) MustGetOpenMergeRequestBySourceAndTargetBranch(sourceBranchName string, targetBranchName string, verbose bool) (mergeRequest *GitlabMergeRequest)
func (*GitlabProjectMergeRequests) MustGetOpenMergeRequestByTitle ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetOpenMergeRequestByTitle(title string, verbose bool) (mergeRequest *GitlabMergeRequest)
func (*GitlabProjectMergeRequests) MustGetOpenMergeRequestByTitleOrNilIfNotPresent ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetOpenMergeRequestByTitleOrNilIfNotPresent(title string, verbose bool) (mergeRequest *GitlabMergeRequest)
func (*GitlabProjectMergeRequests) MustGetOpenMergeRequests ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetOpenMergeRequests(verbose bool) (openMergeRequest []*GitlabMergeRequest)
func (*GitlabProjectMergeRequests) MustGetProjectId ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetProjectId() (projectId int)
func (*GitlabProjectMergeRequests) MustGetProjectUrlAsString ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetProjectUrlAsString() (projectUrl string)
func (*GitlabProjectMergeRequests) MustGetRawMergeRequests ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustGetRawMergeRequests(options *gitlab.ListProjectMergeRequestsOptions) (rawMergeRequests []*gitlab.MergeRequest)
func (*GitlabProjectMergeRequests) MustGetUserId ¶ added in v0.100.0
func (g *GitlabProjectMergeRequests) MustGetUserId() (userId int)
func (*GitlabProjectMergeRequests) MustSetGitlabProject ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) MustSetGitlabProject(gitlabProject *GitlabProject)
func (*GitlabProjectMergeRequests) SetGitlabProject ¶ added in v0.56.0
func (g *GitlabProjectMergeRequests) SetGitlabProject(gitlabProject *GitlabProject) (err error)
type GitlabProjects ¶ added in v0.31.0
type GitlabProjects struct {
// contains filtered or unexported fields
}
func NewGitlabProjects ¶ added in v0.31.0
func NewGitlabProjects() (gitlabProject *GitlabProjects)
func (*GitlabProjects) CreateProject ¶ added in v0.31.0
func (p *GitlabProjects) CreateProject(createOptions *GitlabCreateProjectOptions) (createdGitlabProject *GitlabProject, err error)
func (*GitlabProjects) DeleteProject ¶ added in v0.54.0
func (g *GitlabProjects) DeleteProject(deleteProjectOptions *GitlabDeleteProjectOptions) (err error)
func (*GitlabProjects) GetCurrentUserName ¶ added in v0.54.0
func (g *GitlabProjects) GetCurrentUserName(verbose bool) (userName string, err error)
func (*GitlabProjects) GetFqdn ¶ added in v0.31.0
func (p *GitlabProjects) GetFqdn() (fqdn string, err error)
func (*GitlabProjects) GetGitlab ¶ added in v0.31.0
func (p *GitlabProjects) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabProjects) GetNativeClient ¶ added in v0.31.0
func (p *GitlabProjects) GetNativeClient() (nativeClient *gitlab.Client, err error)
func (*GitlabProjects) GetNativeProjectsService ¶ added in v0.31.0
func (p *GitlabProjects) GetNativeProjectsService() (nativeGitlabProject *gitlab.ProjectsService, err error)
func (*GitlabProjects) GetPersonalProjectsPath ¶ added in v0.54.0
func (g *GitlabProjects) GetPersonalProjectsPath(verbose bool) (personalProjectPath string, err error)
func (*GitlabProjects) GetProjectById ¶ added in v0.37.0
func (g *GitlabProjects) GetProjectById(projectId int) (gitlabProject *GitlabProject, err error)
func (*GitlabProjects) GetProjectByNativeProject ¶ added in v0.37.0
func (g *GitlabProjects) GetProjectByNativeProject(nativeProject *gitlab.Project) (gitlabProject *GitlabProject, err error)
func (*GitlabProjects) GetProjectByProjectPath ¶ added in v0.31.0
func (g *GitlabProjects) GetProjectByProjectPath(projectPath string, verbose bool) (gitlabProject *GitlabProject, err error)
func (*GitlabProjects) GetProjectIdByProjectPath ¶ added in v0.54.0
func (g *GitlabProjects) GetProjectIdByProjectPath(projectPath string, verbose bool) (projectId int, err error)
func (*GitlabProjects) GetProjectList ¶ added in v0.31.0
func (p *GitlabProjects) GetProjectList(options *GitlabgetProjectListOptions) (gitlabProjects []*GitlabProject, err error)
func (*GitlabProjects) GetProjectPathList ¶ added in v0.31.0
func (p *GitlabProjects) GetProjectPathList(options *GitlabgetProjectListOptions) (projectPaths []string, err error)
func (*GitlabProjects) IsProjectPathPersonalProject ¶ added in v0.54.0
func (p *GitlabProjects) IsProjectPathPersonalProject(projectPath string) (isPersonalProject bool, err error)
func (*GitlabProjects) MustCreateProject ¶ added in v0.31.0
func (g *GitlabProjects) MustCreateProject(createOptions *GitlabCreateProjectOptions) (createdGitlabProject *GitlabProject)
func (*GitlabProjects) MustDeleteProject ¶ added in v0.54.0
func (g *GitlabProjects) MustDeleteProject(deleteProjectOptions *GitlabDeleteProjectOptions)
func (*GitlabProjects) MustGetCurrentUserName ¶ added in v0.55.0
func (g *GitlabProjects) MustGetCurrentUserName(verbose bool) (userName string)
func (*GitlabProjects) MustGetFqdn ¶ added in v0.31.0
func (g *GitlabProjects) MustGetFqdn() (fqdn string)
func (*GitlabProjects) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabProjects) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabProjects) MustGetNativeClient ¶ added in v0.31.0
func (g *GitlabProjects) MustGetNativeClient() (nativeClient *gitlab.Client)
func (*GitlabProjects) MustGetNativeProjectsService ¶ added in v0.31.0
func (g *GitlabProjects) MustGetNativeProjectsService() (nativeGitlabProject *gitlab.ProjectsService)
func (*GitlabProjects) MustGetPersonalProjectsPath ¶ added in v0.55.0
func (g *GitlabProjects) MustGetPersonalProjectsPath(verbose bool) (personalProjectPath string)
func (*GitlabProjects) MustGetProjectById ¶ added in v0.37.0
func (g *GitlabProjects) MustGetProjectById(projectId int) (gitlabProject *GitlabProject)
func (*GitlabProjects) MustGetProjectByNativeProject ¶ added in v0.37.0
func (g *GitlabProjects) MustGetProjectByNativeProject(nativeProject *gitlab.Project) (gitlabProject *GitlabProject)
func (*GitlabProjects) MustGetProjectByProjectPath ¶ added in v0.31.0
func (g *GitlabProjects) MustGetProjectByProjectPath(projectPath string, verbose bool) (gitlabProject *GitlabProject)
func (*GitlabProjects) MustGetProjectIdByProjectPath ¶ added in v0.55.0
func (g *GitlabProjects) MustGetProjectIdByProjectPath(projectPath string, verbose bool) (projectId int)
func (*GitlabProjects) MustGetProjectList ¶ added in v0.31.0
func (g *GitlabProjects) MustGetProjectList(options *GitlabgetProjectListOptions) (gitlabProjects []*GitlabProject)
func (*GitlabProjects) MustGetProjectPathList ¶ added in v0.31.0
func (g *GitlabProjects) MustGetProjectPathList(options *GitlabgetProjectListOptions) (projectPaths []string)
func (*GitlabProjects) MustIsProjectPathPersonalProject ¶ added in v0.54.0
func (g *GitlabProjects) MustIsProjectPathPersonalProject(projectPath string) (isPersonalProject bool)
func (*GitlabProjects) MustProjectByProjectIdExists ¶ added in v0.37.0
func (g *GitlabProjects) MustProjectByProjectIdExists(projectId int, verbose bool) (projectExists bool)
func (*GitlabProjects) MustProjectByProjectPathExists ¶ added in v0.31.0
func (g *GitlabProjects) MustProjectByProjectPathExists(projectPath string, verbose bool) (projectExists bool)
func (*GitlabProjects) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabProjects) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabProjects) ProjectByProjectIdExists ¶ added in v0.37.0
func (g *GitlabProjects) ProjectByProjectIdExists(projectId int, verbose bool) (projectExists bool, err error)
func (*GitlabProjects) ProjectByProjectPathExists ¶ added in v0.31.0
func (p *GitlabProjects) ProjectByProjectPathExists(projectPath string, verbose bool) (projectExists bool, err error)
func (*GitlabProjects) SetGitlab ¶ added in v0.31.0
func (p *GitlabProjects) SetGitlab(gitlab *GitlabInstance) (err error)
type GitlabReadFileOptions ¶ added in v0.39.0
func NewGitlabReadFileOptions ¶ added in v0.39.0
func NewGitlabReadFileOptions() (g *GitlabReadFileOptions)
func (*GitlabReadFileOptions) GetBranchName ¶ added in v0.39.0
func (g *GitlabReadFileOptions) GetBranchName() (branchName string, err error)
func (*GitlabReadFileOptions) GetDeepCopy ¶ added in v0.88.0
func (g *GitlabReadFileOptions) GetDeepCopy() (deepCopy *GitlabReadFileOptions)
func (*GitlabReadFileOptions) GetGitlabGetRepositoryFileOptions ¶ added in v0.39.0
func (g *GitlabReadFileOptions) GetGitlabGetRepositoryFileOptions() (getOptions *GitlabGetRepositoryFileOptions, err error)
func (*GitlabReadFileOptions) GetPath ¶ added in v0.39.0
func (g *GitlabReadFileOptions) GetPath() (path string, err error)
func (*GitlabReadFileOptions) GetVerbose ¶ added in v0.39.0
func (g *GitlabReadFileOptions) GetVerbose() (verbose bool)
func (*GitlabReadFileOptions) MustGetBranchName ¶ added in v0.39.0
func (g *GitlabReadFileOptions) MustGetBranchName() (branchName string)
func (*GitlabReadFileOptions) MustGetGitlabGetRepositoryFileOptions ¶ added in v0.39.0
func (g *GitlabReadFileOptions) MustGetGitlabGetRepositoryFileOptions() (getOptions *GitlabGetRepositoryFileOptions)
func (*GitlabReadFileOptions) MustGetPath ¶ added in v0.39.0
func (g *GitlabReadFileOptions) MustGetPath() (path string)
func (*GitlabReadFileOptions) MustSetBranchName ¶ added in v0.39.0
func (g *GitlabReadFileOptions) MustSetBranchName(branchName string)
func (*GitlabReadFileOptions) MustSetPath ¶ added in v0.39.0
func (g *GitlabReadFileOptions) MustSetPath(path string)
func (*GitlabReadFileOptions) SetBranchName ¶ added in v0.39.0
func (g *GitlabReadFileOptions) SetBranchName(branchName string) (err error)
func (*GitlabReadFileOptions) SetPath ¶ added in v0.39.0
func (g *GitlabReadFileOptions) SetPath(path string) (err error)
func (*GitlabReadFileOptions) SetVerbose ¶ added in v0.39.0
func (g *GitlabReadFileOptions) SetVerbose(verbose bool)
type GitlabRelease ¶ added in v0.100.0
type GitlabRelease struct {
// contains filtered or unexported fields
}
func NewGitlabRelease ¶ added in v0.100.0
func NewGitlabRelease() (g *GitlabRelease)
func (*GitlabRelease) CreateReleaseLink ¶ added in v0.101.0
func (g *GitlabRelease) CreateReleaseLink(createOptions *GitlabCreateReleaseLinkOptions) (createdReleaseLink *GitlabReleaseLink, err error)
func (*GitlabRelease) Delete ¶ added in v0.100.0
func (g *GitlabRelease) Delete(deleteOptions *GitlabDeleteReleaseOptions) (err error)
func (*GitlabRelease) DeleteCorrespondingTag ¶ added in v0.100.0
func (g *GitlabRelease) DeleteCorrespondingTag(verbose bool) (err error)
func (*GitlabRelease) Exists ¶ added in v0.100.0
func (g *GitlabRelease) Exists(verbose bool) (exists bool, err error)
func (*GitlabRelease) GetGitlab ¶ added in v0.101.0
func (g *GitlabRelease) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabRelease) GetGitlabProject ¶ added in v0.100.0
func (g *GitlabRelease) GetGitlabProject() (project *GitlabProject, err error)
func (*GitlabRelease) GetGitlabReleaseLinks ¶ added in v0.101.0
func (g *GitlabRelease) GetGitlabReleaseLinks() (gitlabReleaseLinks *GitlabReleaseLinks, err error)
func (*GitlabRelease) GetGitlabReleases ¶ added in v0.100.0
func (g *GitlabRelease) GetGitlabReleases() (gitlabReleases *GitlabReleases, err error)
func (*GitlabRelease) GetName ¶ added in v0.100.0
func (g *GitlabRelease) GetName() (name string, err error)
func (*GitlabRelease) GetNativeReleasesClient ¶ added in v0.100.0
func (g *GitlabRelease) GetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService, err error)
func (*GitlabRelease) GetProjectId ¶ added in v0.100.0
func (g *GitlabRelease) GetProjectId() (pid int, err error)
func (*GitlabRelease) GetProjectUrl ¶ added in v0.100.0
func (g *GitlabRelease) GetProjectUrl() (projectUrl string, err error)
func (*GitlabRelease) GetProjectUrlAndReleaseName ¶ added in v0.100.0
func (g *GitlabRelease) GetProjectUrlAndReleaseName() (projectUrl string, releaseName string, err error)
func (*GitlabRelease) GetRawResponse ¶ added in v0.100.0
func (g *GitlabRelease) GetRawResponse() (rawRelease *gitlab.Release, err error)
func (*GitlabRelease) GetTag ¶ added in v0.100.0
func (g *GitlabRelease) GetTag() (tag *GitlabTag, err error)
func (*GitlabRelease) HasReleaseLinks ¶ added in v0.101.0
func (g *GitlabRelease) HasReleaseLinks(verbose bool) (hasReleaseLinks bool, err error)
func (*GitlabRelease) ListReleaseLinkUrls ¶ added in v0.101.0
func (g *GitlabRelease) ListReleaseLinkUrls(verbose bool) (releaseLinkUrls []string, err error)
func (*GitlabRelease) MustCreateReleaseLink ¶ added in v0.101.0
func (g *GitlabRelease) MustCreateReleaseLink(createOptions *GitlabCreateReleaseLinkOptions) (createdReleaseLink *GitlabReleaseLink)
func (*GitlabRelease) MustDelete ¶ added in v0.100.0
func (g *GitlabRelease) MustDelete(deleteOptions *GitlabDeleteReleaseOptions)
func (*GitlabRelease) MustDeleteCorrespondingTag ¶ added in v0.100.0
func (g *GitlabRelease) MustDeleteCorrespondingTag(verbose bool)
func (*GitlabRelease) MustExists ¶ added in v0.100.0
func (g *GitlabRelease) MustExists(verbose bool) (exists bool)
func (*GitlabRelease) MustGetGitlab ¶ added in v0.101.0
func (g *GitlabRelease) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabRelease) MustGetGitlabProject ¶ added in v0.100.0
func (g *GitlabRelease) MustGetGitlabProject() (project *GitlabProject)
func (*GitlabRelease) MustGetGitlabReleaseLinks ¶ added in v0.101.0
func (g *GitlabRelease) MustGetGitlabReleaseLinks() (gitlabReleaseLinks *GitlabReleaseLinks)
func (*GitlabRelease) MustGetGitlabReleases ¶ added in v0.100.0
func (g *GitlabRelease) MustGetGitlabReleases() (gitlabReleases *GitlabReleases)
func (*GitlabRelease) MustGetName ¶ added in v0.100.0
func (g *GitlabRelease) MustGetName() (name string)
func (*GitlabRelease) MustGetNativeReleasesClient ¶ added in v0.100.0
func (g *GitlabRelease) MustGetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService)
func (*GitlabRelease) MustGetProjectId ¶ added in v0.100.0
func (g *GitlabRelease) MustGetProjectId() (pid int)
func (*GitlabRelease) MustGetProjectUrl ¶ added in v0.100.0
func (g *GitlabRelease) MustGetProjectUrl() (projectUrl string)
func (*GitlabRelease) MustGetProjectUrlAndReleaseName ¶ added in v0.100.0
func (g *GitlabRelease) MustGetProjectUrlAndReleaseName() (projectUrl string, releaseName string)
func (*GitlabRelease) MustGetRawResponse ¶ added in v0.100.0
func (g *GitlabRelease) MustGetRawResponse() (rawRelease *gitlab.Release)
func (*GitlabRelease) MustGetTag ¶ added in v0.100.0
func (g *GitlabRelease) MustGetTag() (tag *GitlabTag)
func (*GitlabRelease) MustHasReleaseLinks ¶ added in v0.101.0
func (g *GitlabRelease) MustHasReleaseLinks(verbose bool) (hasReleaseLinks bool)
func (*GitlabRelease) MustListReleaseLinkUrls ¶ added in v0.101.0
func (g *GitlabRelease) MustListReleaseLinkUrls(verbose bool) (releaseLinkUrls []string)
func (*GitlabRelease) MustSetGitlabReleases ¶ added in v0.100.0
func (g *GitlabRelease) MustSetGitlabReleases(gitlabReleases *GitlabReleases)
func (*GitlabRelease) MustSetName ¶ added in v0.100.0
func (g *GitlabRelease) MustSetName(name string)
func (*GitlabRelease) SetGitlabReleases ¶ added in v0.100.0
func (g *GitlabRelease) SetGitlabReleases(gitlabReleases *GitlabReleases) (err error)
func (*GitlabRelease) SetName ¶ added in v0.100.0
func (g *GitlabRelease) SetName(name string) (err error)
type GitlabReleaseLink ¶ added in v0.101.0
type GitlabReleaseLink struct {
// contains filtered or unexported fields
}
func NewGitlabReleaseLink ¶ added in v0.101.0
func NewGitlabReleaseLink() (g *GitlabReleaseLink)
func (*GitlabReleaseLink) GetCachedUrl ¶ added in v0.101.0
func (g *GitlabReleaseLink) GetCachedUrl() (cachedUrl string, err error)
func (*GitlabReleaseLink) GetGitlabReleaseLinks ¶ added in v0.101.0
func (g *GitlabReleaseLink) GetGitlabReleaseLinks() (gitlabReleaseLinks *GitlabReleaseLinks, err error)
func (*GitlabReleaseLink) GetName ¶ added in v0.101.0
func (g *GitlabReleaseLink) GetName() (name string, err error)
func (*GitlabReleaseLink) MustGetCachedUrl ¶ added in v0.101.0
func (g *GitlabReleaseLink) MustGetCachedUrl() (cachedUrl string)
func (*GitlabReleaseLink) MustGetGitlabReleaseLinks ¶ added in v0.101.0
func (g *GitlabReleaseLink) MustGetGitlabReleaseLinks() (gitlabReleaseLinks *GitlabReleaseLinks)
func (*GitlabReleaseLink) MustGetName ¶ added in v0.101.0
func (g *GitlabReleaseLink) MustGetName() (name string)
func (*GitlabReleaseLink) MustSetCachedUrl ¶ added in v0.101.0
func (g *GitlabReleaseLink) MustSetCachedUrl(cachedUrl string)
func (*GitlabReleaseLink) MustSetGitlabReleaseLinks ¶ added in v0.101.0
func (g *GitlabReleaseLink) MustSetGitlabReleaseLinks(gitlabReleaseLinks *GitlabReleaseLinks)
func (*GitlabReleaseLink) MustSetName ¶ added in v0.101.0
func (g *GitlabReleaseLink) MustSetName(name string)
func (*GitlabReleaseLink) SetCachedUrl ¶ added in v0.101.0
func (g *GitlabReleaseLink) SetCachedUrl(cachedUrl string) (err error)
func (*GitlabReleaseLink) SetGitlabReleaseLinks ¶ added in v0.101.0
func (g *GitlabReleaseLink) SetGitlabReleaseLinks(gitlabReleaseLinks *GitlabReleaseLinks) (err error)
func (*GitlabReleaseLink) SetName ¶ added in v0.101.0
func (g *GitlabReleaseLink) SetName(name string) (err error)
type GitlabReleaseLinks ¶ added in v0.101.0
type GitlabReleaseLinks struct {
// contains filtered or unexported fields
}
func NewGitlabReleaseLinks ¶ added in v0.101.0
func NewGitlabReleaseLinks() (g *GitlabReleaseLinks)
func (*GitlabReleaseLinks) CreateReleaseLink ¶ added in v0.101.0
func (g *GitlabReleaseLinks) CreateReleaseLink(createOptions *GitlabCreateReleaseLinkOptions) (createdReleaseLink *GitlabReleaseLink, err error)
func (*GitlabReleaseLinks) GetGitlab ¶ added in v0.101.0
func (g *GitlabReleaseLinks) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabReleaseLinks) GetGitlabRelease ¶ added in v0.101.0
func (g *GitlabReleaseLinks) GetGitlabRelease() (gitlabRelease *GitlabRelease, err error)
func (*GitlabReleaseLinks) GetNativeReleaseLinksClient ¶ added in v0.101.0
func (g *GitlabReleaseLinks) GetNativeReleaseLinksClient() (nativeClient *gitlab.ReleaseLinksService, err error)
func (*GitlabReleaseLinks) GetProjectId ¶ added in v0.101.0
func (g *GitlabReleaseLinks) GetProjectId() (projectId int, err error)
func (*GitlabReleaseLinks) GetProjectIdAndUrl ¶ added in v0.101.0
func (g *GitlabReleaseLinks) GetProjectIdAndUrl() (projectId int, projectUrl string, err error)
func (*GitlabReleaseLinks) GetProjectUrl ¶ added in v0.101.0
func (g *GitlabReleaseLinks) GetProjectUrl() (projectUrl string, err error)
func (*GitlabReleaseLinks) GetReleaseLinkByName ¶ added in v0.101.0
func (g *GitlabReleaseLinks) GetReleaseLinkByName(linkName string) (releaseLink *GitlabReleaseLink, err error)
func (*GitlabReleaseLinks) GetReleaseName ¶ added in v0.101.0
func (g *GitlabReleaseLinks) GetReleaseName() (releaseName string, err error)
func (*GitlabReleaseLinks) HasReleaseLinks ¶ added in v0.101.0
func (g *GitlabReleaseLinks) HasReleaseLinks(verbose bool) (hasReleaseLinks bool, err error)
func (*GitlabReleaseLinks) ListReleaseLinkNames ¶ added in v0.101.0
func (g *GitlabReleaseLinks) ListReleaseLinkNames(verbose bool) (releaseLinkNames []string, err error)
func (*GitlabReleaseLinks) ListReleaseLinkUrls ¶ added in v0.101.0
func (g *GitlabReleaseLinks) ListReleaseLinkUrls(verbose bool) (releaseLinkUrls []string, err error)
func (*GitlabReleaseLinks) ListReleaseLinks ¶ added in v0.101.0
func (g *GitlabReleaseLinks) ListReleaseLinks(verbose bool) (releaseLinks []*GitlabReleaseLink, err error)
func (*GitlabReleaseLinks) MustCreateReleaseLink ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustCreateReleaseLink(createOptions *GitlabCreateReleaseLinkOptions) (createdReleaseLink *GitlabReleaseLink)
func (*GitlabReleaseLinks) MustGetGitlab ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabReleaseLinks) MustGetGitlabRelease ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustGetGitlabRelease() (gitlabRelease *GitlabRelease)
func (*GitlabReleaseLinks) MustGetNativeReleaseLinksClient ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustGetNativeReleaseLinksClient() (nativeClient *gitlab.ReleaseLinksService)
func (*GitlabReleaseLinks) MustGetProjectId ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustGetProjectId() (projectId int)
func (*GitlabReleaseLinks) MustGetProjectIdAndUrl ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustGetProjectIdAndUrl() (projectId int, projectUrl string)
func (*GitlabReleaseLinks) MustGetProjectUrl ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustGetProjectUrl() (projectUrl string)
func (*GitlabReleaseLinks) MustGetReleaseLinkByName ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustGetReleaseLinkByName(linkName string) (releaseLink *GitlabReleaseLink)
func (*GitlabReleaseLinks) MustGetReleaseName ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustGetReleaseName() (releaseName string)
func (*GitlabReleaseLinks) MustHasReleaseLinks ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustHasReleaseLinks(verbose bool) (hasReleaseLinks bool)
func (*GitlabReleaseLinks) MustListReleaseLinkNames ¶ added in v0.102.0
func (g *GitlabReleaseLinks) MustListReleaseLinkNames(verbose bool) (releaseLinkNames []string)
func (*GitlabReleaseLinks) MustListReleaseLinkUrls ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustListReleaseLinkUrls(verbose bool) (releaseLinkUrls []string)
func (*GitlabReleaseLinks) MustListReleaseLinks ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustListReleaseLinks(verbose bool) (releaseLinks []*GitlabReleaseLink)
func (*GitlabReleaseLinks) MustReleaseLinkByNameExists ¶ added in v0.102.0
func (g *GitlabReleaseLinks) MustReleaseLinkByNameExists(linkName string, verbose bool) (exists bool)
func (*GitlabReleaseLinks) MustSetGitlabRelease ¶ added in v0.101.0
func (g *GitlabReleaseLinks) MustSetGitlabRelease(gitlabRelease *GitlabRelease)
func (*GitlabReleaseLinks) ReleaseLinkByNameExists ¶ added in v0.101.0
func (g *GitlabReleaseLinks) ReleaseLinkByNameExists(linkName string, verbose bool) (exists bool, err error)
func (*GitlabReleaseLinks) SetGitlabRelease ¶ added in v0.101.0
func (g *GitlabReleaseLinks) SetGitlabRelease(gitlabRelease *GitlabRelease) (err error)
type GitlabReleases ¶ added in v0.100.0
type GitlabReleases struct {
// contains filtered or unexported fields
}
func NewGitlabReleases ¶ added in v0.100.0
func NewGitlabReleases() (g *GitlabReleases)
func (*GitlabReleases) CreateRelease ¶ added in v0.100.0
func (g *GitlabReleases) CreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease, err error)
func (*GitlabReleases) DeleteAllReleases ¶ added in v0.102.0
func (g *GitlabReleases) DeleteAllReleases(options *GitlabDeleteReleaseOptions) (err error)
func (*GitlabReleases) GetGitlab ¶ added in v0.100.0
func (g *GitlabReleases) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabReleases) GetGitlabProject ¶ added in v0.100.0
func (g *GitlabReleases) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabReleases) GetGitlabReleaseByName ¶ added in v0.100.0
func (g *GitlabReleases) GetGitlabReleaseByName(releaseName string) (gitlabRelease *GitlabRelease, err error)
func (*GitlabReleases) GetNativeReleasesClient ¶ added in v0.100.0
func (g *GitlabReleases) GetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService, err error)
func (*GitlabReleases) GetProjectId ¶ added in v0.100.0
func (g *GitlabReleases) GetProjectId() (projectId int, err error)
func (*GitlabReleases) GetProjectIdAndUrl ¶ added in v0.100.0
func (g *GitlabReleases) GetProjectIdAndUrl() (projectId int, projectUrl string, err error)
func (*GitlabReleases) GetProjectUrl ¶ added in v0.100.0
func (g *GitlabReleases) GetProjectUrl() (projectUrl string, err error)
func (*GitlabReleases) ListReleases ¶ added in v0.102.0
func (g *GitlabReleases) ListReleases(verbose bool) (releaseList []*GitlabRelease, err error)
func (*GitlabReleases) MustCreateRelease ¶ added in v0.100.0
func (g *GitlabReleases) MustCreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease)
func (*GitlabReleases) MustDeleteAllReleases ¶ added in v0.102.0
func (g *GitlabReleases) MustDeleteAllReleases(options *GitlabDeleteReleaseOptions)
func (*GitlabReleases) MustGetGitlab ¶ added in v0.100.0
func (g *GitlabReleases) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabReleases) MustGetGitlabProject ¶ added in v0.100.0
func (g *GitlabReleases) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabReleases) MustGetGitlabReleaseByName ¶ added in v0.100.0
func (g *GitlabReleases) MustGetGitlabReleaseByName(releaseName string) (gitlabRelease *GitlabRelease)
func (*GitlabReleases) MustGetNativeReleasesClient ¶ added in v0.100.0
func (g *GitlabReleases) MustGetNativeReleasesClient() (nativeReleasesClient *gitlab.ReleasesService)
func (*GitlabReleases) MustGetProjectId ¶ added in v0.100.0
func (g *GitlabReleases) MustGetProjectId() (projectId int)
func (*GitlabReleases) MustGetProjectIdAndUrl ¶ added in v0.100.0
func (g *GitlabReleases) MustGetProjectIdAndUrl() (projectId int, projectUrl string)
func (*GitlabReleases) MustGetProjectUrl ¶ added in v0.100.0
func (g *GitlabReleases) MustGetProjectUrl() (projectUrl string)
func (*GitlabReleases) MustListReleases ¶ added in v0.102.0
func (g *GitlabReleases) MustListReleases(verbose bool) (releaseList []*GitlabRelease)
func (*GitlabReleases) MustReleaseByNameExists ¶ added in v0.101.0
func (g *GitlabReleases) MustReleaseByNameExists(releaseName string, verbose bool) (exists bool)
func (*GitlabReleases) MustSetGitlabProject ¶ added in v0.100.0
func (g *GitlabReleases) MustSetGitlabProject(gitlabProject *GitlabProject)
func (*GitlabReleases) ReleaseByNameExists ¶ added in v0.101.0
func (g *GitlabReleases) ReleaseByNameExists(releaseName string, verbose bool) (exists bool, err error)
func (*GitlabReleases) SetGitlabProject ¶ added in v0.100.0
func (g *GitlabReleases) SetGitlabProject(gitlabProject *GitlabProject) (err error)
type GitlabRepositoryFile ¶ added in v0.39.0
type GitlabRepositoryFile struct { Path string BranchName string // contains filtered or unexported fields }
func NewGitlabRepositoryFile ¶ added in v0.39.0
func NewGitlabRepositoryFile() (g *GitlabRepositoryFile)
func (*GitlabRepositoryFile) Delete ¶ added in v0.45.0
func (g *GitlabRepositoryFile) Delete(commitMessage string, verbose bool) (err error)
func (*GitlabRepositoryFile) Exists ¶ added in v0.39.0
func (g *GitlabRepositoryFile) Exists() (fileExists bool, err error)
func (*GitlabRepositoryFile) GetBranchName ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetBranchName() (branchName string, err error)
func (*GitlabRepositoryFile) GetContentAsBytes ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetContentAsBytes(verbose bool) (content []byte, err error)
func (*GitlabRepositoryFile) GetContentAsBytesAndCommitHash ¶ added in v0.88.0
func (g *GitlabRepositoryFile) GetContentAsBytesAndCommitHash(verbose bool) (content []byte, sha256sum string, err error)
func (*GitlabRepositoryFile) GetContentAsString ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetContentAsString(verbose bool) (content string, err error)
func (*GitlabRepositoryFile) GetDefaultBranchName ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetDefaultBranchName() (defaultBranchName string, err error)
func (*GitlabRepositoryFile) GetGitlabProject ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabRepositoryFile) GetNativeRepositoryFile ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetNativeRepositoryFile() (nativeFile *gitlab.File, err error)
func (*GitlabRepositoryFile) GetNativeRepositoryFilesClient ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, err error)
func (*GitlabRepositoryFile) GetNativeRepositoryFilesClientAndProjectId ¶ added in v0.45.0
func (g *GitlabRepositoryFile) GetNativeRepositoryFilesClientAndProjectId() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, projectId int, err error)
func (*GitlabRepositoryFile) GetPath ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetPath() (path string, err error)
func (*GitlabRepositoryFile) GetProjectId ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetProjectId() (projectId int, err error)
func (*GitlabRepositoryFile) GetProjectUrl ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetProjectUrl() (projectUrl string, err error)
func (*GitlabRepositoryFile) GetRepositoryFiles ¶ added in v0.39.0
func (g *GitlabRepositoryFile) GetRepositoryFiles() (repositoryFiles *GitlabRepositoryFiles, err error)
func (*GitlabRepositoryFile) GetSha256CheckSum ¶ added in v0.88.0
func (g *GitlabRepositoryFile) GetSha256CheckSum() (checkSum string, err error)
func (*GitlabRepositoryFile) IsBranchNameSet ¶ added in v0.39.0
func (g *GitlabRepositoryFile) IsBranchNameSet() (isSet bool)
func (*GitlabRepositoryFile) MustDelete ¶ added in v0.45.0
func (g *GitlabRepositoryFile) MustDelete(commitMessage string, verbose bool)
func (*GitlabRepositoryFile) MustExists ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustExists() (fileExists bool)
func (*GitlabRepositoryFile) MustGetBranchName ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetBranchName() (branchName string)
func (*GitlabRepositoryFile) MustGetContentAsBytes ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetContentAsBytes(verbose bool) (content []byte)
func (*GitlabRepositoryFile) MustGetContentAsBytesAndCommitHash ¶ added in v0.100.0
func (g *GitlabRepositoryFile) MustGetContentAsBytesAndCommitHash(verbose bool) (content []byte, sha256sum string)
func (*GitlabRepositoryFile) MustGetContentAsString ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetContentAsString(verbose bool) (content string)
func (*GitlabRepositoryFile) MustGetDefaultBranchName ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetDefaultBranchName() (defaultBranchName string)
func (*GitlabRepositoryFile) MustGetGitlabProject ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabRepositoryFile) MustGetNativeRepositoryFile ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetNativeRepositoryFile() (nativeFile *gitlab.File)
func (*GitlabRepositoryFile) MustGetNativeRepositoryFilesClient ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService)
func (*GitlabRepositoryFile) MustGetNativeRepositoryFilesClientAndProjectId ¶ added in v0.45.0
func (g *GitlabRepositoryFile) MustGetNativeRepositoryFilesClientAndProjectId() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, projectId int)
func (*GitlabRepositoryFile) MustGetPath ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetPath() (path string)
func (*GitlabRepositoryFile) MustGetProjectId ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetProjectId() (projectId int)
func (*GitlabRepositoryFile) MustGetProjectUrl ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetProjectUrl() (projectUrl string)
func (*GitlabRepositoryFile) MustGetRepositoryFiles ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustGetRepositoryFiles() (repositoryFiles *GitlabRepositoryFiles)
func (*GitlabRepositoryFile) MustGetSha256CheckSum ¶ added in v0.100.0
func (g *GitlabRepositoryFile) MustGetSha256CheckSum() (checkSum string)
func (*GitlabRepositoryFile) MustSetBranchName ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustSetBranchName(branchName string)
func (*GitlabRepositoryFile) MustSetGitlabProject ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustSetGitlabProject(gitlabProject *GitlabProject)
func (*GitlabRepositoryFile) MustSetPath ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustSetPath(path string)
func (*GitlabRepositoryFile) MustWriteFileContentByBytes ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustWriteFileContentByBytes(content []byte, commitMessage string, verbose bool)
func (*GitlabRepositoryFile) MustWriteFileContentByString ¶ added in v0.39.0
func (g *GitlabRepositoryFile) MustWriteFileContentByString(content string, commitMessage string, verbose bool)
func (*GitlabRepositoryFile) SetBranchName ¶ added in v0.39.0
func (g *GitlabRepositoryFile) SetBranchName(branchName string) (err error)
func (*GitlabRepositoryFile) SetGitlabProject ¶ added in v0.39.0
func (g *GitlabRepositoryFile) SetGitlabProject(gitlabProject *GitlabProject) (err error)
func (*GitlabRepositoryFile) SetPath ¶ added in v0.39.0
func (g *GitlabRepositoryFile) SetPath(path string) (err error)
func (*GitlabRepositoryFile) WriteFileContentByBytes ¶ added in v0.39.0
func (g *GitlabRepositoryFile) WriteFileContentByBytes(content []byte, commitMessage string, verbose bool) (err error)
func (*GitlabRepositoryFile) WriteFileContentByString ¶ added in v0.39.0
func (g *GitlabRepositoryFile) WriteFileContentByString(content string, commitMessage string, verbose bool) (err error)
type GitlabRepositoryFiles ¶ added in v0.39.0
type GitlabRepositoryFiles struct {
// contains filtered or unexported fields
}
func NewGitlabRepositoryFiles ¶ added in v0.39.0
func NewGitlabRepositoryFiles() (g *GitlabRepositoryFiles)
func (*GitlabRepositoryFiles) CreateEmptyFile ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) CreateEmptyFile(fileName string, ref string, verbose bool) (createdFile *GitlabRepositoryFile, err error)
func (*GitlabRepositoryFiles) DeleteAllRepositoryFiles ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) DeleteAllRepositoryFiles(branchName string, verbose bool) (err error)
func (*GitlabRepositoryFiles) GetDirectoryNames ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) GetDirectoryNames(ref string, verbose bool) (directoryNames []string, err error)
func (*GitlabRepositoryFiles) GetFileAndDirectoryNames ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) GetFileAndDirectoryNames(ref string, verbose bool) (fileNames []string, err error)
func (*GitlabRepositoryFiles) GetFileNames ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) GetFileNames(ref string, verbose bool) (fileNames []string, err error)
func (*GitlabRepositoryFiles) GetFiles ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) GetFiles(ref string, verbose bool) (files []*GitlabRepositoryFile, err error)
func (*GitlabRepositoryFiles) GetGitlab ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabRepositoryFiles) GetGitlabProject ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabRepositoryFiles) GetNativeRepositoriesClient ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) GetNativeRepositoriesClient() (nativeRepositoriesClient *gitlab.RepositoriesService, err error)
func (*GitlabRepositoryFiles) GetNativeRepositoriesClientAndProjectid ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) GetNativeRepositoriesClientAndProjectid() (nativeRepositoriesClient *gitlab.RepositoriesService, projectid int, err error)
func (*GitlabRepositoryFiles) GetNativeRepositoryFilesClient ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) GetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, err error)
func (*GitlabRepositoryFiles) GetNativeRepositoryFilesClientAndProjectId ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) GetNativeRepositoryFilesClientAndProjectId() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, projectId int, err error)
func (*GitlabRepositoryFiles) GetProjectId ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) GetProjectId() (projectId int, err error)
func (*GitlabRepositoryFiles) GetProjectUrl ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) GetProjectUrl() (projectUrl string, err error)
func (*GitlabRepositoryFiles) GetRepositoryFile ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) GetRepositoryFile(options *GitlabGetRepositoryFileOptions) (repositoryFile *GitlabRepositoryFile, err error)
func (*GitlabRepositoryFiles) HasNoRepositoryFiles ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) HasNoRepositoryFiles(branchName string, verbose bool) (hasNoRepositoryFiles bool, err error)
func (*GitlabRepositoryFiles) HasRepositoryFiles ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) HasRepositoryFiles(branchName string, verbose bool) (hasRepositoryFiles bool, err error)
func (*GitlabRepositoryFiles) MustCreateEmptyFile ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustCreateEmptyFile(fileName string, ref string, verbose bool) (createdFile *GitlabRepositoryFile)
func (*GitlabRepositoryFiles) MustDeleteAllRepositoryFiles ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustDeleteAllRepositoryFiles(branchName string, verbose bool)
func (*GitlabRepositoryFiles) MustGetDirectoryNames ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustGetDirectoryNames(ref string, verbose bool) (directoryNames []string)
func (*GitlabRepositoryFiles) MustGetFileAndDirectoryNames ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustGetFileAndDirectoryNames(ref string, verbose bool) (fileNames []string)
func (*GitlabRepositoryFiles) MustGetFileNames ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustGetFileNames(ref string, verbose bool) (fileNames []string)
func (*GitlabRepositoryFiles) MustGetFiles ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustGetFiles(ref string, verbose bool) (files []*GitlabRepositoryFile)
func (*GitlabRepositoryFiles) MustGetGitlab ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabRepositoryFiles) MustGetGitlabProject ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabRepositoryFiles) MustGetNativeRepositoriesClient ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustGetNativeRepositoriesClient() (nativeRepositoriesClient *gitlab.RepositoriesService)
func (*GitlabRepositoryFiles) MustGetNativeRepositoriesClientAndProjectid ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustGetNativeRepositoriesClientAndProjectid() (nativeRepositoriesClient *gitlab.RepositoriesService, projectid int)
func (*GitlabRepositoryFiles) MustGetNativeRepositoryFilesClient ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) MustGetNativeRepositoryFilesClient() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService)
func (*GitlabRepositoryFiles) MustGetNativeRepositoryFilesClientAndProjectId ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustGetNativeRepositoryFilesClientAndProjectId() (nativeRepositoryFilesClient *gitlab.RepositoryFilesService, projectId int)
func (*GitlabRepositoryFiles) MustGetProjectId ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustGetProjectId() (projectId int)
func (*GitlabRepositoryFiles) MustGetProjectUrl ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustGetProjectUrl() (projectUrl string)
func (*GitlabRepositoryFiles) MustGetRepositoryFile ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) MustGetRepositoryFile(options *GitlabGetRepositoryFileOptions) (repositoryFile *GitlabRepositoryFile)
func (*GitlabRepositoryFiles) MustHasNoRepositoryFiles ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustHasNoRepositoryFiles(branchName string, verbose bool) (hasNoRepositoryFiles bool)
func (*GitlabRepositoryFiles) MustHasRepositoryFiles ¶ added in v0.45.0
func (g *GitlabRepositoryFiles) MustHasRepositoryFiles(branchName string, verbose bool) (hasRepositoryFiles bool)
func (*GitlabRepositoryFiles) MustReadFileContentAsString ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) MustReadFileContentAsString(options *GitlabReadFileOptions) (content string)
func (*GitlabRepositoryFiles) MustSetGitlabProject ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) MustSetGitlabProject(gitlabProject *GitlabProject)
func (*GitlabRepositoryFiles) MustWriteFileContent ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) MustWriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile)
func (*GitlabRepositoryFiles) ReadFileContentAsString ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) ReadFileContentAsString(options *GitlabReadFileOptions) (content string, err error)
func (*GitlabRepositoryFiles) SetGitlabProject ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) SetGitlabProject(gitlabProject *GitlabProject) (err error)
func (*GitlabRepositoryFiles) WriteFileContent ¶ added in v0.39.0
func (g *GitlabRepositoryFiles) WriteFileContent(options *GitlabWriteFileOptions) (gitlabRepositoryFile *GitlabRepositoryFile, err error)
type GitlabResetAccessTokenOptions ¶ added in v0.31.0
type GitlabResetAccessTokenOptions struct { Username string GopassPathToStoreNewToken string GitlabContainerNameOnGitlabHost string SshUserNameForGitlabHost string Verbose bool }
func NewGitlabResetAccessTokenOptions ¶ added in v0.31.0
func NewGitlabResetAccessTokenOptions() (g *GitlabResetAccessTokenOptions)
func (*GitlabResetAccessTokenOptions) GetGitlabContainerNameOnGitlabHost ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) GetGitlabContainerNameOnGitlabHost() (gitlabContainerNameOnGitlabHost string, err error)
func (*GitlabResetAccessTokenOptions) GetGopassPathToStoreNewToken ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) GetGopassPathToStoreNewToken() (gopassPathToStoreNewToken string, err error)
func (*GitlabResetAccessTokenOptions) GetSshUserNameForGitlabHost ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) GetSshUserNameForGitlabHost() (sshUserNameForGitlabHost string, err error)
func (*GitlabResetAccessTokenOptions) GetUsername ¶ added in v0.31.0
func (o *GitlabResetAccessTokenOptions) GetUsername() (username string, err error)
func (*GitlabResetAccessTokenOptions) GetVerbose ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) GetVerbose() (verbose bool, err error)
func (*GitlabResetAccessTokenOptions) MustGetGitlabContainerNameOnGitlabHost ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustGetGitlabContainerNameOnGitlabHost() (gitlabContainerNameOnGitlabHost string)
func (*GitlabResetAccessTokenOptions) MustGetGopassPathToStoreNewToken ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustGetGopassPathToStoreNewToken() (gopassPathToStoreNewToken string)
func (*GitlabResetAccessTokenOptions) MustGetSshUserNameForGitlabHost ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustGetSshUserNameForGitlabHost() (sshUserNameForGitlabHost string)
func (*GitlabResetAccessTokenOptions) MustGetUsername ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustGetUsername() (username string)
func (*GitlabResetAccessTokenOptions) MustGetVerbose ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustGetVerbose() (verbose bool)
func (*GitlabResetAccessTokenOptions) MustSetGitlabContainerNameOnGitlabHost ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustSetGitlabContainerNameOnGitlabHost(gitlabContainerNameOnGitlabHost string)
func (*GitlabResetAccessTokenOptions) MustSetGopassPathToStoreNewToken ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustSetGopassPathToStoreNewToken(gopassPathToStoreNewToken string)
func (*GitlabResetAccessTokenOptions) MustSetSshUserNameForGitlabHost ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustSetSshUserNameForGitlabHost(sshUserNameForGitlabHost string)
func (*GitlabResetAccessTokenOptions) MustSetUsername ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustSetUsername(username string)
func (*GitlabResetAccessTokenOptions) MustSetVerbose ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) MustSetVerbose(verbose bool)
func (*GitlabResetAccessTokenOptions) SetGitlabContainerNameOnGitlabHost ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) SetGitlabContainerNameOnGitlabHost(gitlabContainerNameOnGitlabHost string) (err error)
func (*GitlabResetAccessTokenOptions) SetGopassPathToStoreNewToken ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) SetGopassPathToStoreNewToken(gopassPathToStoreNewToken string) (err error)
func (*GitlabResetAccessTokenOptions) SetSshUserNameForGitlabHost ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) SetSshUserNameForGitlabHost(sshUserNameForGitlabHost string) (err error)
func (*GitlabResetAccessTokenOptions) SetUsername ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) SetUsername(username string) (err error)
func (*GitlabResetAccessTokenOptions) SetVerbose ¶ added in v0.31.0
func (g *GitlabResetAccessTokenOptions) SetVerbose(verbose bool) (err error)
type GitlabResetPasswordOptions ¶ added in v0.31.0
type GitlabResetPasswordOptions struct { Username string GitlabContainerNameOnGitlabHost string GopassPathToStoreNewPassword string SshUserNameForGitlabHost string Verbose bool }
func NewGitlabResetPasswordOptions ¶ added in v0.31.0
func NewGitlabResetPasswordOptions() (g *GitlabResetPasswordOptions)
func (*GitlabResetPasswordOptions) GetGitlabContainerNameOnGitlabHost ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) GetGitlabContainerNameOnGitlabHost() (gitlabContainerNameOnGitlabHost string, err error)
func (*GitlabResetPasswordOptions) GetGopassPathToStoreNewPassword ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) GetGopassPathToStoreNewPassword() (gopassPathToStoreNewPassword string, err error)
func (*GitlabResetPasswordOptions) GetSshUserNameForGitlabHost ¶ added in v0.31.0
func (o *GitlabResetPasswordOptions) GetSshUserNameForGitlabHost() (sshUserName string, err error)
func (*GitlabResetPasswordOptions) GetUsername ¶ added in v0.31.0
func (o *GitlabResetPasswordOptions) GetUsername() (username string, err error)
func (*GitlabResetPasswordOptions) GetVerbose ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) GetVerbose() (verbose bool, err error)
func (*GitlabResetPasswordOptions) IsSshUserNameForGitlabHostSet ¶ added in v0.31.0
func (o *GitlabResetPasswordOptions) IsSshUserNameForGitlabHostSet() (isSet bool)
func (*GitlabResetPasswordOptions) MustGetGitlabContainerNameOnGitlabHost ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustGetGitlabContainerNameOnGitlabHost() (gitlabContainerNameOnGitlabHost string)
func (*GitlabResetPasswordOptions) MustGetGopassPathToStoreNewPassword ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustGetGopassPathToStoreNewPassword() (gopassPathToStoreNewPassword string)
func (*GitlabResetPasswordOptions) MustGetSshUserNameForGitlabHost ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustGetSshUserNameForGitlabHost() (sshUserName string)
func (*GitlabResetPasswordOptions) MustGetUsername ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustGetUsername() (username string)
func (*GitlabResetPasswordOptions) MustGetVerbose ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustGetVerbose() (verbose bool)
func (*GitlabResetPasswordOptions) MustSetGitlabContainerNameOnGitlabHost ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustSetGitlabContainerNameOnGitlabHost(gitlabContainerNameOnGitlabHost string)
func (*GitlabResetPasswordOptions) MustSetGopassPathToStoreNewPassword ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustSetGopassPathToStoreNewPassword(gopassPathToStoreNewPassword string)
func (*GitlabResetPasswordOptions) MustSetSshUserNameForGitlabHost ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustSetSshUserNameForGitlabHost(sshUserNameForGitlabHost string)
func (*GitlabResetPasswordOptions) MustSetUsername ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustSetUsername(username string)
func (*GitlabResetPasswordOptions) MustSetVerbose ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) MustSetVerbose(verbose bool)
func (*GitlabResetPasswordOptions) SetGitlabContainerNameOnGitlabHost ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) SetGitlabContainerNameOnGitlabHost(gitlabContainerNameOnGitlabHost string) (err error)
func (*GitlabResetPasswordOptions) SetGopassPathToStoreNewPassword ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) SetGopassPathToStoreNewPassword(gopassPathToStoreNewPassword string) (err error)
func (*GitlabResetPasswordOptions) SetSshUserNameForGitlabHost ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) SetSshUserNameForGitlabHost(sshUserNameForGitlabHost string) (err error)
func (*GitlabResetPasswordOptions) SetUsername ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) SetUsername(username string) (err error)
func (*GitlabResetPasswordOptions) SetVerbose ¶ added in v0.31.0
func (g *GitlabResetPasswordOptions) SetVerbose(verbose bool) (err error)
type GitlabRunner ¶ added in v0.31.0
type GitlabRunner struct {
// contains filtered or unexported fields
}
func NewGitlabRunner ¶ added in v0.31.0
func NewGitlabRunner() (gitlabRunner *GitlabRunner)
func (*GitlabRunner) GetCachedDescription ¶ added in v0.31.0
func (r *GitlabRunner) GetCachedDescription() (description string, err error)
func (*GitlabRunner) GetCachedName ¶ added in v0.31.0
func (r *GitlabRunner) GetCachedName() (name string, err error)
func (*GitlabRunner) GetCachedNameOrDescription ¶ added in v0.31.0
func (r *GitlabRunner) GetCachedNameOrDescription() (name string, err error)
func (*GitlabRunner) GetGitlab ¶ added in v0.31.0
func (s *GitlabRunner) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabRunner) GetGitlabRunners ¶ added in v0.31.0
func (r *GitlabRunner) GetGitlabRunners() (gitlabRunners *GitlabRunnersService, err error)
func (*GitlabRunner) GetId ¶ added in v0.31.0
func (s *GitlabRunner) GetId() (id int, err error)
func (*GitlabRunner) GetNativeRunnersService ¶ added in v0.31.0
func (r *GitlabRunner) GetNativeRunnersService() (nativeRunnersService *gitlab.RunnersService, err error)
func (*GitlabRunner) IsCachedDescriptionSet ¶ added in v0.31.0
func (r *GitlabRunner) IsCachedDescriptionSet() (isSet bool)
func (*GitlabRunner) IsCachedDescriptionUnset ¶ added in v0.31.0
func (r *GitlabRunner) IsCachedDescriptionUnset() (isUnset bool)
func (*GitlabRunner) IsCachedNameSet ¶ added in v0.31.0
func (r *GitlabRunner) IsCachedNameSet() (isCachedNameSet bool)
func (*GitlabRunner) IsCachedNameUnset ¶ added in v0.31.0
func (r *GitlabRunner) IsCachedNameUnset() (isCachedNameUnset bool)
func (*GitlabRunner) IsStatusOk ¶ added in v0.31.0
func (r *GitlabRunner) IsStatusOk() (isStatusOk bool, err error)
func (*GitlabRunner) MustGetCachedDescription ¶ added in v0.31.0
func (g *GitlabRunner) MustGetCachedDescription() (description string)
func (*GitlabRunner) MustGetCachedName ¶ added in v0.31.0
func (g *GitlabRunner) MustGetCachedName() (name string)
func (*GitlabRunner) MustGetCachedNameOrDescription ¶ added in v0.31.0
func (g *GitlabRunner) MustGetCachedNameOrDescription() (name string)
func (*GitlabRunner) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabRunner) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabRunner) MustGetGitlabRunners ¶ added in v0.31.0
func (g *GitlabRunner) MustGetGitlabRunners() (gitlabRunners *GitlabRunnersService)
func (*GitlabRunner) MustGetId ¶ added in v0.31.0
func (g *GitlabRunner) MustGetId() (id int)
func (*GitlabRunner) MustGetNativeRunnersService ¶ added in v0.31.0
func (g *GitlabRunner) MustGetNativeRunnersService() (nativeRunnersService *gitlab.RunnersService)
func (*GitlabRunner) MustIsStatusOk ¶ added in v0.31.0
func (g *GitlabRunner) MustIsStatusOk() (isStatusOk bool)
func (*GitlabRunner) MustRemove ¶ added in v0.31.0
func (g *GitlabRunner) MustRemove(verbose bool)
func (*GitlabRunner) MustResetRunnerToken ¶ added in v0.31.0
func (g *GitlabRunner) MustResetRunnerToken() (runnerToken string)
func (*GitlabRunner) MustSetCachedDescription ¶ added in v0.31.0
func (g *GitlabRunner) MustSetCachedDescription(description string)
func (*GitlabRunner) MustSetCachedName ¶ added in v0.31.0
func (g *GitlabRunner) MustSetCachedName(name string)
func (*GitlabRunner) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabRunner) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabRunner) MustSetId ¶ added in v0.31.0
func (g *GitlabRunner) MustSetId(id int)
func (*GitlabRunner) Remove ¶ added in v0.31.0
func (r *GitlabRunner) Remove(verbose bool) (err error)
func (*GitlabRunner) ResetRunnerToken ¶ added in v0.31.0
func (r *GitlabRunner) ResetRunnerToken() (runnerToken string, err error)
func (*GitlabRunner) SetCachedDescription ¶ added in v0.31.0
func (r *GitlabRunner) SetCachedDescription(description string) (err error)
func (*GitlabRunner) SetCachedName ¶ added in v0.31.0
func (s *GitlabRunner) SetCachedName(name string) (err error)
func (*GitlabRunner) SetGitlab ¶ added in v0.31.0
func (s *GitlabRunner) SetGitlab(gitlab *GitlabInstance) (err error)
func (*GitlabRunner) SetId ¶ added in v0.31.0
func (s *GitlabRunner) SetId(id int) (err error)
type GitlabRunnersService ¶ added in v0.31.0
type GitlabRunnersService struct {
// contains filtered or unexported fields
}
func NewGitlabRunners ¶ added in v0.31.0
func NewGitlabRunners() (gitlabRunners *GitlabRunnersService)
func NewGitlabRunnersService ¶ added in v0.31.0
func NewGitlabRunnersService() (g *GitlabRunnersService)
func (*GitlabRunnersService) AddRunner ¶ added in v0.31.0
func (s *GitlabRunnersService) AddRunner(newRunnerOptions *GitlabAddRunnerOptions) (createdRunner *GitlabRunner, err error)
func (*GitlabRunnersService) CheckRunnerStatusOk ¶ added in v0.31.0
func (s *GitlabRunnersService) CheckRunnerStatusOk(runnerName string, verbose bool) (isRunnerOk bool, err error)
func (*GitlabRunnersService) GetApiV4Url ¶ added in v0.31.0
func (s *GitlabRunnersService) GetApiV4Url() (apiV4Url string, err error)
func (*GitlabRunnersService) GetCurrentlyUsedAccessToken ¶ added in v0.31.0
func (s *GitlabRunnersService) GetCurrentlyUsedAccessToken() (gitlabAccessToken string, err error)
func (*GitlabRunnersService) GetFqdn ¶ added in v0.31.0
func (r *GitlabRunnersService) GetFqdn() (fqdn string, err error)
func (*GitlabRunnersService) GetGitlab ¶ added in v0.31.0
func (s *GitlabRunnersService) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabRunnersService) GetNativeClient ¶ added in v0.31.0
func (s *GitlabRunnersService) GetNativeClient() (nativeClient *gitlab.Client, err error)
func (*GitlabRunnersService) GetNativeRunnersService ¶ added in v0.31.0
func (s *GitlabRunnersService) GetNativeRunnersService() (nativeRunnersService *gitlab.RunnersService, err error)
func (*GitlabRunnersService) GetRunnerByName ¶ added in v0.31.0
func (s *GitlabRunnersService) GetRunnerByName(runnerName string) (runner *GitlabRunner, err error)
func (*GitlabRunnersService) GetRunnerList ¶ added in v0.31.0
func (s *GitlabRunnersService) GetRunnerList() (runners []*GitlabRunner, err error)
According to the documentation this only works when logged in as admin: https://github.com/xanzy/go-gitlab/blob/master/runners.go#L126
func (*GitlabRunnersService) GetRunnerNamesList ¶ added in v0.31.0
func (s *GitlabRunnersService) GetRunnerNamesList() (runnerNames []string, err error)
func (*GitlabRunnersService) IsRunnerStatusOk ¶ added in v0.31.0
func (s *GitlabRunnersService) IsRunnerStatusOk(runnerName string, verbose bool) (isStatusOk bool, err error)
func (*GitlabRunnersService) MustAddRunner ¶ added in v0.31.0
func (g *GitlabRunnersService) MustAddRunner(newRunnerOptions *GitlabAddRunnerOptions) (createdRunner *GitlabRunner)
func (*GitlabRunnersService) MustCheckRunnerStatusOk ¶ added in v0.31.0
func (g *GitlabRunnersService) MustCheckRunnerStatusOk(runnerName string, verbose bool) (isRunnerOk bool)
func (*GitlabRunnersService) MustGetApiV4Url ¶ added in v0.31.0
func (g *GitlabRunnersService) MustGetApiV4Url() (apiV4Url string)
func (*GitlabRunnersService) MustGetCurrentlyUsedAccessToken ¶ added in v0.31.0
func (g *GitlabRunnersService) MustGetCurrentlyUsedAccessToken() (gitlabAccessToken string)
func (*GitlabRunnersService) MustGetFqdn ¶ added in v0.31.0
func (g *GitlabRunnersService) MustGetFqdn() (fqdn string)
func (*GitlabRunnersService) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabRunnersService) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabRunnersService) MustGetNativeClient ¶ added in v0.31.0
func (g *GitlabRunnersService) MustGetNativeClient() (nativeClient *gitlab.Client)
func (*GitlabRunnersService) MustGetNativeRunnersService ¶ added in v0.31.0
func (g *GitlabRunnersService) MustGetNativeRunnersService() (nativeRunnersService *gitlab.RunnersService)
func (*GitlabRunnersService) MustGetRunnerByName ¶ added in v0.31.0
func (g *GitlabRunnersService) MustGetRunnerByName(runnerName string) (runner *GitlabRunner)
func (*GitlabRunnersService) MustGetRunnerList ¶ added in v0.31.0
func (g *GitlabRunnersService) MustGetRunnerList() (runners []*GitlabRunner)
func (*GitlabRunnersService) MustGetRunnerNamesList ¶ added in v0.31.0
func (g *GitlabRunnersService) MustGetRunnerNamesList() (runnerNames []string)
func (*GitlabRunnersService) MustIsRunnerStatusOk ¶ added in v0.31.0
func (g *GitlabRunnersService) MustIsRunnerStatusOk(runnerName string, verbose bool) (isStatusOk bool)
func (*GitlabRunnersService) MustRemoveAllRunners ¶ added in v0.31.0
func (g *GitlabRunnersService) MustRemoveAllRunners(verbose bool)
func (*GitlabRunnersService) MustRunnerByNameExists ¶ added in v0.31.0
func (g *GitlabRunnersService) MustRunnerByNameExists(runnerName string) (exists bool)
func (*GitlabRunnersService) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabRunnersService) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabRunnersService) RemoveAllRunners ¶ added in v0.31.0
func (r *GitlabRunnersService) RemoveAllRunners(verbose bool) (err error)
func (*GitlabRunnersService) RunnerByNameExists ¶ added in v0.31.0
func (s *GitlabRunnersService) RunnerByNameExists(runnerName string) (exists bool, err error)
func (*GitlabRunnersService) SetGitlab ¶ added in v0.31.0
func (s *GitlabRunnersService) SetGitlab(gitlab *GitlabInstance) (err error)
type GitlabService ¶ added in v0.20.0
type GitlabService struct{}
func Gitlab ¶ added in v0.20.0
func Gitlab() (g *GitlabService)
func NewGitlabService ¶ added in v0.20.0
func NewGitlabService() (g *GitlabService)
func (*GitlabService) GetDefaultGitlabCiYamlFileName ¶ added in v0.20.0
func (g *GitlabService) GetDefaultGitlabCiYamlFileName() (fileName string)
type GitlabSettings ¶ added in v0.31.0
type GitlabSettings struct {
// contains filtered or unexported fields
}
func NewGitlabSettings ¶ added in v0.31.0
func NewGitlabSettings() (gitlabSettings *GitlabSettings)
func (*GitlabSettings) DisableAutoDevops ¶ added in v0.31.0
func (s *GitlabSettings) DisableAutoDevops(verbose bool) (err error)
func (*GitlabSettings) DisableSignup ¶ added in v0.31.0
func (s *GitlabSettings) DisableSignup(verbose bool) (err error)
func (*GitlabSettings) GetCurrentSettingsNative ¶ added in v0.31.0
func (s *GitlabSettings) GetCurrentSettingsNative() (nativeSettings *gitlab.Settings, err error)
func (*GitlabSettings) GetFqdn ¶ added in v0.31.0
func (s *GitlabSettings) GetFqdn() (fqdn string, err error)
func (*GitlabSettings) GetGitlab ¶ added in v0.31.0
func (s *GitlabSettings) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabSettings) GetNativeClient ¶ added in v0.31.0
func (s *GitlabSettings) GetNativeClient() (nativeClient *gitlab.Client, err error)
func (*GitlabSettings) GetNativeSettingsService ¶ added in v0.31.0
func (s *GitlabSettings) GetNativeSettingsService() (nativeSettingsService *gitlab.SettingsService, err error)
func (*GitlabSettings) IsAutoDevopsEnabled ¶ added in v0.31.0
func (s *GitlabSettings) IsAutoDevopsEnabled() (isAutoDevopsEnabled bool, err error)
func (*GitlabSettings) IsSignupEnabled ¶ added in v0.31.0
func (s *GitlabSettings) IsSignupEnabled() (isSignupEnabled bool, err error)
func (*GitlabSettings) MustDisableAutoDevops ¶ added in v0.31.0
func (g *GitlabSettings) MustDisableAutoDevops(verbose bool)
func (*GitlabSettings) MustDisableAutoDevos ¶ added in v0.31.0
func (s *GitlabSettings) MustDisableAutoDevos(verbose bool)
func (*GitlabSettings) MustDisableSignup ¶ added in v0.31.0
func (g *GitlabSettings) MustDisableSignup(verbose bool)
func (*GitlabSettings) MustGetCurrentSettingsNative ¶ added in v0.31.0
func (g *GitlabSettings) MustGetCurrentSettingsNative() (nativeSettings *gitlab.Settings)
func (*GitlabSettings) MustGetFqdn ¶ added in v0.31.0
func (g *GitlabSettings) MustGetFqdn() (fqdn string)
func (*GitlabSettings) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabSettings) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabSettings) MustGetNativeClient ¶ added in v0.31.0
func (g *GitlabSettings) MustGetNativeClient() (nativeClient *gitlab.Client)
func (*GitlabSettings) MustGetNativeSettingsService ¶ added in v0.31.0
func (g *GitlabSettings) MustGetNativeSettingsService() (nativeSettingsService *gitlab.SettingsService)
func (*GitlabSettings) MustIsAutoDevopsEnabled ¶ added in v0.31.0
func (g *GitlabSettings) MustIsAutoDevopsEnabled() (isAutoDevopsEnabled bool)
func (*GitlabSettings) MustIsSignupEnabled ¶ added in v0.31.0
func (g *GitlabSettings) MustIsSignupEnabled() (isSignupEnabled bool)
func (*GitlabSettings) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabSettings) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabSettings) SetGitlab ¶ added in v0.31.0
func (s *GitlabSettings) SetGitlab(gitlab *GitlabInstance) (err error)
type GitlabSyncBranchOptions ¶ added in v0.88.0
type GitlabSyncBranchOptions struct { // Define the target branch where the files are synced to. // Can be specified by either setting the target branch as object or by string. TargetBranch *GitlabBranch TargetBranchName string PathsToSync []string Verbose bool }
func NewGitlabSyncBranchOptions ¶ added in v0.88.0
func NewGitlabSyncBranchOptions() (g *GitlabSyncBranchOptions)
func (*GitlabSyncBranchOptions) GetDeepCopy ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) GetDeepCopy() (copy *GitlabSyncBranchOptions)
func (*GitlabSyncBranchOptions) GetPathsToSync ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) GetPathsToSync() (pathsToSync []string, err error)
func (*GitlabSyncBranchOptions) GetTargetBranch ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) GetTargetBranch() (targetBranch *GitlabBranch, err error)
func (*GitlabSyncBranchOptions) GetTargetBranchName ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) GetTargetBranchName() (targetBranchName string, err error)
func (*GitlabSyncBranchOptions) GetVerbose ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) GetVerbose() (verbose bool)
func (*GitlabSyncBranchOptions) IsTargetBranchSet ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) IsTargetBranchSet() (isSet bool)
func (*GitlabSyncBranchOptions) MustGetPathsToSync ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) MustGetPathsToSync() (pathsToSync []string)
func (*GitlabSyncBranchOptions) MustGetTargetBranch ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) MustGetTargetBranch() (targetBranch *GitlabBranch)
func (*GitlabSyncBranchOptions) MustGetTargetBranchName ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) MustGetTargetBranchName() (targetBranchName string)
func (*GitlabSyncBranchOptions) MustSetPathsToSync ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) MustSetPathsToSync(pathsToSync []string)
func (*GitlabSyncBranchOptions) MustSetTargetBranch ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) MustSetTargetBranch(targetBranch *GitlabBranch)
func (*GitlabSyncBranchOptions) MustSetTargetBranchName ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) MustSetTargetBranchName(targetBranchName string)
func (*GitlabSyncBranchOptions) MustSetTargetBranchNameAndUnsetTargetBranchObject ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) MustSetTargetBranchNameAndUnsetTargetBranchObject(targetBranchName string)
func (*GitlabSyncBranchOptions) MustUnsetTargetBranch ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) MustUnsetTargetBranch()
func (*GitlabSyncBranchOptions) SetPathsToSync ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) SetPathsToSync(pathsToSync []string) (err error)
func (*GitlabSyncBranchOptions) SetTargetBranch ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) SetTargetBranch(targetBranch *GitlabBranch) (err error)
func (*GitlabSyncBranchOptions) SetTargetBranchName ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) SetTargetBranchName(targetBranchName string) (err error)
func (*GitlabSyncBranchOptions) SetTargetBranchNameAndUnsetTargetBranchObject ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) SetTargetBranchNameAndUnsetTargetBranchObject(targetBranchName string) (err error)
func (*GitlabSyncBranchOptions) SetVerbose ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) SetVerbose(verbose bool)
func (*GitlabSyncBranchOptions) UnsetTargetBranch ¶ added in v0.88.0
func (g *GitlabSyncBranchOptions) UnsetTargetBranch() (err error)
type GitlabTag ¶ added in v0.31.0
type GitlabTag struct { GitTagBase // contains filtered or unexported fields }
func NewGitlabTag ¶ added in v0.31.0
func NewGitlabTag() (g *GitlabTag)
func (*GitlabTag) CreateRelease ¶ added in v0.100.0
func (g *GitlabTag) CreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease, err error)
func (*GitlabTag) GetGitRepository ¶ added in v0.139.0
func (g *GitlabTag) GetGitRepository() (gitRepo GitRepository, err error)
func (*GitlabTag) GetGitlabProject ¶ added in v0.31.0
func (g *GitlabTag) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabTag) GetGitlabReleases ¶ added in v0.100.0
func (g *GitlabTag) GetGitlabReleases() (gitlabReleases *GitlabReleases, err error)
func (*GitlabTag) GetGitlabTags ¶ added in v0.100.0
func (g *GitlabTag) GetGitlabTags() (gitlabTags *GitlabTags, err error)
func (*GitlabTag) GetNativeTagsService ¶ added in v0.100.0
func (g *GitlabTag) GetNativeTagsService() (nativeTagsService *gitlab.TagsService, err error)
func (*GitlabTag) GetProjectId ¶ added in v0.100.0
func (*GitlabTag) GetProjectIdAndUrl ¶ added in v0.100.0
func (*GitlabTag) GetProjectUrl ¶ added in v0.100.0
func (*GitlabTag) GetRawResponse ¶ added in v0.100.0
func (*GitlabTag) IsVersionTag ¶ added in v0.31.0
func (*GitlabTag) MustCreateRelease ¶ added in v0.100.0
func (g *GitlabTag) MustCreateRelease(createReleaseOptions *GitlabCreateReleaseOptions) (createdRelease *GitlabRelease)
func (*GitlabTag) MustDelete ¶ added in v0.100.0
func (*GitlabTag) MustExists ¶ added in v0.100.0
func (*GitlabTag) MustGetGitRepository ¶ added in v0.139.0
func (g *GitlabTag) MustGetGitRepository() (gitRepo GitRepository)
func (*GitlabTag) MustGetGitlabProject ¶ added in v0.31.0
func (g *GitlabTag) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabTag) MustGetGitlabReleases ¶ added in v0.100.0
func (g *GitlabTag) MustGetGitlabReleases() (gitlabReleases *GitlabReleases)
func (*GitlabTag) MustGetGitlabTags ¶ added in v0.100.0
func (g *GitlabTag) MustGetGitlabTags() (gitlabTags *GitlabTags)
func (*GitlabTag) MustGetHash ¶ added in v0.142.0
func (*GitlabTag) MustGetName ¶ added in v0.31.0
func (*GitlabTag) MustGetNativeTagsService ¶ added in v0.100.0
func (g *GitlabTag) MustGetNativeTagsService() (nativeTagsService *gitlab.TagsService)
func (*GitlabTag) MustGetProjectId ¶ added in v0.100.0
func (*GitlabTag) MustGetProjectIdAndUrl ¶ added in v0.100.0
func (*GitlabTag) MustGetProjectUrl ¶ added in v0.100.0
func (*GitlabTag) MustGetRawResponse ¶ added in v0.100.0
func (*GitlabTag) MustIsVersionTag ¶ added in v0.31.0
func (*GitlabTag) MustSetGitlabTags ¶ added in v0.100.0
func (g *GitlabTag) MustSetGitlabTags(gitlabTags *GitlabTags)
func (*GitlabTag) MustSetName ¶ added in v0.31.0
func (*GitlabTag) SetGitlabTags ¶ added in v0.100.0
func (g *GitlabTag) SetGitlabTags(gitlabTags *GitlabTags) (err error)
type GitlabTags ¶ added in v0.31.0
type GitlabTags struct {
// contains filtered or unexported fields
}
func NewGitlabTags ¶ added in v0.31.0
func NewGitlabTags() (g *GitlabTags)
func (*GitlabTags) CreateTag ¶ added in v0.100.0
func (g *GitlabTags) CreateTag(createTagOptions *GitlabCreateTagOptions) (createdTag *GitlabTag, err error)
func (*GitlabTags) GetGitlab ¶ added in v0.31.0
func (g *GitlabTags) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabTags) GetGitlabProject ¶ added in v0.31.0
func (g *GitlabTags) GetGitlabProject() (gitlabProject *GitlabProject, err error)
func (*GitlabTags) GetNativeTagsService ¶ added in v0.31.0
func (g *GitlabTags) GetNativeTagsService() (nativeTagsService *gitlab.TagsService, err error)
func (*GitlabTags) GetProjectId ¶ added in v0.31.0
func (g *GitlabTags) GetProjectId() (projectId int, err error)
func (*GitlabTags) GetProjectIdAndUrl ¶ added in v0.100.0
func (g *GitlabTags) GetProjectIdAndUrl() (projectId int, projectUrl string, err error)
func (*GitlabTags) GetProjectUrl ¶ added in v0.100.0
func (g *GitlabTags) GetProjectUrl() (projectUrl string, err error)
func (*GitlabTags) GetTagByName ¶ added in v0.100.0
func (g *GitlabTags) GetTagByName(tagName string) (tag *GitlabTag, err error)
func (*GitlabTags) GetVersionTags ¶ added in v0.31.0
func (g *GitlabTags) GetVersionTags(verbose bool) (versionTags []*GitlabTag, err error)
func (*GitlabTags) ListTagNames ¶ added in v0.100.0
func (g *GitlabTags) ListTagNames(verbose bool) (tagNames []string, err error)
func (*GitlabTags) ListTags ¶ added in v0.100.0
func (g *GitlabTags) ListTags(verbose bool) (gitlabTags []*GitlabTag, err error)
func (*GitlabTags) ListVersionTagNames ¶ added in v0.100.0
func (g *GitlabTags) ListVersionTagNames(verbose bool) (tagNames []string, err error)
func (*GitlabTags) MustCreateTag ¶ added in v0.100.0
func (g *GitlabTags) MustCreateTag(createTagOptions *GitlabCreateTagOptions) (createdTag *GitlabTag)
func (*GitlabTags) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabTags) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabTags) MustGetGitlabProject ¶ added in v0.31.0
func (g *GitlabTags) MustGetGitlabProject() (gitlabProject *GitlabProject)
func (*GitlabTags) MustGetNativeTagsService ¶ added in v0.31.0
func (g *GitlabTags) MustGetNativeTagsService() (nativeTagsService *gitlab.TagsService)
func (*GitlabTags) MustGetProjectId ¶ added in v0.31.0
func (g *GitlabTags) MustGetProjectId() (projectId int)
func (*GitlabTags) MustGetProjectIdAndUrl ¶ added in v0.100.0
func (g *GitlabTags) MustGetProjectIdAndUrl() (projectId int, projectUrl string)
func (*GitlabTags) MustGetProjectUrl ¶ added in v0.100.0
func (g *GitlabTags) MustGetProjectUrl() (projectUrl string)
func (*GitlabTags) MustGetTagByName ¶ added in v0.100.0
func (g *GitlabTags) MustGetTagByName(tagName string) (tag *GitlabTag)
func (*GitlabTags) MustGetVersionTags ¶ added in v0.31.0
func (g *GitlabTags) MustGetVersionTags(verbose bool) (versionTags []*GitlabTag)
func (*GitlabTags) MustListTagNames ¶ added in v0.100.0
func (g *GitlabTags) MustListTagNames(verbose bool) (tagNames []string)
func (*GitlabTags) MustListTags ¶ added in v0.100.0
func (g *GitlabTags) MustListTags(verbose bool) (gitlabTags []*GitlabTag)
func (*GitlabTags) MustListVersionTagNames ¶ added in v0.100.0
func (g *GitlabTags) MustListVersionTagNames(verbose bool) (tagNames []string)
func (*GitlabTags) MustSetGitlabProject ¶ added in v0.31.0
func (g *GitlabTags) MustSetGitlabProject(gitlabProject *GitlabProject)
func (*GitlabTags) MustTagByNameExists ¶ added in v0.100.0
func (g *GitlabTags) MustTagByNameExists(tagName string, verbose bool) (exists bool)
func (*GitlabTags) SetGitlabProject ¶ added in v0.31.0
func (g *GitlabTags) SetGitlabProject(gitlabProject *GitlabProject) (err error)
func (*GitlabTags) TagByNameExists ¶ added in v0.100.0
func (g *GitlabTags) TagByNameExists(tagName string, verbose bool) (exists bool, err error)
type GitlabUser ¶ added in v0.31.0
type GitlabUser struct {
// contains filtered or unexported fields
}
func NewGitlabUser ¶ added in v0.31.0
func NewGitlabUser() (gitlabUser *GitlabUser)
func (*GitlabUser) AddSshKey ¶ added in v0.31.0
func (u *GitlabUser) AddSshKey(sshKey *SSHPublicKey, verbose bool) (err error)
func (*GitlabUser) AddSshKeysFromFile ¶ added in v0.31.0
func (u *GitlabUser) AddSshKeysFromFile(sshKeysFile files.File, verbose bool) (err error)
func (*GitlabUser) AddSshKeysFromFilePath ¶ added in v0.31.0
func (u *GitlabUser) AddSshKeysFromFilePath(sshKeyFilePath string, verbose bool) (err error)
func (*GitlabUser) CreateAccessToken ¶ added in v0.31.0
func (u *GitlabUser) CreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string, err error)
func (*GitlabUser) GetCachedEmail ¶ added in v0.31.0
func (g *GitlabUser) GetCachedEmail() (cachedEmail string, err error)
func (*GitlabUser) GetCachedName ¶ added in v0.31.0
func (u *GitlabUser) GetCachedName() (name string, err error)
func (*GitlabUser) GetCachedUsername ¶ added in v0.31.0
func (g *GitlabUser) GetCachedUsername() (cachedUsername string, err error)
func (*GitlabUser) GetChachedUsername ¶ added in v0.31.0
func (u *GitlabUser) GetChachedUsername() (username string, err error)
func (*GitlabUser) GetFqdn ¶ added in v0.31.0
func (u *GitlabUser) GetFqdn() (fqdn string, err error)
func (*GitlabUser) GetGitlab ¶ added in v0.31.0
func (u *GitlabUser) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabUser) GetGitlabUsers ¶ added in v0.31.0
func (u *GitlabUser) GetGitlabUsers() (gitlabUsers *GitlabUsers, err error)
func (*GitlabUser) GetId ¶ added in v0.31.0
func (u *GitlabUser) GetId() (id int, err error)
func (*GitlabUser) GetNativeUsersService ¶ added in v0.31.0
func (u *GitlabUser) GetNativeUsersService() (nativeUsersService *gitlab.UsersService, err error)
func (*GitlabUser) GetRawNativeUser ¶ added in v0.31.0
func (u *GitlabUser) GetRawNativeUser() (rawUser *gitlab.User, err error)
func (*GitlabUser) GetSshKeys ¶ added in v0.31.0
func (u *GitlabUser) GetSshKeys() (sshKeys []*SSHPublicKey, err error)
func (*GitlabUser) GetSshKeysAsString ¶ added in v0.31.0
func (u *GitlabUser) GetSshKeysAsString() (sshKeys []string, err error)
func (*GitlabUser) MustAddSshKey ¶ added in v0.31.0
func (g *GitlabUser) MustAddSshKey(sshKey *SSHPublicKey, verbose bool)
func (*GitlabUser) MustAddSshKeysFromFile ¶ added in v0.31.0
func (g *GitlabUser) MustAddSshKeysFromFile(sshKeysFile files.File, verbose bool)
func (*GitlabUser) MustAddSshKeysFromFilePath ¶ added in v0.31.0
func (g *GitlabUser) MustAddSshKeysFromFilePath(sshKeyFilePath string, verbose bool)
func (*GitlabUser) MustCreateAccessToken ¶ added in v0.31.0
func (g *GitlabUser) MustCreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string)
func (*GitlabUser) MustGetCachedEmail ¶ added in v0.31.0
func (g *GitlabUser) MustGetCachedEmail() (cachedEmail string)
func (*GitlabUser) MustGetCachedName ¶ added in v0.31.0
func (g *GitlabUser) MustGetCachedName() (name string)
func (*GitlabUser) MustGetCachedUsername ¶ added in v0.31.0
func (g *GitlabUser) MustGetCachedUsername() (cachedUsername string)
func (*GitlabUser) MustGetChachedUsername ¶ added in v0.31.0
func (g *GitlabUser) MustGetChachedUsername() (username string)
func (*GitlabUser) MustGetFqdn ¶ added in v0.31.0
func (g *GitlabUser) MustGetFqdn() (fqdn string)
func (*GitlabUser) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabUser) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabUser) MustGetGitlabUsers ¶ added in v0.31.0
func (g *GitlabUser) MustGetGitlabUsers() (gitlabUsers *GitlabUsers)
func (*GitlabUser) MustGetId ¶ added in v0.31.0
func (g *GitlabUser) MustGetId() (id int)
func (*GitlabUser) MustGetNativeUsersService ¶ added in v0.31.0
func (g *GitlabUser) MustGetNativeUsersService() (nativeUsersService *gitlab.UsersService)
func (*GitlabUser) MustGetRawNativeUser ¶ added in v0.31.0
func (g *GitlabUser) MustGetRawNativeUser() (rawUser *gitlab.User)
func (*GitlabUser) MustGetSshKeys ¶ added in v0.31.0
func (g *GitlabUser) MustGetSshKeys() (sshKeys []*SSHPublicKey)
func (*GitlabUser) MustGetSshKeysAsString ¶ added in v0.31.0
func (g *GitlabUser) MustGetSshKeysAsString() (sshKeys []string)
func (*GitlabUser) MustSetCachedEmail ¶ added in v0.31.0
func (g *GitlabUser) MustSetCachedEmail(email string)
func (*GitlabUser) MustSetCachedName ¶ added in v0.31.0
func (g *GitlabUser) MustSetCachedName(name string)
func (*GitlabUser) MustSetCachedUsername ¶ added in v0.31.0
func (g *GitlabUser) MustSetCachedUsername(username string)
func (*GitlabUser) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabUser) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabUser) MustSetId ¶ added in v0.31.0
func (g *GitlabUser) MustSetId(id int)
func (*GitlabUser) MustSshKeyExists ¶ added in v0.31.0
func (g *GitlabUser) MustSshKeyExists(sshKey *SSHPublicKey) (keyExistsForUser bool)
func (*GitlabUser) MustUpdatePassword ¶ added in v0.31.0
func (g *GitlabUser) MustUpdatePassword(newPassword string, verbose bool)
func (*GitlabUser) SetCachedEmail ¶ added in v0.31.0
func (u *GitlabUser) SetCachedEmail(email string) (err error)
func (*GitlabUser) SetCachedName ¶ added in v0.31.0
func (u *GitlabUser) SetCachedName(name string) (err error)
func (*GitlabUser) SetCachedUsername ¶ added in v0.31.0
func (u *GitlabUser) SetCachedUsername(username string) (err error)
func (*GitlabUser) SetGitlab ¶ added in v0.31.0
func (u *GitlabUser) SetGitlab(gitlab *GitlabInstance) (err error)
func (*GitlabUser) SetId ¶ added in v0.31.0
func (u *GitlabUser) SetId(id int) (err error)
func (*GitlabUser) SshKeyExists ¶ added in v0.31.0
func (u *GitlabUser) SshKeyExists(sshKey *SSHPublicKey) (keyExistsForUser bool, err error)
func (*GitlabUser) UpdatePassword ¶ added in v0.31.0
func (u *GitlabUser) UpdatePassword(newPassword string, verbose bool) (err error)
type GitlabUsers ¶ added in v0.31.0
type GitlabUsers struct {
// contains filtered or unexported fields
}
func NewGitlabUsers ¶ added in v0.31.0
func NewGitlabUsers() (gitlabUsers *GitlabUsers)
func (*GitlabUsers) CreateAccessToken ¶ added in v0.31.0
func (u *GitlabUsers) CreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string, err error)
func (*GitlabUsers) CreateUser ¶ added in v0.31.0
func (u *GitlabUsers) CreateUser(createUserOptions *GitlabCreateUserOptions) (createdUser *GitlabUser, err error)
func (*GitlabUsers) GetFqdn ¶ added in v0.31.0
func (u *GitlabUsers) GetFqdn() (fqdn string, err error)
func (*GitlabUsers) GetGitlab ¶ added in v0.31.0
func (u *GitlabUsers) GetGitlab() (gitlab *GitlabInstance, err error)
func (*GitlabUsers) GetNativeGitlabClient ¶ added in v0.31.0
func (u *GitlabUsers) GetNativeGitlabClient() (nativeGitlabClient *gitlab.Client, err error)
func (*GitlabUsers) GetNativeUsersService ¶ added in v0.31.0
func (u *GitlabUsers) GetNativeUsersService() (nativeUsersService *gitlab.UsersService, err error)
func (*GitlabUsers) GetUser ¶ added in v0.54.0
func (g *GitlabUsers) GetUser() (gitlabUser *GitlabUser, err error)
Return the currently logged in user
func (*GitlabUsers) GetUserById ¶ added in v0.54.0
func (g *GitlabUsers) GetUserById(id int) (gitlabUser *GitlabUser, err error)
func (*GitlabUsers) GetUserByNativeGitlabUser ¶ added in v0.54.0
func (g *GitlabUsers) GetUserByNativeGitlabUser(nativeUser *gitlab.User) (user *GitlabUser, err error)
func (*GitlabUsers) GetUserByUsername ¶ added in v0.31.0
func (u *GitlabUsers) GetUserByUsername(username string) (gitlabUser *GitlabUser, err error)
func (*GitlabUsers) GetUserId ¶ added in v0.31.0
func (u *GitlabUsers) GetUserId() (userId int, err error)
Returns the `userId` of the currently logged in user.
func (*GitlabUsers) GetUserNames ¶ added in v0.31.0
func (u *GitlabUsers) GetUserNames() (userNames []string, err error)
func (*GitlabUsers) GetUsers ¶ added in v0.31.0
func (g *GitlabUsers) GetUsers() (users []*GitlabUser, err error)
func (*GitlabUsers) MustCreateAccessToken ¶ added in v0.31.0
func (g *GitlabUsers) MustCreateAccessToken(options *GitlabCreateAccessTokenOptions) (newToken string)
func (*GitlabUsers) MustCreateUser ¶ added in v0.31.0
func (g *GitlabUsers) MustCreateUser(createUserOptions *GitlabCreateUserOptions) (createdUser *GitlabUser)
func (*GitlabUsers) MustGetFqdn ¶ added in v0.31.0
func (g *GitlabUsers) MustGetFqdn() (fqdn string)
func (*GitlabUsers) MustGetGitlab ¶ added in v0.31.0
func (g *GitlabUsers) MustGetGitlab() (gitlab *GitlabInstance)
func (*GitlabUsers) MustGetNativeGitlabClient ¶ added in v0.31.0
func (g *GitlabUsers) MustGetNativeGitlabClient() (nativeGitlabClient *gitlab.Client)
func (*GitlabUsers) MustGetNativeUsersService ¶ added in v0.31.0
func (g *GitlabUsers) MustGetNativeUsersService() (nativeUsersService *gitlab.UsersService)
func (*GitlabUsers) MustGetUser ¶ added in v0.55.0
func (g *GitlabUsers) MustGetUser() (gitlabUser *GitlabUser)
func (*GitlabUsers) MustGetUserById ¶ added in v0.55.0
func (g *GitlabUsers) MustGetUserById(id int) (gitlabUser *GitlabUser)
func (*GitlabUsers) MustGetUserByNativeGitlabUser ¶ added in v0.55.0
func (g *GitlabUsers) MustGetUserByNativeGitlabUser(nativeUser *gitlab.User) (user *GitlabUser)
func (*GitlabUsers) MustGetUserByUsername ¶ added in v0.31.0
func (g *GitlabUsers) MustGetUserByUsername(username string) (gitlabUser *GitlabUser)
func (*GitlabUsers) MustGetUserId ¶ added in v0.31.0
func (g *GitlabUsers) MustGetUserId() (userId int)
func (*GitlabUsers) MustGetUserNames ¶ added in v0.31.0
func (g *GitlabUsers) MustGetUserNames() (userNames []string)
func (*GitlabUsers) MustGetUsers ¶ added in v0.31.0
func (g *GitlabUsers) MustGetUsers() (users []*GitlabUser)
func (*GitlabUsers) MustSetGitlab ¶ added in v0.31.0
func (g *GitlabUsers) MustSetGitlab(gitlab *GitlabInstance)
func (*GitlabUsers) MustUserByUserNameExists ¶ added in v0.31.0
func (g *GitlabUsers) MustUserByUserNameExists(username string) (userExists bool)
func (*GitlabUsers) SetGitlab ¶ added in v0.31.0
func (u *GitlabUsers) SetGitlab(gitlab *GitlabInstance) (err error)
func (*GitlabUsers) UserByUserNameExists ¶ added in v0.31.0
func (u *GitlabUsers) UserByUserNameExists(username string) (userExists bool, err error)
type GitlabWriteFileOptions ¶ added in v0.39.0
type GitlabWriteFileOptions struct { Path string Content []byte BranchName string CommitMessage string Verbose bool }
func NewGitlabWriteFileOptions ¶ added in v0.39.0
func NewGitlabWriteFileOptions() (g *GitlabWriteFileOptions)
func (*GitlabWriteFileOptions) GetBranchName ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) GetBranchName() (branchName string, err error)
func (*GitlabWriteFileOptions) GetCommitMessage ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) GetCommitMessage() (commitMessage string, err error)
func (*GitlabWriteFileOptions) GetContent ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) GetContent() (content []byte, err error)
func (*GitlabWriteFileOptions) GetDeepCopy ¶ added in v0.73.0
func (g *GitlabWriteFileOptions) GetDeepCopy() (copy *GitlabWriteFileOptions)
func (*GitlabWriteFileOptions) GetGitlabGetRepositoryFileOptions ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) GetGitlabGetRepositoryFileOptions() (getOptions *GitlabGetRepositoryFileOptions, err error)
func (*GitlabWriteFileOptions) GetPath ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) GetPath() (path string, err error)
func (*GitlabWriteFileOptions) GetVerbose ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) GetVerbose() (verbose bool)
func (*GitlabWriteFileOptions) MustGetBranchName ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) MustGetBranchName() (branchName string)
func (*GitlabWriteFileOptions) MustGetCommitMessage ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) MustGetCommitMessage() (commitMessage string)
func (*GitlabWriteFileOptions) MustGetContent ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) MustGetContent() (content []byte)
func (*GitlabWriteFileOptions) MustGetGitlabGetRepositoryFileOptions ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) MustGetGitlabGetRepositoryFileOptions() (getOptions *GitlabGetRepositoryFileOptions)
func (*GitlabWriteFileOptions) MustGetPath ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) MustGetPath() (path string)
func (*GitlabWriteFileOptions) MustSetBranchName ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) MustSetBranchName(branchName string)
func (*GitlabWriteFileOptions) MustSetCommitMessage ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) MustSetCommitMessage(commitMessage string)
func (*GitlabWriteFileOptions) MustSetContent ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) MustSetContent(content []byte)
func (*GitlabWriteFileOptions) MustSetPath ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) MustSetPath(path string)
func (*GitlabWriteFileOptions) SetBranchName ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) SetBranchName(branchName string) (err error)
func (*GitlabWriteFileOptions) SetCommitMessage ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) SetCommitMessage(commitMessage string) (err error)
func (*GitlabWriteFileOptions) SetContent ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) SetContent(content []byte) (err error)
func (*GitlabWriteFileOptions) SetPath ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) SetPath(path string) (err error)
func (*GitlabWriteFileOptions) SetVerbose ¶ added in v0.39.0
func (g *GitlabWriteFileOptions) SetVerbose(verbose bool)
type GitlabgetProjectListOptions ¶ added in v0.54.0
func NewGitlabgetProjectListOptions ¶ added in v0.55.0
func NewGitlabgetProjectListOptions() (g *GitlabgetProjectListOptions)
func (*GitlabgetProjectListOptions) GetOwned ¶ added in v0.55.0
func (g *GitlabgetProjectListOptions) GetOwned() (owned bool)
func (*GitlabgetProjectListOptions) GetVerbose ¶ added in v0.55.0
func (g *GitlabgetProjectListOptions) GetVerbose() (verbose bool)
func (*GitlabgetProjectListOptions) SetOwned ¶ added in v0.55.0
func (g *GitlabgetProjectListOptions) SetOwned(owned bool)
func (*GitlabgetProjectListOptions) SetVerbose ¶ added in v0.55.0
func (g *GitlabgetProjectListOptions) SetVerbose(verbose bool)
type GnuPGService ¶ added in v0.151.0
type GnuPGService struct { }
func GnuPG ¶ added in v0.151.0
func GnuPG() (gnuPG *GnuPGService)
func NewGnuPGService ¶ added in v0.151.0
func NewGnuPGService() (g *GnuPGService)
func (*GnuPGService) CheckSignatureValid ¶ added in v0.151.0
func (g *GnuPGService) CheckSignatureValid(signatureFile files.File, verbose bool) (err error)
func (*GnuPGService) MustCheckSignatureValid ¶ added in v0.151.0
func (g *GnuPGService) MustCheckSignatureValid(signatureFile files.File, verbose bool)
func (*GnuPGService) MustSignFile ¶ added in v0.151.0
func (g *GnuPGService) MustSignFile(fileToSign files.File, options *GnuPGSignOptions)
func (*GnuPGService) SignFile ¶ added in v0.151.0
func (g *GnuPGService) SignFile(fileToSign files.File, options *GnuPGSignOptions) (err error)
type GnuPGSignOptions ¶ added in v0.151.0
func NewGnuPGSignOptions ¶ added in v0.151.0
func NewGnuPGSignOptions() (g *GnuPGSignOptions)
func (*GnuPGSignOptions) GetAsciiArmor ¶ added in v0.151.0
func (g *GnuPGSignOptions) GetAsciiArmor() (asciiArmor bool, err error)
func (*GnuPGSignOptions) GetDetachedSign ¶ added in v0.151.0
func (g *GnuPGSignOptions) GetDetachedSign() (detachedSign bool, err error)
func (*GnuPGSignOptions) GetVerbose ¶ added in v0.151.0
func (g *GnuPGSignOptions) GetVerbose() (verbose bool, err error)
func (*GnuPGSignOptions) MustGetAsciiArmor ¶ added in v0.151.0
func (g *GnuPGSignOptions) MustGetAsciiArmor() (asciiArmor bool)
func (*GnuPGSignOptions) MustGetDetachedSign ¶ added in v0.151.0
func (g *GnuPGSignOptions) MustGetDetachedSign() (detachedSign bool)
func (*GnuPGSignOptions) MustGetVerbose ¶ added in v0.151.0
func (g *GnuPGSignOptions) MustGetVerbose() (verbose bool)
func (*GnuPGSignOptions) MustSetAsciiArmor ¶ added in v0.151.0
func (g *GnuPGSignOptions) MustSetAsciiArmor(asciiArmor bool)
func (*GnuPGSignOptions) MustSetDetachedSign ¶ added in v0.151.0
func (g *GnuPGSignOptions) MustSetDetachedSign(detachedSign bool)
func (*GnuPGSignOptions) MustSetVerbose ¶ added in v0.151.0
func (g *GnuPGSignOptions) MustSetVerbose(verbose bool)
func (*GnuPGSignOptions) SetAsciiArmor ¶ added in v0.151.0
func (g *GnuPGSignOptions) SetAsciiArmor(asciiArmor bool) (err error)
func (*GnuPGSignOptions) SetDetachedSign ¶ added in v0.151.0
func (g *GnuPGSignOptions) SetDetachedSign(detachedSign bool) (err error)
func (*GnuPGSignOptions) SetVerbose ¶ added in v0.151.0
func (g *GnuPGSignOptions) SetVerbose(verbose bool) (err error)
type GoogleStorageBucket ¶ added in v0.13.2
type GoogleStorageBucket struct {
// contains filtered or unexported fields
}
func GetGoogleStorageBucketByName ¶ added in v0.13.2
func GetGoogleStorageBucketByName(bucketName string) (g *GoogleStorageBucket, err error)
func MustGetGoogleStorageBucketByName ¶ added in v0.13.2
func MustGetGoogleStorageBucketByName(bucketName string) (g *GoogleStorageBucket)
func NewGoogleStorageBucket ¶ added in v0.13.2
func NewGoogleStorageBucket() (g *GoogleStorageBucket)
func (*GoogleStorageBucket) Exists ¶ added in v0.13.2
func (g *GoogleStorageBucket) Exists() (bucketExists bool, err error)
func (*GoogleStorageBucket) GetName ¶ added in v0.13.2
func (g *GoogleStorageBucket) GetName() (name string, err error)
func (*GoogleStorageBucket) GetNativeBucket ¶ added in v0.13.2
func (g *GoogleStorageBucket) GetNativeBucket() (nativeBucket *storage.BucketHandle, err error)
func (*GoogleStorageBucket) GetNativeClient ¶ added in v0.13.2
func (g *GoogleStorageBucket) GetNativeClient() (nativeClient *storage.Client, err error)
func (*GoogleStorageBucket) MustExists ¶ added in v0.13.2
func (g *GoogleStorageBucket) MustExists() (bucketExists bool)
func (*GoogleStorageBucket) MustGetName ¶ added in v0.13.2
func (g *GoogleStorageBucket) MustGetName() (name string)
func (*GoogleStorageBucket) MustGetNativeBucket ¶ added in v0.13.2
func (g *GoogleStorageBucket) MustGetNativeBucket() (nativeBucket *storage.BucketHandle)
func (*GoogleStorageBucket) MustGetNativeClient ¶ added in v0.13.2
func (g *GoogleStorageBucket) MustGetNativeClient() (nativeClient *storage.Client)
func (*GoogleStorageBucket) MustSetName ¶ added in v0.13.2
func (g *GoogleStorageBucket) MustSetName(name string)
func (*GoogleStorageBucket) MustSetNativeClient ¶ added in v0.13.2
func (g *GoogleStorageBucket) MustSetNativeClient(nativeClient *storage.Client)
func (*GoogleStorageBucket) SetName ¶ added in v0.13.2
func (g *GoogleStorageBucket) SetName(name string) (err error)
func (*GoogleStorageBucket) SetNativeClient ¶ added in v0.13.2
func (g *GoogleStorageBucket) SetNativeClient(nativeClient *storage.Client) (err error)
type GopassCredential ¶ added in v0.31.0
type GopassCredential struct {
// contains filtered or unexported fields
}
func GetGopassCredentialByName ¶ added in v0.31.0
func GetGopassCredentialByName(name string) (credential *GopassCredential, err error)
func MustGetGopassCredentialByName ¶ added in v0.31.0
func MustGetGopassCredentialByName(name string) (credential *GopassCredential)
func NewGopassCredential ¶ added in v0.31.0
func NewGopassCredential() (gopassCredential *GopassCredential)
func (*GopassCredential) Exists ¶ added in v0.31.0
func (c *GopassCredential) Exists() (exists bool, err error)
func (*GopassCredential) GetAsBytes ¶ added in v0.31.0
func (c *GopassCredential) GetAsBytes() (credential []byte, err error)
func (*GopassCredential) GetAsInt ¶ added in v0.31.0
func (c *GopassCredential) GetAsInt() (value int, err error)
func (*GopassCredential) GetAsString ¶ added in v0.31.0
func (c *GopassCredential) GetAsString() (credential string, err error)
func (*GopassCredential) GetName ¶ added in v0.31.0
func (c *GopassCredential) GetName() (name string, err error)
func (*GopassCredential) GetSslCertificate ¶ added in v0.31.0
func (c *GopassCredential) GetSslCertificate() (sslCert *x509utils.X509Certificate, err error)
func (*GopassCredential) IncrementIntValue ¶ added in v0.31.0
func (c *GopassCredential) IncrementIntValue() (err error)
func (*GopassCredential) MustExists ¶ added in v0.31.0
func (g *GopassCredential) MustExists() (exists bool)
func (*GopassCredential) MustGetAsBytes ¶ added in v0.31.0
func (g *GopassCredential) MustGetAsBytes() (credential []byte)
func (*GopassCredential) MustGetAsInt ¶ added in v0.31.0
func (g *GopassCredential) MustGetAsInt() (value int)
func (*GopassCredential) MustGetAsString ¶ added in v0.31.0
func (g *GopassCredential) MustGetAsString() (credential string)
func (*GopassCredential) MustGetName ¶ added in v0.31.0
func (c *GopassCredential) MustGetName() (name string)
func (*GopassCredential) MustGetSslCertificate ¶ added in v0.31.0
func (g *GopassCredential) MustGetSslCertificate() (sslCert *x509utils.X509Certificate)
func (*GopassCredential) MustIncrementIntValue ¶ added in v0.31.0
func (g *GopassCredential) MustIncrementIntValue()
func (*GopassCredential) MustSetByInt ¶ added in v0.31.0
func (g *GopassCredential) MustSetByInt(newValue int)
func (*GopassCredential) MustSetByString ¶ added in v0.31.0
func (g *GopassCredential) MustSetByString(newValue string)
func (*GopassCredential) MustSetName ¶ added in v0.31.0
func (g *GopassCredential) MustSetName(name string)
func (*GopassCredential) MustWriteIntoFile ¶ added in v0.31.0
func (g *GopassCredential) MustWriteIntoFile(outputFile files.File, verbose bool)
func (*GopassCredential) MustWriteIntoTemporaryFile ¶ added in v0.31.0
func (g *GopassCredential) MustWriteIntoTemporaryFile(verbose bool) (temporaryFile files.File)
func (*GopassCredential) SetByInt ¶ added in v0.31.0
func (c *GopassCredential) SetByInt(newValue int) (err error)
func (*GopassCredential) SetByString ¶ added in v0.31.0
func (c *GopassCredential) SetByString(newValue string) (err error)
func (*GopassCredential) SetName ¶ added in v0.31.0
func (c *GopassCredential) SetName(name string) (err error)
func (*GopassCredential) WriteIntoFile ¶ added in v0.31.0
func (c *GopassCredential) WriteIntoFile(outputFile files.File, verbose bool) (err error)
func (*GopassCredential) WriteIntoTemporaryFile ¶ added in v0.31.0
func (c *GopassCredential) WriteIntoTemporaryFile(verbose bool) (temporaryFile files.File, err error)
type GopassService ¶ added in v0.31.0
type GopassService struct{}
func Gopass ¶ added in v0.31.0
func Gopass() (gopass *GopassService)
func NewGopassService ¶ added in v0.31.0
func NewGopassService() (g *GopassService)
func (*GopassService) CredentialExists ¶ added in v0.31.0
func (g *GopassService) CredentialExists(fullCredentialPath string) (credentialExists bool, err error)
func (*GopassService) Generate ¶ added in v0.31.0
func (g *GopassService) Generate(credentialName string, verbose bool) (generatedCredential *GopassCredential, err error)
func (*GopassService) GetCredential ¶ added in v0.31.0
func (g *GopassService) GetCredential(getOptions *parameteroptions.GopassSecretOptions) (credential *GopassCredential, err error)
func (*GopassService) GetCredentialList ¶ added in v0.31.0
func (g *GopassService) GetCredentialList() (credentials []*GopassCredential, err error)
func (*GopassService) GetCredentialNameList ¶ added in v0.31.0
func (g *GopassService) GetCredentialNameList() (credentialNames []string, err error)
func (*GopassService) GetCredentialValueAsString ¶ added in v0.31.0
func (g *GopassService) GetCredentialValueAsString(getOptions *parameteroptions.GopassSecretOptions) (credentialValue string, err error)
func (*GopassService) GetCredentialValueAsStringByPath ¶ added in v0.31.0
func (g *GopassService) GetCredentialValueAsStringByPath(secretPath string) (secretValue string, err error)
func (*GopassService) GetCredentialValueOrEmptyIfUnsetAsStringByPath ¶ added in v0.31.0
func (g *GopassService) GetCredentialValueOrEmptyIfUnsetAsStringByPath(secretPath string) (credentialValue string, err error)
func (*GopassService) GetGopassCredentialByName ¶ added in v0.31.0
func (g *GopassService) GetGopassCredentialByName(name string) (credential *GopassCredential, err error)
func (*GopassService) GetSslCertificate ¶ added in v0.31.0
func (g *GopassService) GetSslCertificate(getOptions *parameteroptions.GopassSecretOptions) (cert *x509utils.X509Certificate, err error)
func (*GopassService) InsertFile ¶ added in v0.31.0
func (g *GopassService) InsertFile(fileToInsert files.File, gopassOptions *parameteroptions.GopassSecretOptions) (err error)
func (*GopassService) InsertSecret ¶ added in v0.31.0
func (g *GopassService) InsertSecret(secretToInsert string, gopassOptions *parameteroptions.GopassSecretOptions) (err error)
func (*GopassService) MustCredentialExists ¶ added in v0.31.0
func (g *GopassService) MustCredentialExists(fullCredentialPath string) (credentialExists bool)
func (*GopassService) MustGenerate ¶ added in v0.31.0
func (g *GopassService) MustGenerate(credentialName string, verbose bool) (generatedCredential *GopassCredential)
func (*GopassService) MustGetCredential ¶ added in v0.31.0
func (g *GopassService) MustGetCredential(getOptions *parameteroptions.GopassSecretOptions) (credential *GopassCredential)
func (*GopassService) MustGetCredentialList ¶ added in v0.31.0
func (g *GopassService) MustGetCredentialList() (credentials []*GopassCredential)
func (*GopassService) MustGetCredentialNameList ¶ added in v0.31.0
func (g *GopassService) MustGetCredentialNameList() (credentialNames []string)
func (*GopassService) MustGetCredentialValue ¶ added in v0.31.0
func (g *GopassService) MustGetCredentialValue(getOptions *parameteroptions.GopassSecretOptions) (credentialValue string)
func (*GopassService) MustGetCredentialValueAsString ¶ added in v0.31.0
func (g *GopassService) MustGetCredentialValueAsString(getOptions *parameteroptions.GopassSecretOptions) (credentialValue string)
func (*GopassService) MustGetCredentialValueAsStringByPath ¶ added in v0.31.0
func (g *GopassService) MustGetCredentialValueAsStringByPath(secretPath string) (secretValue string)
func (*GopassService) MustGetCredentialValueOrEmptyIfUnsetAsStringByPath ¶ added in v0.31.0
func (g *GopassService) MustGetCredentialValueOrEmptyIfUnsetAsStringByPath(secretPath string) (credentialValue string)
func (*GopassService) MustGetGopassCredentialByName ¶ added in v0.31.0
func (g *GopassService) MustGetGopassCredentialByName(name string) (credential *GopassCredential)
func (*GopassService) MustGetSslCertificate ¶ added in v0.31.0
func (g *GopassService) MustGetSslCertificate(getOptions *parameteroptions.GopassSecretOptions) (cert *x509utils.X509Certificate)
func (*GopassService) MustInsertFile ¶ added in v0.31.0
func (g *GopassService) MustInsertFile(fileToInsert files.File, gopassOptions *parameteroptions.GopassSecretOptions)
func (*GopassService) MustInsertSecret ¶ added in v0.31.0
func (g *GopassService) MustInsertSecret(secretToInsert string, gopassOptions *parameteroptions.GopassSecretOptions)
func (*GopassService) MustSecretNameExist ¶ added in v0.31.0
func (g *GopassService) MustSecretNameExist(secretName string) (secretExists bool)
func (*GopassService) MustSync ¶ added in v0.31.0
func (g *GopassService) MustSync(verbose bool)
func (*GopassService) MustWriteInfoToGopass ¶ added in v0.31.0
func (g *GopassService) MustWriteInfoToGopass(gopassPath string)
func (*GopassService) MustWriteSecretIntoTemporaryFile ¶ added in v0.31.0
func (g *GopassService) MustWriteSecretIntoTemporaryFile(getOptions *parameteroptions.GopassSecretOptions) (temporaryFile files.File)
func (*GopassService) SecretNameExist ¶ added in v0.31.0
func (g *GopassService) SecretNameExist(secretName string) (secretExists bool, err error)
func (*GopassService) Sync ¶ added in v0.31.0
func (g *GopassService) Sync(verbose bool) (err error)
func (*GopassService) WriteInfoToGopass ¶ added in v0.31.0
func (g *GopassService) WriteInfoToGopass(gopassPath string) (err error)
func (*GopassService) WriteSecretIntoTemporaryFile ¶ added in v0.31.0
func (g *GopassService) WriteSecretIntoTemporaryFile(getOptions *parameteroptions.GopassSecretOptions) (temporaryFile files.File, err error)
type LocalGitRemote ¶ added in v0.14.1
func MustNewLocalGitRemoteByNativeGoGitRemote ¶ added in v0.14.1
func MustNewLocalGitRemoteByNativeGoGitRemote(goGitRemote *git.Remote) (l *LocalGitRemote)
func NewLocalGitRemote ¶ added in v0.14.1
func NewLocalGitRemote() (l *LocalGitRemote)
func NewLocalGitRemoteByNativeGoGitRemote ¶ added in v0.14.1
func NewLocalGitRemoteByNativeGoGitRemote(goGitRemote *git.Remote) (l *LocalGitRemote, err error)
func (*LocalGitRemote) GetName ¶ added in v0.14.1
func (l *LocalGitRemote) GetName() (name string, err error)
func (*LocalGitRemote) GetRemoteUrl ¶ added in v0.14.1
func (l *LocalGitRemote) GetRemoteUrl() (remoteUrl string, err error)
func (*LocalGitRemote) MustGetName ¶ added in v0.14.1
func (l *LocalGitRemote) MustGetName() (name string)
func (*LocalGitRemote) MustGetRemoteUrl ¶ added in v0.14.1
func (l *LocalGitRemote) MustGetRemoteUrl() (remoteUrl string)
func (*LocalGitRemote) MustSetName ¶ added in v0.14.1
func (l *LocalGitRemote) MustSetName(name string)
func (*LocalGitRemote) MustSetRemoteUrl ¶ added in v0.14.1
func (l *LocalGitRemote) MustSetRemoteUrl(remoteUrl string)
func (*LocalGitRemote) SetName ¶ added in v0.14.1
func (l *LocalGitRemote) SetName(name string) (err error)
func (*LocalGitRemote) SetRemoteUrl ¶ added in v0.14.1
func (l *LocalGitRemote) SetRemoteUrl(remoteUrl string) (err error)
type LocalGitRepository ¶ added in v0.11.0
type LocalGitRepository struct { files.LocalDirectory GitRepositoryBase }
func GetLocalGitReposioryFromLocalDirectory ¶ added in v0.90.0
func GetLocalGitReposioryFromLocalDirectory(localDirectory *files.LocalDirectory) (l *LocalGitRepository, err error)
func GetLocalGitRepositoryByPath ¶ added in v0.11.0
func GetLocalGitRepositoryByPath(path string) (l *LocalGitRepository, err error)
func MustGetLocalGitReposioryFromLocalDirectory ¶ added in v0.90.0
func MustGetLocalGitReposioryFromLocalDirectory(localDirectory *files.LocalDirectory) (l *LocalGitRepository)
func MustGetLocalGitRepositoryByPath ¶ added in v0.11.0
func MustGetLocalGitRepositoryByPath(path string) (l *LocalGitRepository)
func NewLocalGitRepository ¶ added in v0.11.0
func NewLocalGitRepository() (l *LocalGitRepository)
func (*LocalGitRepository) AddFileByPath ¶ added in v0.124.0
func (l *LocalGitRepository) AddFileByPath(pathToAdd string, verbose bool) (err error)
func (*LocalGitRepository) AddRemote ¶ added in v0.171.0
func (l *LocalGitRepository) AddRemote(remoteOptions *GitRemoteAddOptions) (err error)
func (*LocalGitRepository) CheckoutBranchByName ¶ added in v0.166.0
func (l *LocalGitRepository) CheckoutBranchByName(name string, verbose bool) (err error)
func (*LocalGitRepository) CloneRepository ¶ added in v0.123.0
func (l *LocalGitRepository) CloneRepository(repository GitRepository, verbose bool) (err error)
func (*LocalGitRepository) CloneRepositoryByPathOrUrl ¶ added in v0.123.0
func (l *LocalGitRepository) CloneRepositoryByPathOrUrl(urlOrPathToClone string, verbose bool) (err error)
func (*LocalGitRepository) Commit ¶ added in v0.11.0
func (l *LocalGitRepository) Commit(commitOptions *GitCommitOptions) (createdCommit *GitCommit, err error)
func (*LocalGitRepository) CommitHasParentCommitByCommitHash ¶ added in v0.34.0
func (l *LocalGitRepository) CommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool, err error)
func (*LocalGitRepository) CreateBranch ¶ added in v0.166.0
func (l *LocalGitRepository) CreateBranch(createOptions *parameteroptions.CreateBranchOptions) (err error)
func (*LocalGitRepository) CreateTag ¶ added in v0.135.0
func (l *LocalGitRepository) CreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag, err error)
func (*LocalGitRepository) DeleteBranchByName ¶ added in v0.166.0
func (l *LocalGitRepository) DeleteBranchByName(name string, verbose bool) (err error)
func (*LocalGitRepository) Fetch ¶ added in v0.167.0
func (l *LocalGitRepository) Fetch(verbose bool) (err error)
func (*LocalGitRepository) FileByPathExists ¶ added in v0.132.0
func (l *LocalGitRepository) FileByPathExists(path string, verbose bool) (exists bool, err error)
func (*LocalGitRepository) GetAsGoGitRepository ¶ added in v0.11.0
func (l *LocalGitRepository) GetAsGoGitRepository() (goGitRepository *git.Repository, err error)
func (*LocalGitRepository) GetAsLocalDirectory ¶ added in v0.51.0
func (l *LocalGitRepository) GetAsLocalDirectory() (localDirectory *files.LocalDirectory, err error)
func (*LocalGitRepository) GetAsLocalGitRepository ¶ added in v0.51.0
func (l *LocalGitRepository) GetAsLocalGitRepository() (localGitRepository *LocalGitRepository, err error)
func (*LocalGitRepository) GetAuthorEmailByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) GetAuthorEmailByCommitHash(hash string) (authorEmail string, err error)
func (*LocalGitRepository) GetAuthorStringByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) GetAuthorStringByCommitHash(hash string) (authorString string, err error)
func (*LocalGitRepository) GetCommitAgeDurationByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) GetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration, err error)
func (*LocalGitRepository) GetCommitAgeSecondsByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) GetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64, err error)
func (*LocalGitRepository) GetCommitByGoGitCommit ¶ added in v0.34.0
func (l *LocalGitRepository) GetCommitByGoGitCommit(goGitCommit *object.Commit) (gitCommit *GitCommit, err error)
func (*LocalGitRepository) GetCommitByGoGitHash ¶ added in v0.11.0
func (l *LocalGitRepository) GetCommitByGoGitHash(goGitHash *plumbing.Hash) (gitCommit *GitCommit, err error)
func (*LocalGitRepository) GetCommitByGoGitReference ¶ added in v0.11.0
func (l *LocalGitRepository) GetCommitByGoGitReference(goGitReference *plumbing.Reference) (gitCommit *GitCommit, err error)
func (*LocalGitRepository) GetCommitMessageByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) GetCommitMessageByCommitHash(hash string) (commitMessage string, err error)
func (*LocalGitRepository) GetCommitParentsByCommitHash ¶ added in v0.34.0
func (l *LocalGitRepository) GetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit, err error)
func (*LocalGitRepository) GetCommitTimeByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) GetCommitTimeByCommitHash(hash string) (commitTime *time.Time, err error)
func (*LocalGitRepository) GetCurrentBranchName ¶ added in v0.166.0
func (l *LocalGitRepository) GetCurrentBranchName(verbose bool) (branchName string, err error)
func (*LocalGitRepository) GetCurrentCommit ¶ added in v0.11.0
func (l *LocalGitRepository) GetCurrentCommit(verbose bool) (gitCommit *GitCommit, err error)
func (*LocalGitRepository) GetCurrentCommitGoGitHash ¶ added in v0.135.0
func (l *LocalGitRepository) GetCurrentCommitGoGitHash(verbose bool) (hash *plumbing.Hash, err error)
func (*LocalGitRepository) GetCurrentCommitHash ¶ added in v0.11.0
func (l *LocalGitRepository) GetCurrentCommitHash(verbose bool) (commitHash string, err error)
func (*LocalGitRepository) GetCurrentCommitHashAsBytes ¶ added in v0.135.0
func (l *LocalGitRepository) GetCurrentCommitHashAsBytes(verbose bool) (hash []byte, err error)
func (*LocalGitRepository) GetDirectoryByPath ¶ added in v0.178.0
func (l *LocalGitRepository) GetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory, err error)
func (*LocalGitRepository) GetGitStatusOutput ¶ added in v0.51.0
func (l *LocalGitRepository) GetGitStatusOutput(verbose bool) (output string, err error)
func (*LocalGitRepository) GetGitlabCiYamlFile ¶ added in v0.20.0
func (l *LocalGitRepository) GetGitlabCiYamlFile() (gitlabCiYamlFile *GitlabCiYamlFile, err error)
func (*LocalGitRepository) GetGoGitCommitByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) GetGoGitCommitByCommitHash(hash string) (goGitCommit *object.Commit, err error)
func (*LocalGitRepository) GetGoGitConfig ¶ added in v0.11.0
func (l *LocalGitRepository) GetGoGitConfig() (config *config.Config, err error)
func (*LocalGitRepository) GetGoGitHashFromHashString ¶ added in v0.142.0
func (l *LocalGitRepository) GetGoGitHashFromHashString(hashString string) (hash *plumbing.Hash, err error)
func (*LocalGitRepository) GetGoGitHead ¶ added in v0.11.0
func (l *LocalGitRepository) GetGoGitHead() (head *plumbing.Reference, err error)
func (*LocalGitRepository) GetGoGitWorktree ¶ added in v0.11.0
func (l *LocalGitRepository) GetGoGitWorktree() (worktree *git.Worktree, err error)
func (*LocalGitRepository) GetHashByTagName ¶ added in v0.142.0
func (l *LocalGitRepository) GetHashByTagName(tagName string) (hash string, err error)
func (*LocalGitRepository) GetRemoteConfigs ¶ added in v0.171.0
func (l *LocalGitRepository) GetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig, err error)
func (*LocalGitRepository) GetRootDirectory ¶ added in v0.18.0
func (l *LocalGitRepository) GetRootDirectory(verbose bool) (rootDirectory files.Directory, err error)
func (*LocalGitRepository) GetRootDirectoryPath ¶ added in v0.18.0
func (l *LocalGitRepository) GetRootDirectoryPath(verbose bool) (rootDirectoryPath string, err error)
func (*LocalGitRepository) GetTagByName ¶ added in v0.135.0
func (l *LocalGitRepository) GetTagByName(tagName string) (tag GitTag, err error)
func (*LocalGitRepository) GitlabCiYamlFileExists ¶ added in v0.24.0
func (l *LocalGitRepository) GitlabCiYamlFileExists(verbose bool) (gitlabCiYamlFileExists bool, err error)
func (*LocalGitRepository) HasInitialCommit ¶ added in v0.120.0
func (c *LocalGitRepository) HasInitialCommit(verbose bool) (hasInitialCommit bool, err error)
func (*LocalGitRepository) HasNoUncommittedChanges ¶ added in v0.11.0
func (l *LocalGitRepository) HasNoUncommittedChanges(verbose bool) (hasUncommittedChanges bool, err error)
func (*LocalGitRepository) HasUncommittedChanges ¶ added in v0.11.0
func (l *LocalGitRepository) HasUncommittedChanges(verbose bool) (hasUncommittedChanges bool, err error)
func (*LocalGitRepository) Init ¶ added in v0.11.0
func (l *LocalGitRepository) Init(options *parameteroptions.CreateRepositoryOptions) (err error)
func (*LocalGitRepository) IsBareRepository ¶ added in v0.14.1
func (l *LocalGitRepository) IsBareRepository(verbose bool) (isBareRepository bool, err error)
func (*LocalGitRepository) IsGitRepository ¶ added in v0.18.0
func (l *LocalGitRepository) IsGitRepository(verbose bool) (isGitRepository bool, err error)
func (*LocalGitRepository) IsInitialized ¶ added in v0.11.0
func (l *LocalGitRepository) IsInitialized(verbose bool) (isInitialized bool, err error)
func (*LocalGitRepository) ListBranchNames ¶ added in v0.166.0
func (l *LocalGitRepository) ListBranchNames(verbose bool) (branchNames []string, err error)
func (*LocalGitRepository) ListTagNames ¶ added in v0.135.0
func (l *LocalGitRepository) ListTagNames(verbose bool) (tagNames []string, err error)
func (*LocalGitRepository) ListTags ¶ added in v0.138.0
func (l *LocalGitRepository) ListTags(verbose bool) (tags []GitTag, err error)
func (*LocalGitRepository) ListTagsForCommitHash ¶ added in v0.142.0
func (l *LocalGitRepository) ListTagsForCommitHash(hash string, verbose bool) (tags []GitTag, err error)
func (*LocalGitRepository) MustAddFileByPath ¶ added in v0.124.0
func (l *LocalGitRepository) MustAddFileByPath(pathToAdd string, verbose bool)
func (*LocalGitRepository) MustAddRemote ¶ added in v0.171.0
func (l *LocalGitRepository) MustAddRemote(remoteOptions *GitRemoteAddOptions)
func (*LocalGitRepository) MustCheckoutBranchByName ¶ added in v0.166.0
func (l *LocalGitRepository) MustCheckoutBranchByName(name string, verbose bool)
func (*LocalGitRepository) MustCloneRepository ¶ added in v0.123.0
func (l *LocalGitRepository) MustCloneRepository(repository GitRepository, verbose bool)
func (*LocalGitRepository) MustCloneRepositoryByPathOrUrl ¶ added in v0.123.0
func (l *LocalGitRepository) MustCloneRepositoryByPathOrUrl(pathToClone string, verbose bool)
func (*LocalGitRepository) MustCommit ¶ added in v0.11.0
func (l *LocalGitRepository) MustCommit(commitOptions *GitCommitOptions) (createdCommit *GitCommit)
func (*LocalGitRepository) MustCommitHasParentCommitByCommitHash ¶ added in v0.34.0
func (l *LocalGitRepository) MustCommitHasParentCommitByCommitHash(hash string) (hasParentCommit bool)
func (*LocalGitRepository) MustCreateBranch ¶ added in v0.166.0
func (l *LocalGitRepository) MustCreateBranch(createOptions *parameteroptions.CreateBranchOptions)
func (*LocalGitRepository) MustCreateTag ¶ added in v0.135.0
func (l *LocalGitRepository) MustCreateTag(options *GitRepositoryCreateTagOptions) (createdTag GitTag)
func (*LocalGitRepository) MustDeleteBranchByName ¶ added in v0.166.0
func (l *LocalGitRepository) MustDeleteBranchByName(name string, verbose bool)
func (*LocalGitRepository) MustFetch ¶ added in v0.167.0
func (l *LocalGitRepository) MustFetch(verbose bool)
func (*LocalGitRepository) MustFileByPathExists ¶ added in v0.132.0
func (l *LocalGitRepository) MustFileByPathExists(path string, verbose bool) (exists bool)
func (*LocalGitRepository) MustGetAsGoGitRepository ¶ added in v0.11.0
func (l *LocalGitRepository) MustGetAsGoGitRepository() (goGitRepository *git.Repository)
func (*LocalGitRepository) MustGetAsLocalDirectory ¶ added in v0.51.0
func (l *LocalGitRepository) MustGetAsLocalDirectory() (localDirectory *files.LocalDirectory)
func (*LocalGitRepository) MustGetAsLocalGitRepository ¶ added in v0.51.0
func (l *LocalGitRepository) MustGetAsLocalGitRepository() (localGitRepository *LocalGitRepository)
func (*LocalGitRepository) MustGetAuthorEmailByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) MustGetAuthorEmailByCommitHash(hash string) (authorEmail string)
func (*LocalGitRepository) MustGetAuthorStringByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) MustGetAuthorStringByCommitHash(hash string) (authorString string)
func (*LocalGitRepository) MustGetCommitAgeDurationByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) MustGetCommitAgeDurationByCommitHash(hash string) (ageDuration *time.Duration)
func (*LocalGitRepository) MustGetCommitAgeSecondsByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) MustGetCommitAgeSecondsByCommitHash(hash string) (ageSeconds float64)
func (*LocalGitRepository) MustGetCommitByGoGitCommit ¶ added in v0.34.0
func (l *LocalGitRepository) MustGetCommitByGoGitCommit(goGitCommit *object.Commit) (gitCommit *GitCommit)
func (*LocalGitRepository) MustGetCommitByGoGitHash ¶ added in v0.11.0
func (l *LocalGitRepository) MustGetCommitByGoGitHash(goGitHash *plumbing.Hash) (gitCommit *GitCommit)
func (*LocalGitRepository) MustGetCommitByGoGitReference ¶ added in v0.11.0
func (l *LocalGitRepository) MustGetCommitByGoGitReference(goGitReference *plumbing.Reference) (gitCommit *GitCommit)
func (*LocalGitRepository) MustGetCommitMessageByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) MustGetCommitMessageByCommitHash(hash string) (commitMessage string)
func (*LocalGitRepository) MustGetCommitParentsByCommitHash ¶ added in v0.34.0
func (l *LocalGitRepository) MustGetCommitParentsByCommitHash(hash string, options *parameteroptions.GitCommitGetParentsOptions) (commitParents []*GitCommit)
func (*LocalGitRepository) MustGetCommitTimeByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) MustGetCommitTimeByCommitHash(hash string) (commitTime *time.Time)
func (*LocalGitRepository) MustGetCurrentBranchName ¶ added in v0.166.0
func (l *LocalGitRepository) MustGetCurrentBranchName(verbose bool) (branchName string)
func (*LocalGitRepository) MustGetCurrentCommit ¶ added in v0.11.0
func (l *LocalGitRepository) MustGetCurrentCommit(verbose bool) (gitCommit *GitCommit)
func (*LocalGitRepository) MustGetCurrentCommitGoGitHash ¶ added in v0.135.0
func (l *LocalGitRepository) MustGetCurrentCommitGoGitHash(verbose bool) (hash *plumbing.Hash)
func (*LocalGitRepository) MustGetCurrentCommitHash ¶ added in v0.11.0
func (l *LocalGitRepository) MustGetCurrentCommitHash(verbose bool) (commitHash string)
func (*LocalGitRepository) MustGetCurrentCommitHashAsBytes ¶ added in v0.135.0
func (l *LocalGitRepository) MustGetCurrentCommitHashAsBytes(verbose bool) (hash []byte)
func (*LocalGitRepository) MustGetDirectoryByPath ¶ added in v0.178.0
func (l *LocalGitRepository) MustGetDirectoryByPath(pathToSubDir ...string) (subDir files.Directory)
func (*LocalGitRepository) MustGetGitStatusOutput ¶ added in v0.51.0
func (l *LocalGitRepository) MustGetGitStatusOutput(verbose bool) (output string)
func (*LocalGitRepository) MustGetGitlabCiYamlFile ¶ added in v0.20.0
func (l *LocalGitRepository) MustGetGitlabCiYamlFile() (gitlabCiYamlFile *GitlabCiYamlFile)
func (*LocalGitRepository) MustGetGoGitCommitByCommitHash ¶ added in v0.33.0
func (l *LocalGitRepository) MustGetGoGitCommitByCommitHash(hash string) (goGitCommit *object.Commit)
func (*LocalGitRepository) MustGetGoGitConfig ¶ added in v0.11.0
func (l *LocalGitRepository) MustGetGoGitConfig() (config *config.Config)
func (*LocalGitRepository) MustGetGoGitHashFromHashString ¶ added in v0.143.0
func (l *LocalGitRepository) MustGetGoGitHashFromHashString(hashString string) (hash *plumbing.Hash)
func (*LocalGitRepository) MustGetGoGitHead ¶ added in v0.11.0
func (l *LocalGitRepository) MustGetGoGitHead() (head *plumbing.Reference)
func (*LocalGitRepository) MustGetGoGitWorktree ¶ added in v0.11.0
func (l *LocalGitRepository) MustGetGoGitWorktree() (worktree *git.Worktree)
func (*LocalGitRepository) MustGetHashByTagName ¶ added in v0.142.0
func (l *LocalGitRepository) MustGetHashByTagName(tagName string) (hash string)
func (*LocalGitRepository) MustGetRemoteConfigs ¶ added in v0.171.0
func (l *LocalGitRepository) MustGetRemoteConfigs(verbose bool) (remoteConfigs []*GitRemoteConfig)
func (*LocalGitRepository) MustGetRootDirectory ¶ added in v0.18.0
func (l *LocalGitRepository) MustGetRootDirectory(verbose bool) (rootDirectory files.Directory)
func (*LocalGitRepository) MustGetRootDirectoryPath ¶ added in v0.18.0
func (l *LocalGitRepository) MustGetRootDirectoryPath(verbose bool) (rootDirectoryPath string)
func (*LocalGitRepository) MustGetTagByName ¶ added in v0.135.0
func (l *LocalGitRepository) MustGetTagByName(tagName string) (tag GitTag)
func (*LocalGitRepository) MustGitlabCiYamlFileExists ¶ added in v0.24.0
func (l *LocalGitRepository) MustGitlabCiYamlFileExists(verbose bool) (gitlabCiYamlFileExists bool)
func (*LocalGitRepository) MustHasInitialCommit ¶ added in v0.120.0
func (l *LocalGitRepository) MustHasInitialCommit(verbose bool) (hasInitialCommit bool)
func (*LocalGitRepository) MustHasNoUncommittedChanges ¶ added in v0.11.0
func (l *LocalGitRepository) MustHasNoUncommittedChanges(verbose bool) (hasUncommittedChanges bool)
func (*LocalGitRepository) MustHasUncommittedChanges ¶ added in v0.11.0
func (l *LocalGitRepository) MustHasUncommittedChanges(verbose bool) (hasUncommittedChanges bool)
func (*LocalGitRepository) MustInit ¶ added in v0.11.0
func (l *LocalGitRepository) MustInit(options *parameteroptions.CreateRepositoryOptions)
func (*LocalGitRepository) MustIsBareRepository ¶ added in v0.14.1
func (l *LocalGitRepository) MustIsBareRepository(verbose bool) (isBareRepository bool)
func (*LocalGitRepository) MustIsGitRepository ¶ added in v0.18.0
func (l *LocalGitRepository) MustIsGitRepository(verbose bool) (isGitRepository bool)
func (*LocalGitRepository) MustIsInitialized ¶ added in v0.11.0
func (l *LocalGitRepository) MustIsInitialized(verbose bool) (isInitialized bool)
func (*LocalGitRepository) MustListBranchNames ¶ added in v0.166.0
func (l *LocalGitRepository) MustListBranchNames(verbose bool) (branchNames []string)
func (*LocalGitRepository) MustListTagNames ¶ added in v0.135.0
func (l *LocalGitRepository) MustListTagNames(verbose bool) (tagNames []string)
func (*LocalGitRepository) MustListTags ¶ added in v0.138.0
func (l *LocalGitRepository) MustListTags(verbose bool) (tags []GitTag)
func (*LocalGitRepository) MustListTagsForCommitHash ¶ added in v0.142.0
func (l *LocalGitRepository) MustListTagsForCommitHash(hash string, verbose bool) (tags []GitTag)
func (*LocalGitRepository) MustPull ¶ added in v0.11.0
func (l *LocalGitRepository) MustPull(verbose bool)
func (*LocalGitRepository) MustPullFromRemote ¶ added in v0.174.0
func (l *LocalGitRepository) MustPullFromRemote(pullOptions *GitPullFromRemoteOptions)
func (*LocalGitRepository) MustPullUsingGitCli ¶ added in v0.30.0
func (l *LocalGitRepository) MustPullUsingGitCli(verbose bool)
func (*LocalGitRepository) MustPush ¶ added in v0.11.0
func (l *LocalGitRepository) MustPush(verbose bool)
func (*LocalGitRepository) MustPushTagsToRemote ¶ added in v0.175.0
func (l *LocalGitRepository) MustPushTagsToRemote(remoteName string, verbose bool)
func (*LocalGitRepository) MustPushToRemote ¶ added in v0.173.0
func (l *LocalGitRepository) MustPushToRemote(remoteName string, verbose bool)
func (*LocalGitRepository) MustRemoteByNameExists ¶ added in v0.171.0
func (l *LocalGitRepository) MustRemoteByNameExists(remoteName string, verbose bool) (remoteExists bool)
func (*LocalGitRepository) MustRemoteConfigurationExists ¶ added in v0.171.0
func (l *LocalGitRepository) MustRemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool)
func (*LocalGitRepository) MustRemoveRemoteByName ¶ added in v0.171.0
func (l *LocalGitRepository) MustRemoveRemoteByName(remoteNameToRemove string, verbose bool)
func (*LocalGitRepository) MustRunGitCommand ¶ added in v0.22.0
func (l *LocalGitRepository) MustRunGitCommand(gitCommand []string, verbose bool) (commandOutput *commandexecutor.CommandOutput)
func (*LocalGitRepository) MustRunGitCommandAndGetStdout ¶ added in v0.51.0
func (l *LocalGitRepository) MustRunGitCommandAndGetStdout(gitCommand []string, verbose bool) (commandOutput string)
func (*LocalGitRepository) MustSetGitConfig ¶ added in v0.11.0
func (l *LocalGitRepository) MustSetGitConfig(options *GitConfigSetOptions)
func (*LocalGitRepository) MustSetGitConfigByGoGitConfig ¶ added in v0.11.0
func (l *LocalGitRepository) MustSetGitConfigByGoGitConfig(config *config.Config, verbose bool)
func (*LocalGitRepository) MustSetRemote ¶ added in v0.14.1
func (l *LocalGitRepository) MustSetRemote(remoteName string, remotUrl string, verbose bool) (remote *LocalGitRemote)
func (*LocalGitRepository) MustSetRemoteUrl ¶ added in v0.172.0
func (l *LocalGitRepository) MustSetRemoteUrl(remoteUrl string, verbose bool)
func (*LocalGitRepository) Pull ¶ added in v0.11.0
func (l *LocalGitRepository) Pull(verbose bool) (err error)
func (*LocalGitRepository) PullFromRemote ¶ added in v0.174.0
func (l *LocalGitRepository) PullFromRemote(pullOptions *GitPullFromRemoteOptions) (err error)
func (*LocalGitRepository) PullUsingGitCli ¶ added in v0.30.0
func (l *LocalGitRepository) PullUsingGitCli(verbose bool) (err error)
func (*LocalGitRepository) Push ¶ added in v0.11.0
func (l *LocalGitRepository) Push(verbose bool) (err error)
func (*LocalGitRepository) PushTagsToRemote ¶ added in v0.175.0
func (l *LocalGitRepository) PushTagsToRemote(remoteName string, verbose bool) (err error)
func (*LocalGitRepository) PushToRemote ¶ added in v0.173.0
func (l *LocalGitRepository) PushToRemote(remoteName string, verbose bool) (err error)
func (*LocalGitRepository) RemoteByNameExists ¶ added in v0.171.0
func (l *LocalGitRepository) RemoteByNameExists(remoteName string, verbose bool) (remoteExists bool, err error)
func (*LocalGitRepository) RemoteConfigurationExists ¶ added in v0.171.0
func (l *LocalGitRepository) RemoteConfigurationExists(config *GitRemoteConfig, verbose bool) (exists bool, err error)
func (*LocalGitRepository) RemoveRemoteByName ¶ added in v0.171.0
func (l *LocalGitRepository) RemoveRemoteByName(remoteNameToRemove string, verbose bool) (err error)
func (*LocalGitRepository) RunGitCommand ¶ added in v0.22.0
func (l *LocalGitRepository) RunGitCommand(gitCommand []string, verbose bool) (commandOutput *commandexecutor.CommandOutput, err error)
TODO remove: LocalGitRepository should purely base on goGit, not by calling the git binary.
func (*LocalGitRepository) RunGitCommandAndGetStdout ¶ added in v0.51.0
func (l *LocalGitRepository) RunGitCommandAndGetStdout(gitCommand []string, verbose bool) (commandOutput string, err error)
func (*LocalGitRepository) SetGitConfig ¶ added in v0.11.0
func (l *LocalGitRepository) SetGitConfig(options *GitConfigSetOptions) (err error)
func (*LocalGitRepository) SetGitConfigByGoGitConfig ¶ added in v0.11.0
func (l *LocalGitRepository) SetGitConfigByGoGitConfig(config *config.Config, verbose bool) (err error)
func (*LocalGitRepository) SetRemote ¶ added in v0.14.1
func (l *LocalGitRepository) SetRemote(remoteName string, remotUrl string, verbose bool) (remote *LocalGitRemote, err error)
func (*LocalGitRepository) SetRemoteUrl ¶ added in v0.172.0
func (l *LocalGitRepository) SetRemoteUrl(remoteUrl string, verbose bool) (err error)
type ObjectStoreBucket ¶ added in v0.13.2
type PowerShellService ¶ added in v0.7.0
type PowerShellService struct {
commandexecutor.CommandExecutorBase
}
func NewPowerShell ¶ added in v0.7.0
func NewPowerShell() (p *PowerShellService)
func NewPowerShellService ¶ added in v0.7.0
func NewPowerShellService() (p *PowerShellService)
func PowerShell ¶ added in v0.7.0
func PowerShell() (p *PowerShellService)
func (*PowerShellService) MustRunCommand ¶ added in v0.7.0
func (p *PowerShellService) MustRunCommand(options *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput)
func (*PowerShellService) MustRunOneLiner ¶ added in v0.10.0
func (p *PowerShellService) MustRunOneLiner(oneLiner string, verbose bool) (output *commandexecutor.CommandOutput)
func (*PowerShellService) MustRunOneLinerAndGetStdoutAsString ¶ added in v0.10.0
func (p *PowerShellService) MustRunOneLinerAndGetStdoutAsString(oneLiner string, verbose bool) (stdout string)
func (*PowerShellService) RunCommand ¶ added in v0.7.0
func (b *PowerShellService) RunCommand(options *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput, err error)
func (*PowerShellService) RunOneLiner ¶ added in v0.10.0
func (p *PowerShellService) RunOneLiner(oneLiner string, verbose bool) (output *commandexecutor.CommandOutput, err error)
func (*PowerShellService) RunOneLinerAndGetStdoutAsString ¶ added in v0.10.0
func (p *PowerShellService) RunOneLinerAndGetStdoutAsString(oneLiner string, verbose bool) (stdout string, err error)
type PreCommitConfigFile ¶ added in v0.51.0
func GetPreCommitConfigByFile ¶ added in v0.51.0
func GetPreCommitConfigByFile(file files.File) (preCommitConfigFile *PreCommitConfigFile, err error)
func GetPreCommitConfigByLocalPath ¶ added in v0.51.0
func GetPreCommitConfigByLocalPath(localPath string) (preCommitConfigFile *PreCommitConfigFile, err error)
func GetPreCommitConfigFileInGitRepository ¶ added in v0.161.0
func GetPreCommitConfigFileInGitRepository(gitRepository GitRepository) (preCommitConfigFile *PreCommitConfigFile, err error)
func MustGetPreCommitConfigByFile ¶ added in v0.51.0
func MustGetPreCommitConfigByFile(file files.File) (preCommitConfigFile *PreCommitConfigFile)
func MustGetPreCommitConfigByLocalPath ¶ added in v0.51.0
func MustGetPreCommitConfigByLocalPath(localPath string) (preCommitConfigFile *PreCommitConfigFile)
func MustGetPreCommitConfigFileInGitRepository ¶ added in v0.161.0
func MustGetPreCommitConfigFileInGitRepository(gitRepository GitRepository) (preCommitConfigFile *PreCommitConfigFile)
func NewPreCommitConfigFile ¶ added in v0.51.0
func NewPreCommitConfigFile() (preCommitConfigFile *PreCommitConfigFile)
func (*PreCommitConfigFile) GetAbsolutePath ¶ added in v0.51.0
func (p *PreCommitConfigFile) GetAbsolutePath() (absolutePath string, err error)
func (*PreCommitConfigFile) GetDependencies ¶ added in v0.51.0
func (p *PreCommitConfigFile) GetDependencies(verbose bool) (dependencies []Dependency, err error)
func (*PreCommitConfigFile) GetLocalPath ¶ added in v0.51.0
func (p *PreCommitConfigFile) GetLocalPath() (localPath string, err error)
func (*PreCommitConfigFile) GetPreCommitConfigFileContent ¶ added in v0.51.0
func (p *PreCommitConfigFile) GetPreCommitConfigFileContent(verbose bool) (content *PreCommitConfigFileContent, err error)
func (*PreCommitConfigFile) GetUriAsString ¶ added in v0.51.0
func (p *PreCommitConfigFile) GetUriAsString() (uri string, err error)
func (*PreCommitConfigFile) IsValidPreCommitConfigFile ¶ added in v0.51.0
func (p *PreCommitConfigFile) IsValidPreCommitConfigFile(verbose bool) (isValidPreCommitConfigFile bool, err error)
func (*PreCommitConfigFile) MustGetAbsolutePath ¶ added in v0.51.0
func (p *PreCommitConfigFile) MustGetAbsolutePath() (absolutePath string)
func (*PreCommitConfigFile) MustGetDependencies ¶ added in v0.51.0
func (p *PreCommitConfigFile) MustGetDependencies(verbose bool) (dependencies []Dependency)
func (*PreCommitConfigFile) MustGetLocalPath ¶ added in v0.51.0
func (p *PreCommitConfigFile) MustGetLocalPath() (localPath string)
func (*PreCommitConfigFile) MustGetPreCommitConfigFileContent ¶ added in v0.51.0
func (p *PreCommitConfigFile) MustGetPreCommitConfigFileContent(verbose bool) (content *PreCommitConfigFileContent)
func (*PreCommitConfigFile) MustGetUriAsString ¶ added in v0.51.0
func (p *PreCommitConfigFile) MustGetUriAsString() (uri string)
func (*PreCommitConfigFile) MustIsValidPreCommitConfigFile ¶ added in v0.51.0
func (p *PreCommitConfigFile) MustIsValidPreCommitConfigFile(verbose bool) (isValidPreCommitConfigFile bool)
func (*PreCommitConfigFile) MustUpdateDependencies ¶ added in v0.51.0
func (p *PreCommitConfigFile) MustUpdateDependencies(options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary)
func (*PreCommitConfigFile) MustUpdateDependency ¶ added in v0.51.0
func (p *PreCommitConfigFile) MustUpdateDependency(dependency Dependency, options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary)
func (*PreCommitConfigFile) MustWritePreCommitConfigFileContent ¶ added in v0.51.0
func (p *PreCommitConfigFile) MustWritePreCommitConfigFileContent(content *PreCommitConfigFileContent, verbose bool)
func (*PreCommitConfigFile) UpdateDependencies ¶ added in v0.51.0
func (p *PreCommitConfigFile) UpdateDependencies(options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary, err error)
func (*PreCommitConfigFile) UpdateDependency ¶ added in v0.51.0
func (p *PreCommitConfigFile) UpdateDependency(dependency Dependency, options *parameteroptions.UpdateDependenciesOptions) (changeSummary *changesummary.ChangeSummary, err error)
func (*PreCommitConfigFile) WritePreCommitConfigFileContent ¶ added in v0.51.0
func (p *PreCommitConfigFile) WritePreCommitConfigFileContent(content *PreCommitConfigFileContent, verbose bool) (err error)
type PreCommitConfigFileConfig ¶ added in v0.51.0
type PreCommitConfigFileConfig struct {
Repos []PreCommitConfigFileConfigRepo `yaml:"repos"`
}
func NewPreCommitConfigFileConfig ¶ added in v0.51.0
func NewPreCommitConfigFileConfig() (p *PreCommitConfigFileConfig)
func (*PreCommitConfigFileConfig) GetRepoByUrl ¶ added in v0.51.0
func (p *PreCommitConfigFileConfig) GetRepoByUrl(repoUrl string) (repo *PreCommitConfigFileConfigRepo, err error)
func (*PreCommitConfigFileConfig) GetRepos ¶ added in v0.51.0
func (p *PreCommitConfigFileConfig) GetRepos() (repos []PreCommitConfigFileConfigRepo, err error)
func (*PreCommitConfigFileConfig) MustGetRepoByUrl ¶ added in v0.51.0
func (p *PreCommitConfigFileConfig) MustGetRepoByUrl(repoUrl string) (repo *PreCommitConfigFileConfigRepo)
func (*PreCommitConfigFileConfig) MustGetRepos ¶ added in v0.51.0
func (p *PreCommitConfigFileConfig) MustGetRepos() (repos []PreCommitConfigFileConfigRepo)
func (*PreCommitConfigFileConfig) MustSetRepos ¶ added in v0.51.0
func (p *PreCommitConfigFileConfig) MustSetRepos(repos []PreCommitConfigFileConfigRepo)
func (*PreCommitConfigFileConfig) MustSetRepositoryVersion ¶ added in v0.51.0
func (p *PreCommitConfigFileConfig) MustSetRepositoryVersion(repoUrl string, newVersion string)
func (*PreCommitConfigFileConfig) SetRepos ¶ added in v0.51.0
func (p *PreCommitConfigFileConfig) SetRepos(repos []PreCommitConfigFileConfigRepo) (err error)
func (*PreCommitConfigFileConfig) SetRepositoryVersion ¶ added in v0.51.0
func (p *PreCommitConfigFileConfig) SetRepositoryVersion(repoUrl string, newVersion string) (err error)
type PreCommitConfigFileConfigRepo ¶ added in v0.51.0
type PreCommitConfigFileConfigRepo struct { Repo string `yaml:"repo"` Rev string `yaml:"rev"` Hooks []PreCommitConfigFileConfigRepoHook `yaml:"hooks"` }
func NewPreCommitConfigFileConfigRepo ¶ added in v0.51.0
func NewPreCommitConfigFileConfigRepo() (p *PreCommitConfigFileConfigRepo)
func (*PreCommitConfigFileConfigRepo) GetHooks ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) GetHooks() (hooks []PreCommitConfigFileConfigRepoHook, err error)
func (*PreCommitConfigFileConfigRepo) GetRepo ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) GetRepo() (repo string, err error)
func (*PreCommitConfigFileConfigRepo) GetRev ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) GetRev() (rev string, err error)
func (*PreCommitConfigFileConfigRepo) MustGetHooks ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) MustGetHooks() (hooks []PreCommitConfigFileConfigRepoHook)
func (*PreCommitConfigFileConfigRepo) MustGetRepo ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) MustGetRepo() (repo string)
func (*PreCommitConfigFileConfigRepo) MustGetRev ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) MustGetRev() (rev string)
func (*PreCommitConfigFileConfigRepo) MustSetHooks ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) MustSetHooks(hooks []PreCommitConfigFileConfigRepoHook)
func (*PreCommitConfigFileConfigRepo) MustSetRepo ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) MustSetRepo(repo string)
func (*PreCommitConfigFileConfigRepo) MustSetRev ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) MustSetRev(rev string)
func (*PreCommitConfigFileConfigRepo) SetHooks ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) SetHooks(hooks []PreCommitConfigFileConfigRepoHook) (err error)
func (*PreCommitConfigFileConfigRepo) SetRepo ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) SetRepo(repo string) (err error)
func (*PreCommitConfigFileConfigRepo) SetRev ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepo) SetRev(rev string) (err error)
type PreCommitConfigFileConfigRepoHook ¶ added in v0.51.0
type PreCommitConfigFileConfigRepoHook struct {
ID string `yaml:"id"`
}
func NewPreCommitConfigFileConfigRepoHook ¶ added in v0.51.0
func NewPreCommitConfigFileConfigRepoHook() (p *PreCommitConfigFileConfigRepoHook)
func (*PreCommitConfigFileConfigRepoHook) GetID ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepoHook) GetID() (iD string, err error)
func (*PreCommitConfigFileConfigRepoHook) MustGetID ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepoHook) MustGetID() (iD string)
func (*PreCommitConfigFileConfigRepoHook) MustSetID ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepoHook) MustSetID(iD string)
func (*PreCommitConfigFileConfigRepoHook) SetID ¶ added in v0.51.0
func (p *PreCommitConfigFileConfigRepoHook) SetID(iD string) (err error)
type PreCommitConfigFileContent ¶ added in v0.51.0
type PreCommitConfigFileContent struct {
// contains filtered or unexported fields
}
func NewPreCommitConfigFileContent ¶ added in v0.51.0
func NewPreCommitConfigFileContent() (p *PreCommitConfigFileContent)
func (*PreCommitConfigFileContent) GetAsString ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) GetAsString() (contentString string, err error)
func (*PreCommitConfigFileContent) GetConfig ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) GetConfig() (config *PreCommitConfigFileConfig, err error)
func (*PreCommitConfigFileContent) GetDependencies ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) GetDependencies(verbose bool) (dependencies []Dependency, err error)
func (*PreCommitConfigFileContent) LoadFromString ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) LoadFromString(toLoad string) (err error)
func (*PreCommitConfigFileContent) MustGetAsString ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) MustGetAsString() (contentString string)
func (*PreCommitConfigFileContent) MustGetConfig ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) MustGetConfig() (config *PreCommitConfigFileConfig)
func (*PreCommitConfigFileContent) MustGetDependencies ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) MustGetDependencies(verbose bool) (dependencies []Dependency)
func (*PreCommitConfigFileContent) MustLoadFromString ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) MustLoadFromString(toLoad string)
func (*PreCommitConfigFileContent) MustSetConfig ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) MustSetConfig(config *PreCommitConfigFileConfig)
func (*PreCommitConfigFileContent) MustUpdateDependency ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) MustUpdateDependency(dependency Dependency, authOptions []authenticationoptions.AuthenticationOption, verbose bool) (changeSummary *changesummary.ChangeSummary)
func (*PreCommitConfigFileContent) SetConfig ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) SetConfig(config *PreCommitConfigFileConfig) (err error)
func (*PreCommitConfigFileContent) UpdateDependency ¶ added in v0.51.0
func (p *PreCommitConfigFileContent) UpdateDependency(dependency Dependency, authOptions []authenticationoptions.AuthenticationOption, verbose bool) (changeSummary *changesummary.ChangeSummary, err error)
type PreCommitRunOptions ¶ added in v0.51.0
func NewPreCommitRunOptions ¶ added in v0.51.0
func NewPreCommitRunOptions() (p *PreCommitRunOptions)
func (*PreCommitRunOptions) GetCommitChanges ¶ added in v0.51.0
func (p *PreCommitRunOptions) GetCommitChanges() (commitChanges bool)
func (*PreCommitRunOptions) GetVerbose ¶ added in v0.51.0
func (p *PreCommitRunOptions) GetVerbose() (verbose bool)
func (*PreCommitRunOptions) SetCommitChanges ¶ added in v0.51.0
func (p *PreCommitRunOptions) SetCommitChanges(commitChanges bool)
func (*PreCommitRunOptions) SetVerbose ¶ added in v0.51.0
func (p *PreCommitRunOptions) SetVerbose(verbose bool)
type PreCommitService ¶ added in v0.51.0
type PreCommitService struct{}
func NewPreCommitService ¶ added in v0.51.0
func NewPreCommitService() (p *PreCommitService)
func PreCommit ¶ added in v0.51.0
func PreCommit() (p *PreCommitService)
func (*PreCommitService) GetAsPreCommitConfigFileOrNilIfContentIsInvalid ¶ added in v0.51.0
func (p *PreCommitService) GetAsPreCommitConfigFileOrNilIfContentIsInvalid(file files.File, verbose bool) (preCommitConfigFile *PreCommitConfigFile, err error)
func (*PreCommitService) GetDefaultConfigFileName ¶ added in v0.51.0
func (p *PreCommitService) GetDefaultConfigFileName() (preCommitDefaultName string)
func (*PreCommitService) MustGetAsPreCommitConfigFileOrNilIfContentIsInvalid ¶ added in v0.51.0
func (p *PreCommitService) MustGetAsPreCommitConfigFileOrNilIfContentIsInvalid(file files.File, verbose bool) (preCommitConfigFile *PreCommitConfigFile)
func (*PreCommitService) MustRunInDirectory ¶ added in v0.51.0
func (p *PreCommitService) MustRunInDirectory(directoy files.Directory, options *PreCommitRunOptions)
func (*PreCommitService) MustRunInGitRepository ¶ added in v0.51.0
func (p *PreCommitService) MustRunInGitRepository(gitRepo GitRepository, options *PreCommitRunOptions)
func (*PreCommitService) RunInDirectory ¶ added in v0.51.0
func (p *PreCommitService) RunInDirectory(directoy files.Directory, options *PreCommitRunOptions) (err error)
func (*PreCommitService) RunInGitRepository ¶ added in v0.51.0
func (p *PreCommitService) RunInGitRepository(gitRepo GitRepository, options *PreCommitRunOptions) (err error)
type PrometheusExpositionFormatParserService ¶ added in v0.95.0
type PrometheusExpositionFormatParserService struct{}
func NewPrometheusExpositionFormatParserService ¶ added in v0.95.0
func NewPrometheusExpositionFormatParserService() (p *PrometheusExpositionFormatParserService)
func PrometheusExpositionFormatParser ¶ added in v0.95.0
func PrometheusExpositionFormatParser() (p *PrometheusExpositionFormatParserService)
Can be used to parse Prometheus exposition format as documented here:
func (*PrometheusExpositionFormatParserService) MustParseString ¶ added in v0.95.0
func (p *PrometheusExpositionFormatParserService) MustParseString(toParse string) (parsed *PrometheusParsedMetrics)
func (*PrometheusExpositionFormatParserService) ParseString ¶ added in v0.95.0
func (p *PrometheusExpositionFormatParserService) ParseString(toParse string) (parsed *PrometheusParsedMetrics, err error)
type PrometheusMetric ¶ added in v0.95.0
type PrometheusMetric struct {
// contains filtered or unexported fields
}
func NewPrometheusMetric ¶ added in v0.95.0
func NewPrometheusMetric() (p *PrometheusMetric)
func (*PrometheusMetric) GetHelp ¶ added in v0.95.0
func (p *PrometheusMetric) GetHelp() (help string, err error)
func (*PrometheusMetric) GetName ¶ added in v0.95.0
func (p *PrometheusMetric) GetName() (name string, err error)
func (*PrometheusMetric) GetValue ¶ added in v0.95.0
func (p *PrometheusMetric) GetValue() (value float64, err error)
func (*PrometheusMetric) GetValueAsFloat64 ¶ added in v0.95.0
func (p *PrometheusMetric) GetValueAsFloat64() (value float64, err error)
func (*PrometheusMetric) MustGetHelp ¶ added in v0.95.0
func (p *PrometheusMetric) MustGetHelp() (help string)
func (*PrometheusMetric) MustGetName ¶ added in v0.95.0
func (p *PrometheusMetric) MustGetName() (name string)
func (*PrometheusMetric) MustGetValue ¶ added in v0.95.0
func (p *PrometheusMetric) MustGetValue() (value float64)
func (*PrometheusMetric) MustGetValueAsFloat64 ¶ added in v0.95.0
func (p *PrometheusMetric) MustGetValueAsFloat64() (value float64)
func (*PrometheusMetric) MustSetHelp ¶ added in v0.95.0
func (p *PrometheusMetric) MustSetHelp(help string)
func (*PrometheusMetric) MustSetName ¶ added in v0.95.0
func (p *PrometheusMetric) MustSetName(name string)
func (*PrometheusMetric) MustSetValue ¶ added in v0.95.0
func (p *PrometheusMetric) MustSetValue(value float64)
func (*PrometheusMetric) MustSetValueByFloat64 ¶ added in v0.95.0
func (p *PrometheusMetric) MustSetValueByFloat64(value float64)
func (*PrometheusMetric) SetHelp ¶ added in v0.95.0
func (p *PrometheusMetric) SetHelp(help string) (err error)
func (*PrometheusMetric) SetName ¶ added in v0.95.0
func (p *PrometheusMetric) SetName(name string) (err error)
func (*PrometheusMetric) SetValue ¶ added in v0.95.0
func (p *PrometheusMetric) SetValue(value float64) (err error)
func (*PrometheusMetric) SetValueByFloat64 ¶ added in v0.95.0
func (p *PrometheusMetric) SetValueByFloat64(value float64) (err error)
type PrometheusMetricFamily ¶ added in v0.95.0
type PrometheusMetricFamily struct {
// contains filtered or unexported fields
}
func GetPrometheusMetricFamilyFromNativeMetricFamily ¶ added in v0.95.0
func GetPrometheusMetricFamilyFromNativeMetricFamily(metricFamily *dto.MetricFamily) (p *PrometheusMetricFamily, err error)
func MustGetPrometheusMetricFamilyFromNativeMetricFamily ¶ added in v0.95.0
func MustGetPrometheusMetricFamilyFromNativeMetricFamily(metricFamily *dto.MetricFamily) (p *PrometheusMetricFamily)
func NewPrometheusMetricFamily ¶ added in v0.95.0
func NewPrometheusMetricFamily() (p *PrometheusMetricFamily)
func (*PrometheusMetricFamily) AddMetric ¶ added in v0.95.0
func (p *PrometheusMetricFamily) AddMetric(toAdd *PrometheusMetric) (err error)
func (*PrometheusMetricFamily) GetHelp ¶ added in v0.95.0
func (p *PrometheusMetricFamily) GetHelp() (help string, err error)
func (*PrometheusMetricFamily) GetMetrics ¶ added in v0.95.0
func (p *PrometheusMetricFamily) GetMetrics() (metrics []*PrometheusMetric, err error)
func (*PrometheusMetricFamily) GetName ¶ added in v0.95.0
func (p *PrometheusMetricFamily) GetName() (name string, err error)
func (*PrometheusMetricFamily) GetValueAsFloat64 ¶ added in v0.95.0
func (p *PrometheusMetricFamily) GetValueAsFloat64() (value float64, err error)
func (*PrometheusMetricFamily) MustAddMetric ¶ added in v0.95.0
func (p *PrometheusMetricFamily) MustAddMetric(toAdd *PrometheusMetric)
func (*PrometheusMetricFamily) MustGetHelp ¶ added in v0.95.0
func (p *PrometheusMetricFamily) MustGetHelp() (help string)
func (*PrometheusMetricFamily) MustGetMetrics ¶ added in v0.95.0
func (p *PrometheusMetricFamily) MustGetMetrics() (metrics []*PrometheusMetric)
func (*PrometheusMetricFamily) MustGetName ¶ added in v0.95.0
func (p *PrometheusMetricFamily) MustGetName() (name string)
func (*PrometheusMetricFamily) MustGetValueAsFloat64 ¶ added in v0.95.0
func (p *PrometheusMetricFamily) MustGetValueAsFloat64() (value float64)
func (*PrometheusMetricFamily) MustSetHelp ¶ added in v0.95.0
func (p *PrometheusMetricFamily) MustSetHelp(help string)
func (*PrometheusMetricFamily) MustSetMetrics ¶ added in v0.95.0
func (p *PrometheusMetricFamily) MustSetMetrics(metrics []*PrometheusMetric)
func (*PrometheusMetricFamily) MustSetName ¶ added in v0.95.0
func (p *PrometheusMetricFamily) MustSetName(name string)
func (*PrometheusMetricFamily) SetHelp ¶ added in v0.95.0
func (p *PrometheusMetricFamily) SetHelp(help string) (err error)
func (*PrometheusMetricFamily) SetMetrics ¶ added in v0.95.0
func (p *PrometheusMetricFamily) SetMetrics(metrics []*PrometheusMetric) (err error)
func (*PrometheusMetricFamily) SetName ¶ added in v0.95.0
func (p *PrometheusMetricFamily) SetName(name string) (err error)
type PrometheusParsedMetrics ¶ added in v0.95.0
type PrometheusParsedMetrics struct {
// contains filtered or unexported fields
}
func NewPrometheusParsedMetrics ¶ added in v0.95.0
func NewPrometheusParsedMetrics() (p *PrometheusParsedMetrics)
func (*PrometheusParsedMetrics) GetMetricValueAsFloat64 ¶ added in v0.95.0
func (p *PrometheusParsedMetrics) GetMetricValueAsFloat64(metricName string) (metricValue float64, err error)
Get the value of the metric 'metricName' as float64. If the metric is not unique (e.g. a Vector with more than one value) this function will return an error.
func (*PrometheusParsedMetrics) GetNativeMetricFamilies ¶ added in v0.95.0
func (p *PrometheusParsedMetrics) GetNativeMetricFamilies() (nativeMetricFamilies map[string]*dto.MetricFamily, err error)
func (*PrometheusParsedMetrics) MustGetMetricValueAsFloat64 ¶ added in v0.95.0
func (p *PrometheusParsedMetrics) MustGetMetricValueAsFloat64(metricName string) (metricValue float64)
func (*PrometheusParsedMetrics) MustGetNativeMetricFamilies ¶ added in v0.95.0
func (p *PrometheusParsedMetrics) MustGetNativeMetricFamilies() (nativeMetricFamilies map[string]*dto.MetricFamily)
func (*PrometheusParsedMetrics) MustSetNativeMetricFamilies ¶ added in v0.95.0
func (p *PrometheusParsedMetrics) MustSetNativeMetricFamilies(nativeMetricFamilies map[string]*dto.MetricFamily)
func (*PrometheusParsedMetrics) SetNativeMetricFamilies ¶ added in v0.95.0
func (p *PrometheusParsedMetrics) SetNativeMetricFamilies(nativeMetricFamilies map[string]*dto.MetricFamily) (err error)
type SSHClient ¶ added in v0.31.0
type SSHClient struct { commandexecutor.CommandExecutorBase // contains filtered or unexported fields }
func GetSshClientByHostName ¶ added in v0.191.0
func MustGetSshClientByHostName ¶ added in v0.191.0
func NewSSHClient ¶ added in v0.31.0
func NewSSHClient() (s *SSHClient)
func (*SSHClient) CheckReachable ¶ added in v0.31.0
func (*SSHClient) GetDeepCopy ¶ added in v0.191.0
func (s *SSHClient) GetDeepCopy() (copy commandexecutor.CommandExecutor)
func (*SSHClient) GetHostDescription ¶ added in v0.191.0
func (*SSHClient) GetHostName ¶ added in v0.31.0
func (*SSHClient) GetSshUserName ¶ added in v0.31.0
func (*SSHClient) IsReachable ¶ added in v0.31.0
func (*SSHClient) IsSshUserNameSet ¶ added in v0.31.0
func (*SSHClient) MustCheckReachable ¶ added in v0.31.0
func (*SSHClient) MustGetHostDescription ¶ added in v0.191.0
func (*SSHClient) MustGetHostName ¶ added in v0.31.0
func (*SSHClient) MustGetSshUserName ¶ added in v0.31.0
func (*SSHClient) MustIsReachable ¶ added in v0.31.0
func (*SSHClient) MustRunCommand ¶ added in v0.31.0
func (s *SSHClient) MustRunCommand(options *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput)
func (*SSHClient) MustSetHostName ¶ added in v0.191.0
func (*SSHClient) MustSetSshUserName ¶ added in v0.31.0
func (*SSHClient) RunCommand ¶ added in v0.31.0
func (s *SSHClient) RunCommand(options *parameteroptions.RunCommandOptions) (commandOutput *commandexecutor.CommandOutput, err error)
func (*SSHClient) SetHostName ¶ added in v0.191.0
func (*SSHClient) SetSshUserName ¶ added in v0.31.0
type SSHPublicKey ¶ added in v0.31.0
type SSHPublicKey struct {
// contains filtered or unexported fields
}
func NewSSHPublicKey ¶ added in v0.31.0
func NewSSHPublicKey() (sshPublicKey *SSHPublicKey)
func (*SSHPublicKey) Equals ¶ added in v0.31.0
func (k *SSHPublicKey) Equals(other *SSHPublicKey) (isEqual bool)
func (*SSHPublicKey) GetAsPublicKeyLine ¶ added in v0.31.0
func (k *SSHPublicKey) GetAsPublicKeyLine() (publicKeyLine string, err error)
func (*SSHPublicKey) GetKeyHostName ¶ added in v0.31.0
func (k *SSHPublicKey) GetKeyHostName() (hostName string, err error)
func (*SSHPublicKey) GetKeyMaterial ¶ added in v0.31.0
func (s *SSHPublicKey) GetKeyMaterial() (keyMaterial string, err error)
func (*SSHPublicKey) GetKeyMaterialAsString ¶ added in v0.31.0
func (k *SSHPublicKey) GetKeyMaterialAsString() (keyMaterial string, err error)
func (*SSHPublicKey) GetKeyUserAtHost ¶ added in v0.31.0
func (k *SSHPublicKey) GetKeyUserAtHost() (userAtHost string, err error)
func (*SSHPublicKey) GetKeyUserHost ¶ added in v0.31.0
func (s *SSHPublicKey) GetKeyUserHost() (keyUserHost string, err error)
func (*SSHPublicKey) GetKeyUserName ¶ added in v0.31.0
func (k *SSHPublicKey) GetKeyUserName() (keyUserName string, err error)
func (*SSHPublicKey) LoadFromSshDir ¶ added in v0.31.0
func (k *SSHPublicKey) LoadFromSshDir(sshDirectory files.Directory, verbose bool) (err error)
func (*SSHPublicKey) MustGetAsPublicKeyLine ¶ added in v0.31.0
func (s *SSHPublicKey) MustGetAsPublicKeyLine() (publicKeyLine string)
func (*SSHPublicKey) MustGetKeyHostName ¶ added in v0.31.0
func (k *SSHPublicKey) MustGetKeyHostName() (hostName string)
func (*SSHPublicKey) MustGetKeyMaterial ¶ added in v0.31.0
func (s *SSHPublicKey) MustGetKeyMaterial() (keyMaterial string)
func (*SSHPublicKey) MustGetKeyMaterialAsString ¶ added in v0.31.0
func (k *SSHPublicKey) MustGetKeyMaterialAsString() (keyMaterial string)
func (*SSHPublicKey) MustGetKeyUserAtHost ¶ added in v0.31.0
func (s *SSHPublicKey) MustGetKeyUserAtHost() (userAtHost string)
func (*SSHPublicKey) MustGetKeyUserHost ¶ added in v0.31.0
func (s *SSHPublicKey) MustGetKeyUserHost() (keyUserHost string)
func (*SSHPublicKey) MustGetKeyUserName ¶ added in v0.31.0
func (k *SSHPublicKey) MustGetKeyUserName() (keyUserName string)
func (*SSHPublicKey) MustLoadFromSshDir ¶ added in v0.31.0
func (s *SSHPublicKey) MustLoadFromSshDir(sshDirectory files.Directory, verbose bool)
func (*SSHPublicKey) MustSetFromString ¶ added in v0.31.0
func (k *SSHPublicKey) MustSetFromString(keyMaterial string)
func (*SSHPublicKey) MustSetKeyMaterial ¶ added in v0.31.0
func (s *SSHPublicKey) MustSetKeyMaterial(keyMaterial string)
func (*SSHPublicKey) MustSetKeyUserHost ¶ added in v0.31.0
func (s *SSHPublicKey) MustSetKeyUserHost(keyUserHost string)
func (*SSHPublicKey) MustSetKeyUserName ¶ added in v0.31.0
func (s *SSHPublicKey) MustSetKeyUserName(keyUserName string)
func (*SSHPublicKey) MustWriteToFile ¶ added in v0.31.0
func (s *SSHPublicKey) MustWriteToFile(outputFile files.File, verbose bool)
func (*SSHPublicKey) SetFromString ¶ added in v0.31.0
func (k *SSHPublicKey) SetFromString(keyMaterial string) (err error)
func (*SSHPublicKey) SetKeyMaterial ¶ added in v0.31.0
func (s *SSHPublicKey) SetKeyMaterial(keyMaterial string) (err error)
func (*SSHPublicKey) SetKeyUserHost ¶ added in v0.31.0
func (s *SSHPublicKey) SetKeyUserHost(keyUserHost string) (err error)
func (*SSHPublicKey) SetKeyUserName ¶ added in v0.31.0
func (s *SSHPublicKey) SetKeyUserName(keyUserName string) (err error)
func (*SSHPublicKey) WriteToFile ¶ added in v0.31.0
func (k *SSHPublicKey) WriteToFile(outputFile files.File, verbose bool) (err error)
type SSHPublicKeysService ¶ added in v0.31.0
type SSHPublicKeysService struct{}
func NewSSHPublicKeysService ¶ added in v0.31.0
func NewSSHPublicKeysService() (sshPublicKeys *SSHPublicKeysService)
func SSHPublicKeys ¶ added in v0.31.0
func SSHPublicKeys() (sshPublicKeys *SSHPublicKeysService)
func (*SSHPublicKeysService) LoadKeysFromFile ¶ added in v0.31.0
func (s *SSHPublicKeysService) LoadKeysFromFile(sshKeysFile files.File, verbose bool) (sshKeys []*SSHPublicKey, err error)
func (*SSHPublicKeysService) MustLoadKeysFromFile ¶ added in v0.31.0
func (s *SSHPublicKeysService) MustLoadKeysFromFile(sshKeysFile files.File, verbose bool) (sshKeys []*SSHPublicKey)
type SpreadSheet ¶ added in v0.14.0
type SpreadSheet struct { TitleRow *SpreadSheetRow // contains filtered or unexported fields }
func GetSpreadsheetWithNColumns ¶ added in v0.14.0
func GetSpreadsheetWithNColumns(nColumns int) (s *SpreadSheet, err error)
func MustGetSpreadsheetWithNColumns ¶ added in v0.14.0
func MustGetSpreadsheetWithNColumns(nColumns int) (s *SpreadSheet)
func NewSpreadSheet ¶ added in v0.14.0
func NewSpreadSheet() (s *SpreadSheet)
func (*SpreadSheet) AddRow ¶ added in v0.14.0
func (s *SpreadSheet) AddRow(rowEntries []string) (err error)
func (*SpreadSheet) GetCellValueAsString ¶ added in v0.14.0
func (s *SpreadSheet) GetCellValueAsString(rowIndex int, columnIndex int) (cellValue string, err error)
func (*SpreadSheet) GetColumnIndexByName ¶ added in v0.14.0
func (s *SpreadSheet) GetColumnIndexByName(columnName string) (columnIndex int, err error)
func (*SpreadSheet) GetColumnTitleAtIndexAsString ¶ added in v0.14.0
func (s *SpreadSheet) GetColumnTitleAtIndexAsString(index int) (title string, err error)
func (*SpreadSheet) GetColumnTitlesAsStringSlice ¶ added in v0.14.0
func (s *SpreadSheet) GetColumnTitlesAsStringSlice() (titles []string, err error)
func (*SpreadSheet) GetMaxColumnWidths ¶ added in v0.14.0
func (s *SpreadSheet) GetMaxColumnWidths() (columnWitdhs []int, err error)
func (*SpreadSheet) GetMinColumnWithsAsSelectedInOptions ¶ added in v0.14.0
func (s *SpreadSheet) GetMinColumnWithsAsSelectedInOptions(options *SpreadSheetRenderOptions) (columnWidths []int, err error)
func (*SpreadSheet) GetNumberOfColumns ¶ added in v0.14.0
func (s *SpreadSheet) GetNumberOfColumns() (nColumns int, err error)
func (*SpreadSheet) GetNumberOfRows ¶ added in v0.14.0
func (s *SpreadSheet) GetNumberOfRows() (nRows int, err error)
func (*SpreadSheet) GetRowByIndex ¶ added in v0.14.0
func (s *SpreadSheet) GetRowByIndex(rowIndex int) (row *SpreadSheetRow, err error)
func (*SpreadSheet) GetRows ¶ added in v0.14.0
func (s *SpreadSheet) GetRows() (rows []*SpreadSheetRow, err error)
func (*SpreadSheet) GetTitleRow ¶ added in v0.14.0
func (s *SpreadSheet) GetTitleRow() (TitleRow *SpreadSheetRow, err error)
func (*SpreadSheet) MustAddRow ¶ added in v0.14.0
func (s *SpreadSheet) MustAddRow(rowEntries []string)
func (*SpreadSheet) MustGetCellValueAsString ¶ added in v0.14.0
func (s *SpreadSheet) MustGetCellValueAsString(rowIndex int, columnIndex int) (cellValue string)
func (*SpreadSheet) MustGetColumnIndexByName ¶ added in v0.14.0
func (s *SpreadSheet) MustGetColumnIndexByName(columnName string) (columnIndex int)
func (*SpreadSheet) MustGetColumnTitleAtIndexAsString ¶ added in v0.14.0
func (s *SpreadSheet) MustGetColumnTitleAtIndexAsString(index int) (title string)
func (*SpreadSheet) MustGetColumnTitlesAsStringSlice ¶ added in v0.14.0
func (s *SpreadSheet) MustGetColumnTitlesAsStringSlice() (titles []string)
func (*SpreadSheet) MustGetMaxColumnWidths ¶ added in v0.14.0
func (s *SpreadSheet) MustGetMaxColumnWidths() (columnWitdhs []int)
func (*SpreadSheet) MustGetMinColumnWithsAsSelectedInOptions ¶ added in v0.14.0
func (s *SpreadSheet) MustGetMinColumnWithsAsSelectedInOptions(options *SpreadSheetRenderOptions) (columnWidths []int)
func (*SpreadSheet) MustGetNumberOfColumns ¶ added in v0.14.0
func (s *SpreadSheet) MustGetNumberOfColumns() (nColumns int)
func (*SpreadSheet) MustGetNumberOfRows ¶ added in v0.14.0
func (s *SpreadSheet) MustGetNumberOfRows() (nRows int)
func (*SpreadSheet) MustGetRowByIndex ¶ added in v0.14.0
func (s *SpreadSheet) MustGetRowByIndex(rowIndex int) (row *SpreadSheetRow)
func (*SpreadSheet) MustGetRows ¶ added in v0.14.0
func (s *SpreadSheet) MustGetRows() (rows []*SpreadSheetRow)
func (*SpreadSheet) MustGetTitleRow ¶ added in v0.14.0
func (s *SpreadSheet) MustGetTitleRow() (TitleRow *SpreadSheetRow)
func (*SpreadSheet) MustPrintAsString ¶ added in v0.14.0
func (s *SpreadSheet) MustPrintAsString(options *SpreadSheetRenderOptions)
func (*SpreadSheet) MustRemoveColumnByIndex ¶ added in v0.14.0
func (s *SpreadSheet) MustRemoveColumnByIndex(columnIndex int)
func (*SpreadSheet) MustRemoveColumnByName ¶ added in v0.14.0
func (s *SpreadSheet) MustRemoveColumnByName(columnName string)
func (*SpreadSheet) MustRenderAsString ¶ added in v0.14.0
func (s *SpreadSheet) MustRenderAsString(options *SpreadSheetRenderOptions) (rendered string)
func (*SpreadSheet) MustRenderTitleRowAsString ¶ added in v0.14.0
func (s *SpreadSheet) MustRenderTitleRowAsString(options *SpreadSheetRenderRowOptions) (rendered string)
func (*SpreadSheet) MustRenderToStdout ¶ added in v0.14.5
func (s *SpreadSheet) MustRenderToStdout(options *SpreadSheetRenderOptions)
func (*SpreadSheet) MustSetColumnTitles ¶ added in v0.14.0
func (s *SpreadSheet) MustSetColumnTitles(titles []string)
func (*SpreadSheet) MustSetRows ¶ added in v0.14.0
func (s *SpreadSheet) MustSetRows(rows []*SpreadSheetRow)
func (*SpreadSheet) MustSetTitleRow ¶ added in v0.14.0
func (s *SpreadSheet) MustSetTitleRow(TitleRow *SpreadSheetRow)
func (*SpreadSheet) MustSortByColumnByName ¶ added in v0.14.0
func (s *SpreadSheet) MustSortByColumnByName(columnName string)
func (*SpreadSheet) PrintAsString ¶ added in v0.14.0
func (s *SpreadSheet) PrintAsString(options *SpreadSheetRenderOptions) (err error)
func (*SpreadSheet) RemoveColumnByIndex ¶ added in v0.14.0
func (s *SpreadSheet) RemoveColumnByIndex(columnIndex int) (err error)
func (*SpreadSheet) RemoveColumnByName ¶ added in v0.14.0
func (s *SpreadSheet) RemoveColumnByName(columnName string) (err error)
func (*SpreadSheet) RenderAsString ¶ added in v0.14.0
func (s *SpreadSheet) RenderAsString(options *SpreadSheetRenderOptions) (rendered string, err error)
func (*SpreadSheet) RenderTitleRowAsString ¶ added in v0.14.0
func (s *SpreadSheet) RenderTitleRowAsString(options *SpreadSheetRenderRowOptions) (rendered string, err error)
func (*SpreadSheet) RenderToStdout ¶ added in v0.14.5
func (s *SpreadSheet) RenderToStdout(options *SpreadSheetRenderOptions) (err error)
func (*SpreadSheet) SetColumnTitles ¶ added in v0.14.0
func (s *SpreadSheet) SetColumnTitles(titles []string) (err error)
func (*SpreadSheet) SetRows ¶ added in v0.14.0
func (s *SpreadSheet) SetRows(rows []*SpreadSheetRow) (err error)
func (*SpreadSheet) SetTitleRow ¶ added in v0.14.0
func (s *SpreadSheet) SetTitleRow(TitleRow *SpreadSheetRow) (err error)
func (*SpreadSheet) SortByColumnByName ¶ added in v0.14.0
func (s *SpreadSheet) SortByColumnByName(columnName string) (err error)
type SpreadSheetRenderOptions ¶ added in v0.14.0
type SpreadSheetRenderOptions struct { SkipTitle bool StringDelimiter string Verbose bool SameColumnWidthForAllRows bool }
func NewSpreadSheetRenderOptions ¶ added in v0.14.0
func NewSpreadSheetRenderOptions() (s *SpreadSheetRenderOptions)
func (*SpreadSheetRenderOptions) GetSameColumnWidthForAllRows ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) GetSameColumnWidthForAllRows() (sameColumnWidthForAllRows bool, err error)
func (*SpreadSheetRenderOptions) GetSkipTitle ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) GetSkipTitle() (skipTitle bool, err error)
func (*SpreadSheetRenderOptions) GetStringDelimiter ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) GetStringDelimiter() (stringDelimiter string, err error)
func (*SpreadSheetRenderOptions) GetVerbose ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) GetVerbose() (verbose bool, err error)
func (*SpreadSheetRenderOptions) MustGetSameColumnWidthForAllRows ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) MustGetSameColumnWidthForAllRows() (sameColumnWidthForAllRows bool)
func (*SpreadSheetRenderOptions) MustGetSkipTitle ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) MustGetSkipTitle() (skipTitle bool)
func (*SpreadSheetRenderOptions) MustGetStringDelimiter ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) MustGetStringDelimiter() (stringDelimiter string)
func (*SpreadSheetRenderOptions) MustGetVerbose ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) MustGetVerbose() (verbose bool)
func (*SpreadSheetRenderOptions) MustSetSameColumnWidthForAllRows ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) MustSetSameColumnWidthForAllRows(sameColumnWidthForAllRows bool)
func (*SpreadSheetRenderOptions) MustSetSkipTitle ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) MustSetSkipTitle(skipTitle bool)
func (*SpreadSheetRenderOptions) MustSetStringDelimiter ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) MustSetStringDelimiter(stringDelimiter string)
func (*SpreadSheetRenderOptions) MustSetVerbose ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) MustSetVerbose(verbose bool)
func (*SpreadSheetRenderOptions) SetSameColumnWidthForAllRows ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) SetSameColumnWidthForAllRows(sameColumnWidthForAllRows bool) (err error)
func (*SpreadSheetRenderOptions) SetSkipTitle ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) SetSkipTitle(skipTitle bool) (err error)
func (*SpreadSheetRenderOptions) SetStringDelimiter ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) SetStringDelimiter(stringDelimiter string) (err error)
func (*SpreadSheetRenderOptions) SetVerbose ¶ added in v0.14.0
func (s *SpreadSheetRenderOptions) SetVerbose(verbose bool) (err error)
type SpreadSheetRenderRowOptions ¶ added in v0.14.0
type SpreadSheetRenderRowOptions struct { MinColumnWidths []int StringDelimiter string Verbose bool }
func NewSpreadSheetRenderRowOptions ¶ added in v0.14.0
func NewSpreadSheetRenderRowOptions() (s *SpreadSheetRenderRowOptions)
func (*SpreadSheetRenderRowOptions) GetMinColumnWidths ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) GetMinColumnWidths() (minColumnWidths []int, err error)
func (*SpreadSheetRenderRowOptions) GetStringDelimiter ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) GetStringDelimiter() (stringDelimiter string, err error)
func (*SpreadSheetRenderRowOptions) GetVerbose ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) GetVerbose() (verbose bool, err error)
func (*SpreadSheetRenderRowOptions) IsMinColumnWidthsSet ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) IsMinColumnWidthsSet() (isSet bool)
func (*SpreadSheetRenderRowOptions) IsStringDelimiterSet ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) IsStringDelimiterSet() (isSet bool)
func (*SpreadSheetRenderRowOptions) MustGetMinColumnWidths ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) MustGetMinColumnWidths() (minColumnWidths []int)
func (*SpreadSheetRenderRowOptions) MustGetStringDelimiter ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) MustGetStringDelimiter() (stringDelimiter string)
func (*SpreadSheetRenderRowOptions) MustGetVerbose ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) MustGetVerbose() (verbose bool)
func (*SpreadSheetRenderRowOptions) MustSetMinColumnWidths ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) MustSetMinColumnWidths(minColumnWidths []int)
func (*SpreadSheetRenderRowOptions) MustSetStringDelimiter ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) MustSetStringDelimiter(stringDelimiter string)
func (*SpreadSheetRenderRowOptions) MustSetVerbose ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) MustSetVerbose(verbose bool)
func (*SpreadSheetRenderRowOptions) SetMinColumnWidths ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) SetMinColumnWidths(minColumnWidths []int) (err error)
func (*SpreadSheetRenderRowOptions) SetStringDelimiter ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) SetStringDelimiter(stringDelimiter string) (err error)
func (*SpreadSheetRenderRowOptions) SetVerbose ¶ added in v0.14.0
func (s *SpreadSheetRenderRowOptions) SetVerbose(verbose bool) (err error)
type SpreadSheetRow ¶ added in v0.14.0
type SpreadSheetRow struct {
// contains filtered or unexported fields
}
func NewSpreadSheetRow ¶ added in v0.14.0
func NewSpreadSheetRow() (s *SpreadSheetRow)
func (*SpreadSheetRow) GetColumnValueAsString ¶ added in v0.14.0
func (s *SpreadSheetRow) GetColumnValueAsString(columnIndex int) (columnValue string, err error)
func (*SpreadSheetRow) GetColumnWidths ¶ added in v0.14.0
func (s *SpreadSheetRow) GetColumnWidths() (columnWidths []int, err error)
func (*SpreadSheetRow) GetEntries ¶ added in v0.14.0
func (s *SpreadSheetRow) GetEntries() (entries []string, err error)
func (*SpreadSheetRow) GetNumberOfEntries ¶ added in v0.14.0
func (s *SpreadSheetRow) GetNumberOfEntries() (nEntries int, err error)
func (*SpreadSheetRow) MustGetColumnValueAsString ¶ added in v0.14.0
func (s *SpreadSheetRow) MustGetColumnValueAsString(columnIndex int) (columnValue string)
func (*SpreadSheetRow) MustGetColumnWidths ¶ added in v0.14.0
func (s *SpreadSheetRow) MustGetColumnWidths() (columnWidths []int)
func (*SpreadSheetRow) MustGetEntries ¶ added in v0.14.0
func (s *SpreadSheetRow) MustGetEntries() (entries []string)
func (*SpreadSheetRow) MustGetNumberOfEntries ¶ added in v0.14.0
func (s *SpreadSheetRow) MustGetNumberOfEntries() (nEntries int)
func (*SpreadSheetRow) MustRemoveElementAtIndex ¶ added in v0.14.0
func (s *SpreadSheetRow) MustRemoveElementAtIndex(index int)
func (*SpreadSheetRow) MustRenderAsString ¶ added in v0.14.0
func (s *SpreadSheetRow) MustRenderAsString(options *SpreadSheetRenderRowOptions) (rendered string)
func (*SpreadSheetRow) MustSetEntries ¶ added in v0.14.0
func (s *SpreadSheetRow) MustSetEntries(entries []string)
func (*SpreadSheetRow) RemoveElementAtIndex ¶ added in v0.14.0
func (s *SpreadSheetRow) RemoveElementAtIndex(index int) (err error)
func (*SpreadSheetRow) RenderAsString ¶ added in v0.14.0
func (s *SpreadSheetRow) RenderAsString(options *SpreadSheetRenderRowOptions) (rendered string, err error)
func (*SpreadSheetRow) SetEntries ¶ added in v0.14.0
func (s *SpreadSheetRow) SetEntries(entries []string) (err error)
type TarArchivesService ¶ added in v0.98.0
type TarArchivesService struct { }
func NewTarArchivesService ¶ added in v0.98.0
func NewTarArchivesService() (t *TarArchivesService)
func TarArchives ¶ added in v0.98.0
func TarArchives() (t *TarArchivesService)
func (*TarArchivesService) AddFileFromFileContentBytesToTarArchiveBytes ¶ added in v0.99.0
func (*TarArchivesService) AddFileFromFileContentStringToTarArchiveBytes ¶ added in v0.99.0
func (*TarArchivesService) CreateTarArchiveFromFileContentByteIntoWriter ¶ added in v0.98.0
func (*TarArchivesService) CreateTarArchiveFromFileContentStringAndGetAsBytes ¶ added in v0.98.0
func (t *TarArchivesService) CreateTarArchiveFromFileContentStringAndGetAsBytes(fileName string, content string) (tarBytes []byte, err error)
func (*TarArchivesService) CreateTarArchiveFromFileContentStringIntoWriter ¶ added in v0.98.0
func (*TarArchivesService) ListFileNamesFromTarArchiveBytes ¶ added in v0.108.0
func (t *TarArchivesService) ListFileNamesFromTarArchiveBytes(archiveBytes []byte) (fileNames []string, err error)
func (*TarArchivesService) MustAddFileFromFileContentBytesToTarArchiveBytes ¶ added in v0.99.0
func (t *TarArchivesService) MustAddFileFromFileContentBytesToTarArchiveBytes(archiveToExtend []byte, fileName string, content []byte) (tarBytes []byte)
func (*TarArchivesService) MustAddFileFromFileContentStringToTarArchiveBytes ¶ added in v0.99.0
func (t *TarArchivesService) MustAddFileFromFileContentStringToTarArchiveBytes(archiveToExtend []byte, fileName string, content string) (tarBytes []byte)
func (*TarArchivesService) MustCreateTarArchiveFromFileContentByteIntoWriter ¶ added in v0.98.0
func (t *TarArchivesService) MustCreateTarArchiveFromFileContentByteIntoWriter(fileName string, content []byte, ioWriter io.Writer)
func (*TarArchivesService) MustCreateTarArchiveFromFileContentStringAndGetAsBytes ¶ added in v0.98.0
func (t *TarArchivesService) MustCreateTarArchiveFromFileContentStringAndGetAsBytes(fileName string, content string) (tarBytes []byte)
func (*TarArchivesService) MustCreateTarArchiveFromFileContentStringIntoWriter ¶ added in v0.98.0
func (t *TarArchivesService) MustCreateTarArchiveFromFileContentStringIntoWriter(fileName string, content string, ioWriter io.Writer)
func (*TarArchivesService) MustListFileNamesFromTarArchiveBytes ¶ added in v0.108.0
func (t *TarArchivesService) MustListFileNamesFromTarArchiveBytes(archiveBytes []byte) (fileNames []string)
func (*TarArchivesService) MustReadFileFromTarArchiveBytesAsBytes ¶ added in v0.98.0
func (t *TarArchivesService) MustReadFileFromTarArchiveBytesAsBytes(archiveBytes []byte, fileNameToRead string) (content []byte)
func (*TarArchivesService) MustReadFileFromTarArchiveBytesAsString ¶ added in v0.98.0
func (t *TarArchivesService) MustReadFileFromTarArchiveBytesAsString(archiveBytes []byte, fileNameToRead string) (content string)
func (*TarArchivesService) MustWriteFileContentBytesIntoWriter ¶ added in v0.99.0
func (t *TarArchivesService) MustWriteFileContentBytesIntoWriter(ioWriter io.Writer, fileName string, content []byte)
func (*TarArchivesService) ReadFileFromTarArchiveBytesAsBytes ¶ added in v0.98.0
func (t *TarArchivesService) ReadFileFromTarArchiveBytesAsBytes(archiveBytes []byte, fileNameToRead string) (content []byte, err error)
func (*TarArchivesService) ReadFileFromTarArchiveBytesAsString ¶ added in v0.98.0
func (t *TarArchivesService) ReadFileFromTarArchiveBytesAsString(archiveBytes []byte, fileNameToRead string) (content string, err error)
func (*TarArchivesService) WriteFileContentBytesIntoWriter ¶ added in v0.99.0
type TcpPortsService ¶ added in v0.8.0
type TcpPortsService struct{}
func NewTcpPortsService ¶ added in v0.8.0
func NewTcpPortsService() (t *TcpPortsService)
func TcpPorts ¶ added in v0.8.0
func TcpPorts() (t *TcpPortsService)
func (*TcpPortsService) IsPortOpen ¶ added in v0.8.0
func (t *TcpPortsService) IsPortOpen(hostnameOrIp string, port int, verbose bool) (isOpen bool, err error)
Check if a TCP port on the given hostnameOrIp with given portNumber is open. The evaluation is done by opening a TCP socket and close it again.
func (*TcpPortsService) MustIsPortOpen ¶ added in v0.8.0
func (t *TcpPortsService) MustIsPortOpen(hostnameOrIp string, port int, verbose bool) (isOpen bool)
type TemporaryGitRepositoriesService ¶ added in v0.90.0
type TemporaryGitRepositoriesService struct { }
func NewTemporaryGitRepositoriesService ¶ added in v0.90.0
func NewTemporaryGitRepositoriesService() (temporaryGitRepositories *TemporaryGitRepositoriesService)
func TemporaryGitRepositories ¶ added in v0.90.0
func TemporaryGitRepositories() (temporaryDirectoriesService *TemporaryGitRepositoriesService)
func (TemporaryGitRepositoriesService) CreateEmptyTemporaryGitRepository ¶ added in v0.213.0
func (t TemporaryGitRepositoriesService) CreateEmptyTemporaryGitRepository(createRepoOptions *parameteroptions.CreateRepositoryOptions) (temporaryGitRepository GitRepository, err error)
func (*TemporaryGitRepositoriesService) CreateTemporaryGitRepository ¶ added in v0.90.0
func (g *TemporaryGitRepositoriesService) CreateTemporaryGitRepository(verbose bool) (temporaryGitRepository GitRepository, err error)
func (*TemporaryGitRepositoriesService) CreateTemporaryGitRepositoryAndAddDataFromDirectory ¶ added in v0.90.0
func (g *TemporaryGitRepositoriesService) CreateTemporaryGitRepositoryAndAddDataFromDirectory(dataToAdd files.Directory, verbose bool) (temporaryRepository GitRepository, err error)
func (TemporaryGitRepositoriesService) MustCreateEmptyTemporaryGitRepository ¶ added in v0.213.0
func (t TemporaryGitRepositoriesService) MustCreateEmptyTemporaryGitRepository(createRepoOptions *parameteroptions.CreateRepositoryOptions) (temporaryGitRepository GitRepository)
func (TemporaryGitRepositoriesService) MustCreateTemporaryGitRepository ¶ added in v0.90.0
func (g TemporaryGitRepositoriesService) MustCreateTemporaryGitRepository(verbose bool) (temporaryGitRepository GitRepository)
func (*TemporaryGitRepositoriesService) MustCreateTemporaryGitRepositoryAndAddDataFromDirectory ¶ added in v0.90.0
func (g *TemporaryGitRepositoriesService) MustCreateTemporaryGitRepositoryAndAddDataFromDirectory(dataToAdd files.Directory, verbose bool) (temporaryRepository GitRepository)
type TicToc ¶ added in v0.2.0
type TicToc struct {
// contains filtered or unexported fields
}
func TicWithoutTitle ¶ added in v0.2.0
func (*TicToc) GetTitleOrDefaultIfUnset ¶ added in v0.2.0
func (*TicToc) MustGetTStart ¶ added in v0.2.0
func (*TicToc) MustGetTitle ¶ added in v0.2.0
func (*TicToc) MustSetTStart ¶ added in v0.2.0
func (*TicToc) MustSetTitle ¶ added in v0.2.0
type UsersService ¶ added in v0.9.0
type UsersService struct { }
func NewUsersService ¶ added in v0.9.0
func NewUsersService() (u *UsersService)
func Users ¶ added in v0.9.0
func Users() (u *UsersService)
func (*UsersService) GetCurrentUserName ¶ added in v0.63.0
func (u *UsersService) GetCurrentUserName(verbose bool) (currentUserName string, err error)
func (*UsersService) GetDirectoryInHomeDirectory ¶ added in v0.19.0
func (u *UsersService) GetDirectoryInHomeDirectory(path ...string) (fileInUnsersHome files.Directory, err error)
func (*UsersService) GetFileInHomeDirectory ¶ added in v0.19.0
func (u *UsersService) GetFileInHomeDirectory(path ...string) (fileInUnsersHome files.File, err error)
func (*UsersService) GetFileInHomeDirectoryAsLocalFile ¶ added in v0.26.0
func (u *UsersService) GetFileInHomeDirectoryAsLocalFile(path ...string) (localFile *files.LocalFile, err error)
func (*UsersService) GetHomeDirectory ¶ added in v0.9.0
func (u *UsersService) GetHomeDirectory() (homeDir files.Directory, err error)
func (*UsersService) GetHomeDirectoryAsString ¶ added in v0.9.0
func (u *UsersService) GetHomeDirectoryAsString() (homeDirPath string, err error)
func (*UsersService) GetNativeUser ¶ added in v0.63.0
func (u *UsersService) GetNativeUser() (nativeUser *user.User, err error)
func (*UsersService) IsRunningAsRoot ¶ added in v0.63.0
func (u *UsersService) IsRunningAsRoot(verbose bool) (isRunningAsRoot bool, err error)
func (*UsersService) MustGetCurrentUserName ¶ added in v0.63.0
func (u *UsersService) MustGetCurrentUserName(verbose bool) (currentUserName string)
func (*UsersService) MustGetDirectoryInHomeDirectory ¶ added in v0.19.0
func (u *UsersService) MustGetDirectoryInHomeDirectory(path ...string) (fileInUnsersHome files.Directory)
func (*UsersService) MustGetFileInHomeDirectory ¶ added in v0.19.0
func (u *UsersService) MustGetFileInHomeDirectory(path ...string) (fileInUnsersHome files.File)
func (*UsersService) MustGetFileInHomeDirectoryAsLocalFile ¶ added in v0.26.0
func (u *UsersService) MustGetFileInHomeDirectoryAsLocalFile(path ...string) (localFile *files.LocalFile)
func (*UsersService) MustGetHomeDirectory ¶ added in v0.9.0
func (u *UsersService) MustGetHomeDirectory() (homeDir files.Directory)
func (*UsersService) MustGetHomeDirectoryAsString ¶ added in v0.9.0
func (u *UsersService) MustGetHomeDirectoryAsString() (homeDirPath string)
func (*UsersService) MustGetNativeUser ¶ added in v0.63.0
func (u *UsersService) MustGetNativeUser() (nativeUser *user.User)
func (*UsersService) MustIsRunningAsRoot ¶ added in v0.63.0
func (u *UsersService) MustIsRunningAsRoot(verbose bool) (isRunningAsRoot bool)
func (*UsersService) MustWhoAmI ¶ added in v0.63.0
func (u *UsersService) MustWhoAmI(verbose bool) (userName string)
type Version ¶ added in v0.31.0
type Version interface { Equals(other Version) (isEqual bool) IsSemanticVersion() (isSemanticVersion bool) IsNewerThan(other Version) (isNewerThan bool, err error) GetAsString() (version string, err error) GetNextVersion(versionType string) (version Version, err error) MustGetAsString() (version string) MustGetNextVersion(versionType string) (version Version) }
func GetVersionByString ¶ added in v0.31.0
func MustGetVersionByString ¶ added in v0.31.0
type VersionDateVersion ¶ added in v0.31.0
type VersionDateVersion struct {
// contains filtered or unexported fields
}
func NewVersionDateVersion ¶ added in v0.31.0
func NewVersionDateVersion() (v *VersionDateVersion)
func (VersionDateVersion) Equals ¶ added in v0.31.0
func (v VersionDateVersion) Equals(other Version) (isEqual bool)
func (VersionDateVersion) GetAsString ¶ added in v0.31.0
func (v VersionDateVersion) GetAsString() (version string, err error)
func (*VersionDateVersion) GetNextVersion ¶ added in v0.31.0
func (v *VersionDateVersion) GetNextVersion(versionType string) (nextVersion Version, err error)
func (*VersionDateVersion) GetVersion ¶ added in v0.31.0
func (v *VersionDateVersion) GetVersion() (version string, err error)
func (VersionDateVersion) IsNewerThan ¶ added in v0.31.0
func (v VersionDateVersion) IsNewerThan(other Version) (isNewerThan bool, err error)
func (VersionDateVersion) IsSemanticVersion ¶ added in v0.31.0
func (v VersionDateVersion) IsSemanticVersion() (isSemanticVersion bool)
func (VersionDateVersion) MustGetAsString ¶ added in v0.31.0
func (v VersionDateVersion) MustGetAsString() (version string)
func (*VersionDateVersion) MustGetNextVersion ¶ added in v0.31.0
func (v *VersionDateVersion) MustGetNextVersion(versionType string) (nextVersion Version)
func (*VersionDateVersion) MustGetVersion ¶ added in v0.31.0
func (v *VersionDateVersion) MustGetVersion() (version string)
func (*VersionDateVersion) MustIsNewerThan ¶ added in v0.31.0
func (v *VersionDateVersion) MustIsNewerThan(other Version) (isNewerThan bool)
func (*VersionDateVersion) MustSetVersion ¶ added in v0.31.0
func (v *VersionDateVersion) MustSetVersion(version string)
func (*VersionDateVersion) SetVersion ¶ added in v0.31.0
func (v *VersionDateVersion) SetVersion(version string) (err error)
type VersionSemanticVersion ¶ added in v0.31.0
type VersionSemanticVersion struct {
// contains filtered or unexported fields
}
func NewVersionSemanticVersion ¶ added in v0.31.0
func NewVersionSemanticVersion() (v *VersionSemanticVersion)
func (*VersionSemanticVersion) Equals ¶ added in v0.31.0
func (v *VersionSemanticVersion) Equals(other Version) (isEqual bool)
func (*VersionSemanticVersion) GetAsString ¶ added in v0.31.0
func (v *VersionSemanticVersion) GetAsString() (versionString string, err error)
func (*VersionSemanticVersion) GetAsStringWithoutLeadingV ¶ added in v0.31.0
func (v *VersionSemanticVersion) GetAsStringWithoutLeadingV() (versionString string, err error)
func (*VersionSemanticVersion) GetMajor ¶ added in v0.31.0
func (v *VersionSemanticVersion) GetMajor() (major int, err error)
func (*VersionSemanticVersion) GetMajorMinorPatch ¶ added in v0.31.0
func (v *VersionSemanticVersion) GetMajorMinorPatch() (major int, minor int, patch int, err error)
func (*VersionSemanticVersion) GetMinor ¶ added in v0.31.0
func (v *VersionSemanticVersion) GetMinor() (minor int, err error)
func (*VersionSemanticVersion) GetNextVersion ¶ added in v0.31.0
func (v *VersionSemanticVersion) GetNextVersion(versionType string) (nextVersion Version, err error)
func (*VersionSemanticVersion) GetPatch ¶ added in v0.31.0
func (v *VersionSemanticVersion) GetPatch() (patch int, err error)
func (*VersionSemanticVersion) IsNewerThan ¶ added in v0.31.0
func (v *VersionSemanticVersion) IsNewerThan(other Version) (isNewerThan bool, err error)
func (*VersionSemanticVersion) IsSemanticVersion ¶ added in v0.31.0
func (v *VersionSemanticVersion) IsSemanticVersion() (isSemanticVersion bool)
func (*VersionSemanticVersion) MustGetAsString ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustGetAsString() (versionString string)
func (*VersionSemanticVersion) MustGetAsStringWithoutLeadingV ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustGetAsStringWithoutLeadingV() (versionString string)
func (*VersionSemanticVersion) MustGetMajor ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustGetMajor() (major int)
func (*VersionSemanticVersion) MustGetMajorMinorPatch ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustGetMajorMinorPatch() (major int, minor int, patch int)
func (*VersionSemanticVersion) MustGetMinor ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustGetMinor() (minor int)
func (*VersionSemanticVersion) MustGetNextVersion ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustGetNextVersion(versionType string) (nextVersion Version)
func (*VersionSemanticVersion) MustGetPatch ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustGetPatch() (patch int)
func (*VersionSemanticVersion) MustIsNewerThan ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustIsNewerThan(other Version) (isNewerThan bool)
func (*VersionSemanticVersion) MustSet ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustSet(major int, minor int, patch int)
func (*VersionSemanticVersion) MustSetMajor ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustSetMajor(major int)
func (*VersionSemanticVersion) MustSetMajorMinorPatch ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustSetMajorMinorPatch(major int, minor int, patch int)
func (*VersionSemanticVersion) MustSetMinor ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustSetMinor(minor int)
func (*VersionSemanticVersion) MustSetPatch ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustSetPatch(patch int)
func (*VersionSemanticVersion) MustSetVersionByString ¶ added in v0.31.0
func (v *VersionSemanticVersion) MustSetVersionByString(version string)
func (*VersionSemanticVersion) Set ¶ added in v0.31.0
func (v *VersionSemanticVersion) Set(major int, minor int, patch int) (err error)
func (*VersionSemanticVersion) SetMajor ¶ added in v0.31.0
func (v *VersionSemanticVersion) SetMajor(major int) (err error)
func (*VersionSemanticVersion) SetMajorMinorPatch ¶ added in v0.31.0
func (v *VersionSemanticVersion) SetMajorMinorPatch(major int, minor int, patch int) (err error)
func (*VersionSemanticVersion) SetMinor ¶ added in v0.31.0
func (v *VersionSemanticVersion) SetMinor(minor int) (err error)
func (*VersionSemanticVersion) SetPatch ¶ added in v0.31.0
func (v *VersionSemanticVersion) SetPatch(patch int) (err error)
func (*VersionSemanticVersion) SetVersionByString ¶ added in v0.31.0
func (v *VersionSemanticVersion) SetVersionByString(version string) (err error)
type VersionsService ¶ added in v0.31.0
type VersionsService struct { }
func NewVersionsService ¶ added in v0.31.0
func NewVersionsService() (v *VersionsService)
func Versions ¶ added in v0.31.0
func Versions() (v *VersionsService)
func (*VersionsService) CheckDateVersionString ¶ added in v0.31.0
func (v *VersionsService) CheckDateVersionString(versionString string) (isVersionString bool, err error)
func (*VersionsService) GetLatestVersionFromSlice ¶ added in v0.31.0
func (v *VersionsService) GetLatestVersionFromSlice(versions []Version) (latestVersion Version, err error)
func (*VersionsService) GetNewDateVersion ¶ added in v0.31.0
func (v *VersionsService) GetNewDateVersion() (version Version, err error)
func (*VersionsService) GetNewDateVersionString ¶ added in v0.31.0
func (v *VersionsService) GetNewDateVersionString() (versionString string, err error)
func (*VersionsService) GetNewVersionByString ¶ added in v0.31.0
func (v *VersionsService) GetNewVersionByString(versionString string) (version Version, err error)
func (*VersionsService) GetSoftwareVersionEnvVarName ¶ added in v0.31.0
func (v *VersionsService) GetSoftwareVersionEnvVarName() (envVarName string)
func (*VersionsService) GetSoftwareVersionFromEnvVarOrEmptyStringIfUnset ¶ added in v0.31.0
func (v *VersionsService) GetSoftwareVersionFromEnvVarOrEmptyStringIfUnset(verbose bool) (softwareVersion string)
func (*VersionsService) GetVersionStringsFromStringSlice ¶ added in v0.31.0
func (v *VersionsService) GetVersionStringsFromStringSlice(input []string) (versionStrings []string)
func (*VersionsService) GetVersionStringsFromVersionSlice ¶ added in v0.143.0
func (v *VersionsService) GetVersionStringsFromVersionSlice(versions []Version) (versionStrings []string, err error)
func (*VersionsService) GetVersionsFromStringSlice ¶ added in v0.31.0
func (v *VersionsService) GetVersionsFromStringSlice(stringSlice []string) (versions []Version, err error)
func (*VersionsService) IsDateVersionString ¶ added in v0.31.0
func (v *VersionsService) IsDateVersionString(versionString string) (isVersionString bool)
func (*VersionsService) IsSemanticVersionString ¶ added in v0.31.0
func (v *VersionsService) IsSemanticVersionString(versionString string) (isSemanticVersionString bool)
func (*VersionsService) IsVersionString ¶ added in v0.31.0
func (v *VersionsService) IsVersionString(versionString string) (isVersionString bool)
func (*VersionsService) MustCheckDateVersionString ¶ added in v0.31.0
func (v *VersionsService) MustCheckDateVersionString(versionString string) (isVersionString bool)
func (*VersionsService) MustGetLatestVersionFromSlice ¶ added in v0.31.0
func (v *VersionsService) MustGetLatestVersionFromSlice(versions []Version) (latestVersion Version)
func (*VersionsService) MustGetNewDateVersion ¶ added in v0.31.0
func (v *VersionsService) MustGetNewDateVersion() (version Version)
func (*VersionsService) MustGetNewDateVersionString ¶ added in v0.31.0
func (v *VersionsService) MustGetNewDateVersionString() (versionString string)
func (*VersionsService) MustGetNewVersionByString ¶ added in v0.31.0
func (v *VersionsService) MustGetNewVersionByString(versionString string) (version Version)
func (*VersionsService) MustGetVersionStringsFromVersionSlice ¶ added in v0.143.0
func (v *VersionsService) MustGetVersionStringsFromVersionSlice(versions []Version) (versionStrings []string)
func (*VersionsService) MustGetVersionsFromStringSlice ¶ added in v0.31.0
func (v *VersionsService) MustGetVersionsFromStringSlice(stringSlice []string) (versions []Version)
func (*VersionsService) MustReturnNewerVersion ¶ added in v0.143.0
func (v *VersionsService) MustReturnNewerVersion(v1 Version, v2 Version) (newerVersion Version)
func (*VersionsService) MustSortStringSlice ¶ added in v0.143.0
func (v *VersionsService) MustSortStringSlice(versionStrings []string) (sorted []string)
func (*VersionsService) MustSortVersionSlice ¶ added in v0.143.0
func (v *VersionsService) MustSortVersionSlice(versions []Version) (sorted []Version)
func (*VersionsService) ReturnNewerVersion ¶ added in v0.140.0
func (v *VersionsService) ReturnNewerVersion(v1 Version, v2 Version) (newerVersion Version, err error)
func (*VersionsService) SortStringSlice ¶ added in v0.143.0
func (v *VersionsService) SortStringSlice(versionStrings []string) (sorted []string, err error)
func (*VersionsService) SortVersionSlice ¶ added in v0.143.0
func (v *VersionsService) SortVersionSlice(versions []Version) (sorted []Version, err error)
Source Files
¶
- BinaryInfo.go
- CommandExecutorGitRepository.go
- DependenciesSlice.go
- Dependency.go
- DependencyGitRepository.go
- DurationFormatter.go
- FTP.go
- Git.go
- GitCommit.go
- GitCommitOptions.go
- GitConfigSetOptions.go
- GitPullFromRemoteOptions.go
- GitRemoteAddOptions.go
- GitRemoteConfig.go
- GitRepositories.go
- GitRepository.go
- GitRepositoryBase.go
- GitRepositoryCreateTagOptions.go
- GitRepositoryTag.go
- GitTag.go
- GitTagBase.go
- GitignoreFile.go
- Gitlab.go
- GitlabAddRunnerOptions.go
- GitlabAuthenticationOptions.go
- GitlabBranch.go
- GitlabBranches.go
- GitlabCiYamlFile.go
- GitlabCiYamlInclude.go
- GitlabCommit.go
- GitlabCreateAccessTokenOptions.go
- GitlabCreateBranchOptions.go
- GitlabCreateDeployKeyOptions.go
- GitlabCreateGroupOptions.go
- GitlabCreateMergeRequestOptions.go
- GitlabCreatePersonalAccessTokenOptions.go
- GitlabCreateProjectOptions.go
- GitlabCreateReleaseLinkOptions.go
- GitlabCreateReleaseOptions.go
- GitlabCreateTagOptions.go
- GitlabCreateUserOptions.go
- GitlabDeleteBranchOptions.go
- GitlabDeleteProjectOptions.go
- GitlabDeleteReleaseOptions.go
- GitlabGetProjectListOptions.go
- GitlabGetRepositoryFileOptions.go
- GitlabGroup.go
- GitlabGroups.go
- GitlabInstance.go
- GitlabListProjectsOptions.go
- GitlabMergeOptions.go
- GitlabMergeRequest.go
- GitlabPersonalAccessToken.go
- GitlabPersonalAccessTokens.go
- GitlabPersonalProjects.go
- GitlabProject.go
- GitlabProjectCommits.go
- GitlabProjectDeployKey.go
- GitlabProjectDeployKeys.go
- GitlabProjectMergeRequests.go
- GitlabProjects.go
- GitlabReadFileOptions.go
- GitlabRelease.go
- GitlabReleaseLink.go
- GitlabReleaseLinks.go
- GitlabReleases.go
- GitlabRepositoryFile.go
- GitlabRepositoryFiles.go
- GitlabResetAccessTokenOptions.go
- GitlabResetPasswordOptions.go
- GitlabRunner.go
- GitlabRunners.go
- GitlabSettings.go
- GitlabSyncBranchOptions.go
- GitlabTag.go
- GitlabTags.go
- GitlabUser.go
- GitlabUsers.go
- GitlabWriteFileOptions.go
- GnuPG.go
- GnuPGSignOptions.go
- GoogleStorageBucket.go
- Gopass.go
- GopassCredential.go
- LocalCommandExecutorGitRepository.go
- LocalGitRemote.go
- LocalGitRepository.go
- ObjectStoreBucket.go
- Powershell.go
- PreCommit.go
- PreCommitConfigFile.go
- PreCommitConfigFileConfig.go
- PreCommitConfigFileContent.go
- PreCommitRunOptions.go
- PrometheusExpositionFormatParser.go
- PrometheusMetric.go
- PrometheusMetricFamily.go
- PrometheusParsedMetrics.go
- SSHClient.go
- SSHPublicKey.go
- SSHPublicKeys.go
- SpreadSheet.go
- SpreadSheetRenderOptions.go
- SpreadSheetRenderRowOptions.go
- SpreadSheetRow.go
- TarArchives.go
- TcpPorts.go
- TemporaryGitRepositories.go
- TicToc.go
- Users.go
- Version.go
- VersionDateVersion.go
- VersionSemanticVersion.go
- Versions.go