Documentation
¶
Index ¶
- type Releaser
- type Releaser_CreateRelease_Call
- func (_c *Releaser_CreateRelease_Call) Return(err error) *Releaser_CreateRelease_Call
- func (_c *Releaser_CreateRelease_Call) Run(run func(ctx context.Context, opts forge.CreateReleaseOptions)) *Releaser_CreateRelease_Call
- func (_c *Releaser_CreateRelease_Call) RunAndReturn(run func(ctx context.Context, opts forge.CreateReleaseOptions) error) *Releaser_CreateRelease_Call
- type Releaser_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Releaser ¶
Releaser is an autogenerated mock type for the Releaser type
func NewReleaser ¶
NewReleaser creates a new instance of Releaser. 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 (*Releaser) CreateRelease ¶
CreateRelease provides a mock function for the type Releaser
func (*Releaser) EXPECT ¶
func (_m *Releaser) EXPECT() *Releaser_Expecter
type Releaser_CreateRelease_Call ¶
Releaser_CreateRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRelease'
func (*Releaser_CreateRelease_Call) Return ¶
func (_c *Releaser_CreateRelease_Call) Return(err error) *Releaser_CreateRelease_Call
func (*Releaser_CreateRelease_Call) Run ¶
func (_c *Releaser_CreateRelease_Call) Run(run func(ctx context.Context, opts forge.CreateReleaseOptions)) *Releaser_CreateRelease_Call
func (*Releaser_CreateRelease_Call) RunAndReturn ¶
func (_c *Releaser_CreateRelease_Call) RunAndReturn(run func(ctx context.Context, opts forge.CreateReleaseOptions) error) *Releaser_CreateRelease_Call
type Releaser_Expecter ¶
type Releaser_Expecter struct {
// contains filtered or unexported fields
}
func (*Releaser_Expecter) CreateRelease ¶
func (_e *Releaser_Expecter) CreateRelease(ctx interface{}, opts interface{}) *Releaser_CreateRelease_Call
CreateRelease is a helper method to define mock.On call
- ctx context.Context
- opts forge.CreateReleaseOptions
Click to show internal directories.
Click to hide internal directories.