mocks

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT. Copyright (c) 2026 Benjamin Borbe All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Code generated by counterfeiter. DO NOT EDIT. Copyright (c) 2026 Benjamin Borbe All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Code generated by counterfeiter. DO NOT EDIT. Copyright (c) 2026 Benjamin Borbe All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Code generated by counterfeiter. DO NOT EDIT. Copyright (c) 2026 Benjamin Borbe All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoDevClient

type GoDevClient struct {
	LatestStableStub func(context.Context) (pkg.Version, error)
	// contains filtered or unexported fields
}

func (*GoDevClient) Invocations

func (fake *GoDevClient) Invocations() map[string][][]interface{}

func (*GoDevClient) LatestStable

func (fake *GoDevClient) LatestStable(arg1 context.Context) (pkg.Version, error)

func (*GoDevClient) LatestStableArgsForCall

func (fake *GoDevClient) LatestStableArgsForCall(i int) context.Context

func (*GoDevClient) LatestStableCallCount

func (fake *GoDevClient) LatestStableCallCount() int

func (*GoDevClient) LatestStableCalls

func (fake *GoDevClient) LatestStableCalls(stub func(context.Context) (pkg.Version, error))

func (*GoDevClient) LatestStableReturns

func (fake *GoDevClient) LatestStableReturns(result1 pkg.Version, result2 error)

func (*GoDevClient) LatestStableReturnsOnCall

func (fake *GoDevClient) LatestStableReturnsOnCall(i int, result1 pkg.Version, result2 error)

type Metrics

type Metrics struct {
	IncFilterSkippedStub func(string)

	IncPollCycleStub func(string)

	IncPublishedStub func(string)
	// contains filtered or unexported fields
}

func (*Metrics) IncFilterSkipped

func (fake *Metrics) IncFilterSkipped(arg1 string)

func (*Metrics) IncFilterSkippedArgsForCall

func (fake *Metrics) IncFilterSkippedArgsForCall(i int) string

func (*Metrics) IncFilterSkippedCallCount

func (fake *Metrics) IncFilterSkippedCallCount() int

func (*Metrics) IncFilterSkippedCalls

func (fake *Metrics) IncFilterSkippedCalls(stub func(string))

func (*Metrics) IncPollCycle

func (fake *Metrics) IncPollCycle(arg1 string)

func (*Metrics) IncPollCycleArgsForCall

func (fake *Metrics) IncPollCycleArgsForCall(i int) string

func (*Metrics) IncPollCycleCallCount

func (fake *Metrics) IncPollCycleCallCount() int

func (*Metrics) IncPollCycleCalls

func (fake *Metrics) IncPollCycleCalls(stub func(string))

func (*Metrics) IncPublished

func (fake *Metrics) IncPublished(arg1 string)

func (*Metrics) IncPublishedArgsForCall

func (fake *Metrics) IncPublishedArgsForCall(i int) string

func (*Metrics) IncPublishedCallCount

func (fake *Metrics) IncPublishedCallCount() int

func (*Metrics) IncPublishedCalls

func (fake *Metrics) IncPublishedCalls(stub func(string))

func (*Metrics) Invocations

func (fake *Metrics) Invocations() map[string][][]interface{}

type TaskPublisher

type TaskPublisher struct {
	PublishCreateStub func(context.Context, task.CreateCommand) bool
	// contains filtered or unexported fields
}

func (*TaskPublisher) Invocations

func (fake *TaskPublisher) Invocations() map[string][][]interface{}

func (*TaskPublisher) PublishCreate

func (fake *TaskPublisher) PublishCreate(arg1 context.Context, arg2 task.CreateCommand) bool

func (*TaskPublisher) PublishCreateArgsForCall

func (fake *TaskPublisher) PublishCreateArgsForCall(i int) (context.Context, task.CreateCommand)

func (*TaskPublisher) PublishCreateCallCount

func (fake *TaskPublisher) PublishCreateCallCount() int

func (*TaskPublisher) PublishCreateCalls

func (fake *TaskPublisher) PublishCreateCalls(stub func(context.Context, task.CreateCommand) bool)

func (*TaskPublisher) PublishCreateReturns

func (fake *TaskPublisher) PublishCreateReturns(result1 bool)

func (*TaskPublisher) PublishCreateReturnsOnCall

func (fake *TaskPublisher) PublishCreateReturnsOnCall(i int, result1 bool)

type Watcher

type Watcher struct {
	PollStub func(context.Context) error
	// contains filtered or unexported fields
}

func (*Watcher) Invocations

func (fake *Watcher) Invocations() map[string][][]interface{}

func (*Watcher) Poll

func (fake *Watcher) Poll(arg1 context.Context) error

func (*Watcher) PollArgsForCall

func (fake *Watcher) PollArgsForCall(i int) context.Context

func (*Watcher) PollCallCount

func (fake *Watcher) PollCallCount() int

func (*Watcher) PollCalls

func (fake *Watcher) PollCalls(stub func(context.Context) error)

func (*Watcher) PollReturns

func (fake *Watcher) PollReturns(result1 error)

func (*Watcher) PollReturnsOnCall

func (fake *Watcher) PollReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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