fakes

package
v0.0.0-...-579b097 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Code int
	Text string
}

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type HealthChecker

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

func (*HealthChecker) HealthCheck

func (fake *HealthChecker) HealthCheck(arg1 context.Context) error

func (*HealthChecker) HealthCheckArgsForCall

func (fake *HealthChecker) HealthCheckArgsForCall(i int) context.Context

func (*HealthChecker) HealthCheckCallCount

func (fake *HealthChecker) HealthCheckCallCount() int

func (*HealthChecker) HealthCheckCalls

func (fake *HealthChecker) HealthCheckCalls(stub func(context.Context) error)

func (*HealthChecker) HealthCheckReturns

func (fake *HealthChecker) HealthCheckReturns(result1 error)

func (*HealthChecker) HealthCheckReturnsOnCall

func (fake *HealthChecker) HealthCheckReturnsOnCall(i int, result1 error)

func (*HealthChecker) Invocations

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

type Logger

type Logger struct {
	WarnStub func(...interface{})

	WarnfStub func(string, ...interface{})
	// contains filtered or unexported fields
}

func (*Logger) Invocations

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

func (*Logger) Warn

func (fake *Logger) Warn(arg1 ...interface{})

func (*Logger) WarnArgsForCall

func (fake *Logger) WarnArgsForCall(i int) []interface{}

func (*Logger) WarnCallCount

func (fake *Logger) WarnCallCount() int

func (*Logger) WarnCalls

func (fake *Logger) WarnCalls(stub func(...interface{}))

func (*Logger) Warnf

func (fake *Logger) Warnf(arg1 string, arg2 ...interface{})

func (*Logger) WarnfArgsForCall

func (fake *Logger) WarnfArgsForCall(i int) (string, []interface{})

func (*Logger) WarnfCallCount

func (fake *Logger) WarnfCallCount() int

func (*Logger) WarnfCalls

func (fake *Logger) WarnfCalls(stub func(string, ...interface{}))

Jump to

Keyboard shortcuts

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