Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitUtil ¶
type GitUtil struct {
RepoPath string
}
GitUtil allows for fetching information about a Git repository using Git CLI commands.
func (*GitUtil) HeadCommitLog ¶
HeadCommitLog returns the log of the current HEAD commit, including a list of the files that were modified.
type GitUtilInterface ¶
GitUtilInterface allows for mocking out the functionality of GitUtil when testing the full process of an apply run.
type MockGitUtilInterface ¶
type MockGitUtilInterface struct {
// contains filtered or unexported fields
}
Mock of GitUtilInterface interface
func NewMockGitUtilInterface ¶
func NewMockGitUtilInterface(ctrl *gomock.Controller) *MockGitUtilInterface
func (*MockGitUtilInterface) EXPECT ¶
func (_m *MockGitUtilInterface) EXPECT() *_MockGitUtilInterfaceRecorder
func (*MockGitUtilInterface) HeadCommitLog ¶
func (_m *MockGitUtilInterface) HeadCommitLog() (string, error)
func (*MockGitUtilInterface) HeadHash ¶
func (_m *MockGitUtilInterface) HeadHash() (string, error)
Click to show internal directories.
Click to hide internal directories.