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) 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 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 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)
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 // Enable verbose output Verbose 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) GetVerbose ¶
func (g *GitCommitOptions) GetVerbose() (verbose bool)
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)
func (*GitCommitOptions) SetVerbose ¶
func (g *GitCommitOptions) SetVerbose(verbose bool)
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) GetVerbose ¶
func (g *GitConfigSetOptions) GetVerbose() (verbose bool)
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)
func (*GitConfigSetOptions) SetVerbose ¶
func (g *GitConfigSetOptions) SetVerbose(verbose bool)
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) GetVerbose ¶
func (g *GitRemoteAddOptions) GetVerbose() (verbose bool, err error)
func (*GitRemoteAddOptions) MustGetRemoteName ¶
func (g *GitRemoteAddOptions) MustGetRemoteName() (remoteName string)
func (*GitRemoteAddOptions) MustGetRemoteUrl ¶
func (g *GitRemoteAddOptions) MustGetRemoteUrl() (remoteUrl string)
func (*GitRemoteAddOptions) MustGetVerbose ¶
func (g *GitRemoteAddOptions) MustGetVerbose() (verbose bool)
func (*GitRemoteAddOptions) MustSetRemoteName ¶
func (g *GitRemoteAddOptions) MustSetRemoteName(remoteName string)
func (*GitRemoteAddOptions) MustSetRemoteUrl ¶
func (g *GitRemoteAddOptions) MustSetRemoteUrl(remoteUrl string)
func (*GitRemoteAddOptions) MustSetVerbose ¶
func (g *GitRemoteAddOptions) MustSetVerbose(verbose bool)
func (*GitRemoteAddOptions) SetRemoteName ¶
func (g *GitRemoteAddOptions) SetRemoteName(remoteName string) (err error)
func (*GitRemoteAddOptions) SetRemoteUrl ¶
func (g *GitRemoteAddOptions) SetRemoteUrl(remoteUrl string) (err error)
func (*GitRemoteAddOptions) SetVerbose ¶
func (g *GitRemoteAddOptions) SetVerbose(verbose bool) (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 Verbose bool 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) GetVerbose ¶
func (g *GitRepositoryCreateTagOptions) GetVerbose() (verbose bool, err error)
func (*GitRepositoryCreateTagOptions) IsCommitHashSet ¶
func (g *GitRepositoryCreateTagOptions) IsCommitHashSet() (isSet bool)
func (*GitRepositoryCreateTagOptions) IsTagCommentSet ¶
func (g *GitRepositoryCreateTagOptions) IsTagCommentSet() (isSet bool)
func (*GitRepositoryCreateTagOptions) MustGetCommitHash ¶
func (g *GitRepositoryCreateTagOptions) MustGetCommitHash() (commitHash string)
func (*GitRepositoryCreateTagOptions) MustGetPushTagsToAllRemotes ¶
func (g *GitRepositoryCreateTagOptions) MustGetPushTagsToAllRemotes() (pushTagsToAllRemotes bool)
func (*GitRepositoryCreateTagOptions) MustGetTagComment ¶
func (g *GitRepositoryCreateTagOptions) MustGetTagComment() (tagComment string)
func (*GitRepositoryCreateTagOptions) MustGetTagName ¶
func (g *GitRepositoryCreateTagOptions) MustGetTagName() (tagName string)
func (*GitRepositoryCreateTagOptions) MustGetVerbose ¶
func (g *GitRepositoryCreateTagOptions) MustGetVerbose() (verbose bool)
func (*GitRepositoryCreateTagOptions) MustSetCommitHash ¶
func (g *GitRepositoryCreateTagOptions) MustSetCommitHash(commitHash string)
func (*GitRepositoryCreateTagOptions) MustSetPushTagsToAllRemotes ¶
func (g *GitRepositoryCreateTagOptions) MustSetPushTagsToAllRemotes(pushTagsToAllRemotes bool)
func (*GitRepositoryCreateTagOptions) MustSetTagComment ¶
func (g *GitRepositoryCreateTagOptions) MustSetTagComment(tagComment string)
func (*GitRepositoryCreateTagOptions) MustSetTagName ¶
func (g *GitRepositoryCreateTagOptions) MustSetTagName(tagName string)
func (*GitRepositoryCreateTagOptions) MustSetVerbose ¶
func (g *GitRepositoryCreateTagOptions) MustSetVerbose(verbose 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)
func (*GitRepositoryCreateTagOptions) SetVerbose ¶
func (g *GitRepositoryCreateTagOptions) SetVerbose(verbose bool) (err error)
Click to show internal directories.
Click to hide internal directories.