Documentation
¶
Index ¶
- 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) 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)
- type GitConfigSetOptions
- func (g *GitConfigSetOptions) GetEmail() (email string, err error)
- func (g *GitConfigSetOptions) GetName() (name string, err error)
- 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)
- 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) MustGetRemoteName() (remoteName string)
- func (g *GitRemoteAddOptions) MustGetRemoteUrl() (remoteUrl string)
- func (g *GitRemoteAddOptions) MustSetRemoteName(remoteName string)
- func (g *GitRemoteAddOptions) MustSetRemoteUrl(remoteUrl string)
- func (g *GitRemoteAddOptions) SetRemoteName(remoteName string) (err error)
- func (g *GitRemoteAddOptions) SetRemoteUrl(remoteUrl string) (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) IsCommitHashSet() (isSet bool)
- func (g *GitRepositoryCreateTagOptions) IsTagCommentSet() (isSet 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitCommitOptions ¶
type GitCommitOptions struct { // Message of the commit: Message string // Allow empty commit: AllowEmpty bool // Commit all changes, not only the added ones: CommitAllChanges bool }
func NewGitCommitOptions ¶
func NewGitCommitOptions() (g *GitCommitOptions)
func (*GitCommitOptions) GetAllowEmpty ¶
func (g *GitCommitOptions) GetAllowEmpty() (allowEmpty bool)
func (*GitCommitOptions) GetCommitAllChanges ¶
func (g *GitCommitOptions) GetCommitAllChanges() (commitAllChanges bool)
func (*GitCommitOptions) GetDeepCopy ¶
func (g *GitCommitOptions) GetDeepCopy() (deepCopy *GitCommitOptions)
func (*GitCommitOptions) GetMessage ¶
func (g *GitCommitOptions) GetMessage() (message string, err error)
func (*GitCommitOptions) MustGetMessage ¶
func (g *GitCommitOptions) MustGetMessage() (message string)
func (*GitCommitOptions) MustSetMessage ¶
func (g *GitCommitOptions) MustSetMessage(message string)
func (*GitCommitOptions) SetAllowEmpty ¶
func (g *GitCommitOptions) SetAllowEmpty(allowEmpty bool)
func (*GitCommitOptions) SetCommitAllChanges ¶
func (g *GitCommitOptions) SetCommitAllChanges(commitAllChanges bool)
func (*GitCommitOptions) SetMessage ¶
func (g *GitCommitOptions) SetMessage(message string) (err error)
type GitConfigSetOptions ¶
func NewGitConfigSetOptions ¶
func NewGitConfigSetOptions() (g *GitConfigSetOptions)
func (*GitConfigSetOptions) GetEmail ¶
func (g *GitConfigSetOptions) GetEmail() (email string, err error)
func (*GitConfigSetOptions) GetName ¶
func (g *GitConfigSetOptions) GetName() (name string, err error)
func (*GitConfigSetOptions) IsEmailSet ¶
func (g *GitConfigSetOptions) IsEmailSet() (isSet bool)
func (*GitConfigSetOptions) IsNameSet ¶
func (g *GitConfigSetOptions) IsNameSet() (isSet bool)
func (*GitConfigSetOptions) MustGetEmail ¶
func (g *GitConfigSetOptions) MustGetEmail() (email string)
func (*GitConfigSetOptions) MustGetName ¶
func (g *GitConfigSetOptions) MustGetName() (name string)
func (*GitConfigSetOptions) MustSetEmail ¶
func (g *GitConfigSetOptions) MustSetEmail(email string)
func (*GitConfigSetOptions) MustSetName ¶
func (g *GitConfigSetOptions) MustSetName(name string)
func (*GitConfigSetOptions) SetEmail ¶
func (g *GitConfigSetOptions) SetEmail(email string) (err error)
func (*GitConfigSetOptions) SetName ¶
func (g *GitConfigSetOptions) SetName(name string) (err error)
type GitPullFromRemoteOptions ¶ added in v0.446.0
func NewGitPullFromRemoteOptions ¶ added in v0.446.0
func NewGitPullFromRemoteOptions() (g *GitPullFromRemoteOptions)
func (*GitPullFromRemoteOptions) GetBranchName ¶ added in v0.446.0
func (o *GitPullFromRemoteOptions) GetBranchName() (branchName string, err error)
func (*GitPullFromRemoteOptions) GetRemoteName ¶ added in v0.446.0
func (o *GitPullFromRemoteOptions) GetRemoteName() (remoteName string, err error)
func (*GitPullFromRemoteOptions) GetVerbose ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) GetVerbose() (verbose bool, err error)
func (*GitPullFromRemoteOptions) MustGetBranchName ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) MustGetBranchName() (branchName string)
func (*GitPullFromRemoteOptions) MustGetRemoteName ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) MustGetRemoteName() (remoteName string)
func (*GitPullFromRemoteOptions) MustGetVerbose ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) MustGetVerbose() (verbose bool)
func (*GitPullFromRemoteOptions) MustSetBranchName ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) MustSetBranchName(branchName string)
func (*GitPullFromRemoteOptions) MustSetRemoteName ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) MustSetRemoteName(remoteName string)
func (*GitPullFromRemoteOptions) MustSetVerbose ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) MustSetVerbose(verbose bool)
func (*GitPullFromRemoteOptions) SetBranchName ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) SetBranchName(branchName string) (err error)
func (*GitPullFromRemoteOptions) SetRemoteName ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) SetRemoteName(remoteName string) (err error)
func (*GitPullFromRemoteOptions) SetVerbose ¶ added in v0.446.0
func (g *GitPullFromRemoteOptions) SetVerbose(verbose bool) (err error)
type GitRemoteAddOptions ¶
func NewGitRemoteAddOptions ¶
func NewGitRemoteAddOptions() (g *GitRemoteAddOptions)
func (*GitRemoteAddOptions) GetRemoteName ¶
func (o *GitRemoteAddOptions) GetRemoteName() (remoteName string, err error)
func (*GitRemoteAddOptions) GetRemoteUrl ¶
func (o *GitRemoteAddOptions) GetRemoteUrl() (remoteUrl string, err error)
func (*GitRemoteAddOptions) MustGetRemoteName ¶
func (g *GitRemoteAddOptions) MustGetRemoteName() (remoteName string)
func (*GitRemoteAddOptions) MustGetRemoteUrl ¶
func (g *GitRemoteAddOptions) MustGetRemoteUrl() (remoteUrl string)
func (*GitRemoteAddOptions) MustSetRemoteName ¶
func (g *GitRemoteAddOptions) MustSetRemoteName(remoteName string)
func (*GitRemoteAddOptions) MustSetRemoteUrl ¶
func (g *GitRemoteAddOptions) MustSetRemoteUrl(remoteUrl string)
func (*GitRemoteAddOptions) SetRemoteName ¶
func (g *GitRemoteAddOptions) SetRemoteName(remoteName string) (err error)
func (*GitRemoteAddOptions) SetRemoteUrl ¶
func (g *GitRemoteAddOptions) SetRemoteUrl(remoteUrl string) (err error)
type GitRepositoryCreateTagOptions ¶
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 PushTagsToAllRemotes bool }
func NewGitRepositoryCreateTagOptions ¶
func NewGitRepositoryCreateTagOptions() (g *GitRepositoryCreateTagOptions)
func (*GitRepositoryCreateTagOptions) GetCommitHash ¶
func (g *GitRepositoryCreateTagOptions) GetCommitHash() (commitHash string, err error)
func (*GitRepositoryCreateTagOptions) GetDeepCopy ¶
func (g *GitRepositoryCreateTagOptions) GetDeepCopy() (copy *GitRepositoryCreateTagOptions)
func (*GitRepositoryCreateTagOptions) GetPushTagsToAllRemotes ¶
func (g *GitRepositoryCreateTagOptions) GetPushTagsToAllRemotes() (pushTagsToAllRemotes bool, err error)
func (*GitRepositoryCreateTagOptions) GetTagComment ¶
func (g *GitRepositoryCreateTagOptions) GetTagComment() (tagComment string, err error)
func (*GitRepositoryCreateTagOptions) GetTagCommentOrDefaultIfUnset ¶
func (g *GitRepositoryCreateTagOptions) GetTagCommentOrDefaultIfUnset() (tagComment string)
func (*GitRepositoryCreateTagOptions) GetTagName ¶
func (g *GitRepositoryCreateTagOptions) GetTagName() (tagName string, err error)
func (*GitRepositoryCreateTagOptions) GetTagNameOrEmptyStringIfUnset ¶
func (g *GitRepositoryCreateTagOptions) GetTagNameOrEmptyStringIfUnset() (tagName string)
func (*GitRepositoryCreateTagOptions) IsCommitHashSet ¶
func (g *GitRepositoryCreateTagOptions) IsCommitHashSet() (isSet bool)
func (*GitRepositoryCreateTagOptions) IsTagCommentSet ¶
func (g *GitRepositoryCreateTagOptions) IsTagCommentSet() (isSet bool)
func (*GitRepositoryCreateTagOptions) SetCommitHash ¶
func (g *GitRepositoryCreateTagOptions) SetCommitHash(commitHash string) (err error)
func (*GitRepositoryCreateTagOptions) SetPushTagsToAllRemotes ¶
func (g *GitRepositoryCreateTagOptions) SetPushTagsToAllRemotes(pushTagsToAllRemotes bool) (err error)
func (*GitRepositoryCreateTagOptions) SetTagComment ¶
func (g *GitRepositoryCreateTagOptions) SetTagComment(tagComment string) (err error)
func (*GitRepositoryCreateTagOptions) SetTagName ¶
func (g *GitRepositoryCreateTagOptions) SetTagName(tagName string) (err error)
Click to show internal directories.
Click to hide internal directories.