mocks

package
v0.0.0-...-dcd2c65 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gitter

type Gitter struct {
	mock.Mock
}

Gitter is an autogenerated mock type for the Gitter type

func NewGitter

func NewGitter(t interface {
	mock.TestingT
	Cleanup(func())
}) *Gitter

NewGitter creates a new instance of Gitter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Gitter) CommitAndPush

func (_m *Gitter) CommitAndPush(ctx context.Context, path []string) error

CommitAndPush provides a mock function with given fields: ctx, path

func (*Gitter) Pull

func (_m *Gitter) Pull(ctx context.Context) error

Pull provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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