fakes

package
v0.0.0-...-7ca00ca Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 K8sResourceBuilder

type K8sResourceBuilder struct {
	BuildStub func([]models.Route, webhook.Template) []webhook.K8sResource
	// contains filtered or unexported fields
}

func (*K8sResourceBuilder) Build

func (fake *K8sResourceBuilder) Build(arg1 []models.Route, arg2 webhook.Template) []webhook.K8sResource

func (*K8sResourceBuilder) BuildArgsForCall

func (fake *K8sResourceBuilder) BuildArgsForCall(i int) ([]models.Route, webhook.Template)

func (*K8sResourceBuilder) BuildCallCount

func (fake *K8sResourceBuilder) BuildCallCount() int

func (*K8sResourceBuilder) BuildCalls

func (fake *K8sResourceBuilder) BuildCalls(stub func([]models.Route, webhook.Template) []webhook.K8sResource)

func (*K8sResourceBuilder) BuildReturns

func (fake *K8sResourceBuilder) BuildReturns(result1 []webhook.K8sResource)

func (*K8sResourceBuilder) BuildReturnsOnCall

func (fake *K8sResourceBuilder) BuildReturnsOnCall(i int, result1 []webhook.K8sResource)

func (*K8sResourceBuilder) Invocations

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

type SnapshotRepo

type SnapshotRepo struct {
	GetStub func() (*models.RouteSnapshot, bool)
	// contains filtered or unexported fields
}

func (*SnapshotRepo) Get

func (fake *SnapshotRepo) Get() (*models.RouteSnapshot, bool)

func (*SnapshotRepo) GetCallCount

func (fake *SnapshotRepo) GetCallCount() int

func (*SnapshotRepo) GetCalls

func (fake *SnapshotRepo) GetCalls(stub func() (*models.RouteSnapshot, bool))

func (*SnapshotRepo) GetReturns

func (fake *SnapshotRepo) GetReturns(result1 *models.RouteSnapshot, result2 bool)

func (*SnapshotRepo) GetReturnsOnCall

func (fake *SnapshotRepo) GetReturnsOnCall(i int, result1 *models.RouteSnapshot, result2 bool)

func (*SnapshotRepo) Invocations

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

type Syncer

type Syncer struct {
	SyncStub func(webhook.SyncRequest) (*webhook.SyncResponse, error)
	// contains filtered or unexported fields
}

func (*Syncer) Invocations

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

func (*Syncer) Sync

func (fake *Syncer) Sync(arg1 webhook.SyncRequest) (*webhook.SyncResponse, error)

func (*Syncer) SyncArgsForCall

func (fake *Syncer) SyncArgsForCall(i int) webhook.SyncRequest

func (*Syncer) SyncCallCount

func (fake *Syncer) SyncCallCount() int

func (*Syncer) SyncCalls

func (fake *Syncer) SyncCalls(stub func(webhook.SyncRequest) (*webhook.SyncResponse, error))

func (*Syncer) SyncReturns

func (fake *Syncer) SyncReturns(result1 *webhook.SyncResponse, result2 error)

func (*Syncer) SyncReturnsOnCall

func (fake *Syncer) SyncReturnsOnCall(i int, result1 *webhook.SyncResponse, result2 error)

Jump to

Keyboard shortcuts

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