Documentation ¶
Index ¶
- type Client
- func (_m *Client) Add(path string) error
- func (_m *Client) Branch(sourceBranch string, targetBranch string) error
- func (_m *Client) Checkout(revision string) error
- func (_m *Client) Commit(pathSpec string, opts *git.CommitOptions) error
- func (_m *Client) CommitSHA() (string, error)
- func (_m *Client) Config(username string, email string) error
- func (_m *Client) Fetch(revision string) error
- func (_m *Client) Init() error
- func (_m *Client) LsFiles(path string) ([]string, error)
- func (_m *Client) LsLargeFiles() ([]string, error)
- func (_m *Client) LsRefs() (*git.Refs, error)
- func (_m *Client) LsRemote(revision string) (string, error)
- func (_m *Client) Push(remote string, branch string, force bool) error
- func (_m *Client) RevisionMetadata(revision string) (*git.RevisionMetadata, error)
- func (_m *Client) Root() string
- func (_m *Client) SymRefToBranch(symRef string) (string, error)
- func (_m *Client) VerifyCommitSignature(_a0 string) (string, error)
- type Creds
- type GenericHTTPSCreds
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) Branch ¶
Branch provides a mock function with given fields: sourceBranch, targetBranch
func (*Client) Commit ¶
func (_m *Client) Commit(pathSpec string, opts *git.CommitOptions) error
Commit provides a mock function with given fields: pathSpec, opts
func (*Client) LsLargeFiles ¶
LsLargeFiles provides a mock function with given fields:
func (*Client) RevisionMetadata ¶
func (_m *Client) RevisionMetadata(revision string) (*git.RevisionMetadata, error)
RevisionMetadata provides a mock function with given fields: revision
func (*Client) SymRefToBranch ¶
SymRefToBranch provides a mock function with given fields: symRef
type GenericHTTPSCreds ¶ added in v0.11.0
GenericHTTPSCreds is an autogenerated mock type for the GenericHTTPSCreds type
func (*GenericHTTPSCreds) Environ ¶ added in v0.11.0
func (_m *GenericHTTPSCreds) Environ() (io.Closer, []string, error)
Environ provides a mock function with given fields:
func (*GenericHTTPSCreds) GetClientCertData ¶ added in v0.11.0
func (_m *GenericHTTPSCreds) GetClientCertData() string
GetClientCertData provides a mock function with given fields:
func (*GenericHTTPSCreds) GetClientCertKey ¶ added in v0.11.0
func (_m *GenericHTTPSCreds) GetClientCertKey() string
GetClientCertKey provides a mock function with given fields:
func (*GenericHTTPSCreds) HasClientCert ¶ added in v0.11.0
func (_m *GenericHTTPSCreds) HasClientCert() bool
HasClientCert provides a mock function with given fields: