vcs_mocks

package
v0.0.0-...-8fdffdb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vcs

type Vcs struct {
	mock.Mock
}

Vcs is an autogenerated mock type for the Vcs type

func (*Vcs) Diff

func (_m *Vcs) Diff(args ...string) (string, error)

Diff provides a mock function with given fields: args

func (*Vcs) LatestRevision

func (_m *Vcs) LatestRevision(file string) (string, error)

LatestRevision provides a mock function with given fields: file

func (*Vcs) Log

func (_m *Vcs) Log(args ...string) (string, error)

Log provides a mock function with given fields: args

func (*Vcs) Root

func (_m *Vcs) Root() (string, error)

Root provides a mock function with given fields:

func (*Vcs) ShowContentAtRevision

func (_m *Vcs) ShowContentAtRevision(path string, revision string) (string, error)

ShowContentAtRevision provides a mock function with given fields: path, revision

func (*Vcs) Status

func (_m *Vcs) Status(args ...string) (string, error)

Status provides a mock function with given fields: args

type VersioningClient

type VersioningClient struct {
	mock.Mock
}

VersioningClient is an autogenerated mock type for the VersioningClient type

func (*VersioningClient) AddMetadata

func (_m *VersioningClient) AddMetadata(changes []vcs.FileChange, clock helper.Clock) ([]vcs.FileChange, error)

AddMetadata provides a mock function with given fields: changes, clock

func (*VersioningClient) GetChanges

func (_m *VersioningClient) GetChanges(revision string) ([]vcs.FileChange, error)

GetChanges provides a mock function with given fields: revision

func (*VersioningClient) GetClient

func (_m *VersioningClient) GetClient() vcs.Vcs

GetClient provides a mock function with given fields:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL