fakes

package
v0.0.0-...-993a85b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 5 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 Collector

type Collector struct {
	CollectStub func() []*models.RouteWithBackends
	// contains filtered or unexported fields
}

func (*Collector) Collect

func (fake *Collector) Collect() []*models.RouteWithBackends

func (*Collector) CollectCallCount

func (fake *Collector) CollectCallCount() int

func (*Collector) CollectCalls

func (fake *Collector) CollectCalls(stub func() []*models.RouteWithBackends)

func (*Collector) CollectReturns

func (fake *Collector) CollectReturns(result1 []*models.RouteWithBackends)

func (*Collector) CollectReturnsOnCall

func (fake *Collector) CollectReturnsOnCall(i int, result1 []*models.RouteWithBackends)

func (*Collector) Invocations

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

type Config

type Config struct {
	CreateDestinationRuleResourcesStub func([]*models.RouteWithBackends, string) []*v1alpha1.Resource

	CreateGatewayResourcesStub func() []*v1alpha1.Resource

	CreateServiceEntryResourcesStub func([]*models.RouteWithBackends, string) []*v1alpha1.Resource

	CreateSidecarResourcesStub func([]*models.RouteWithBackends, []*policy_client.Policy, string) []*v1alpha1.Resource

	CreateVirtualServiceResourcesStub func([]*models.RouteWithBackends, string) []*v1alpha1.Resource

	EmptyResponseStub func() []*v1alpha1.Resource
	// contains filtered or unexported fields
}

func (*Config) CreateDestinationRuleResources

func (fake *Config) CreateDestinationRuleResources(arg1 []*models.RouteWithBackends, arg2 string) []*v1alpha1.Resource

func (*Config) CreateDestinationRuleResourcesArgsForCall

func (fake *Config) CreateDestinationRuleResourcesArgsForCall(i int) ([]*models.RouteWithBackends, string)

func (*Config) CreateDestinationRuleResourcesCallCount

func (fake *Config) CreateDestinationRuleResourcesCallCount() int

func (*Config) CreateDestinationRuleResourcesCalls

func (fake *Config) CreateDestinationRuleResourcesCalls(stub func([]*models.RouteWithBackends, string) []*v1alpha1.Resource)

func (*Config) CreateDestinationRuleResourcesReturns

func (fake *Config) CreateDestinationRuleResourcesReturns(result1 []*v1alpha1.Resource)

func (*Config) CreateDestinationRuleResourcesReturnsOnCall

func (fake *Config) CreateDestinationRuleResourcesReturnsOnCall(i int, result1 []*v1alpha1.Resource)

func (*Config) CreateGatewayResources

func (fake *Config) CreateGatewayResources() []*v1alpha1.Resource

func (*Config) CreateGatewayResourcesCallCount

func (fake *Config) CreateGatewayResourcesCallCount() int

func (*Config) CreateGatewayResourcesCalls

func (fake *Config) CreateGatewayResourcesCalls(stub func() []*v1alpha1.Resource)

func (*Config) CreateGatewayResourcesReturns

func (fake *Config) CreateGatewayResourcesReturns(result1 []*v1alpha1.Resource)

func (*Config) CreateGatewayResourcesReturnsOnCall

func (fake *Config) CreateGatewayResourcesReturnsOnCall(i int, result1 []*v1alpha1.Resource)

func (*Config) CreateServiceEntryResources

func (fake *Config) CreateServiceEntryResources(arg1 []*models.RouteWithBackends, arg2 string) []*v1alpha1.Resource

func (*Config) CreateServiceEntryResourcesArgsForCall

func (fake *Config) CreateServiceEntryResourcesArgsForCall(i int) ([]*models.RouteWithBackends, string)

func (*Config) CreateServiceEntryResourcesCallCount

func (fake *Config) CreateServiceEntryResourcesCallCount() int

func (*Config) CreateServiceEntryResourcesCalls

func (fake *Config) CreateServiceEntryResourcesCalls(stub func([]*models.RouteWithBackends, string) []*v1alpha1.Resource)

func (*Config) CreateServiceEntryResourcesReturns

func (fake *Config) CreateServiceEntryResourcesReturns(result1 []*v1alpha1.Resource)

func (*Config) CreateServiceEntryResourcesReturnsOnCall

func (fake *Config) CreateServiceEntryResourcesReturnsOnCall(i int, result1 []*v1alpha1.Resource)

func (*Config) CreateSidecarResources

func (fake *Config) CreateSidecarResources(arg1 []*models.RouteWithBackends, arg2 []*policy_client.Policy, arg3 string) []*v1alpha1.Resource

func (*Config) CreateSidecarResourcesArgsForCall

func (fake *Config) CreateSidecarResourcesArgsForCall(i int) ([]*models.RouteWithBackends, []*policy_client.Policy, string)

func (*Config) CreateSidecarResourcesCallCount

func (fake *Config) CreateSidecarResourcesCallCount() int

func (*Config) CreateSidecarResourcesCalls

func (fake *Config) CreateSidecarResourcesCalls(stub func([]*models.RouteWithBackends, []*policy_client.Policy, string) []*v1alpha1.Resource)

func (*Config) CreateSidecarResourcesReturns

func (fake *Config) CreateSidecarResourcesReturns(result1 []*v1alpha1.Resource)

func (*Config) CreateSidecarResourcesReturnsOnCall

func (fake *Config) CreateSidecarResourcesReturnsOnCall(i int, result1 []*v1alpha1.Resource)

func (*Config) CreateVirtualServiceResources

func (fake *Config) CreateVirtualServiceResources(arg1 []*models.RouteWithBackends, arg2 string) []*v1alpha1.Resource

func (*Config) CreateVirtualServiceResourcesArgsForCall

func (fake *Config) CreateVirtualServiceResourcesArgsForCall(i int) ([]*models.RouteWithBackends, string)

func (*Config) CreateVirtualServiceResourcesCallCount

func (fake *Config) CreateVirtualServiceResourcesCallCount() int

func (*Config) CreateVirtualServiceResourcesCalls

func (fake *Config) CreateVirtualServiceResourcesCalls(stub func([]*models.RouteWithBackends, string) []*v1alpha1.Resource)

func (*Config) CreateVirtualServiceResourcesReturns

func (fake *Config) CreateVirtualServiceResourcesReturns(result1 []*v1alpha1.Resource)

func (*Config) CreateVirtualServiceResourcesReturnsOnCall

func (fake *Config) CreateVirtualServiceResourcesReturnsOnCall(i int, result1 []*v1alpha1.Resource)

func (*Config) EmptyResponse

func (fake *Config) EmptyResponse() []*v1alpha1.Resource

func (*Config) EmptyResponseCallCount

func (fake *Config) EmptyResponseCallCount() int

func (*Config) EmptyResponseCalls

func (fake *Config) EmptyResponseCalls(stub func() []*v1alpha1.Resource)

func (*Config) EmptyResponseReturns

func (fake *Config) EmptyResponseReturns(result1 []*v1alpha1.Resource)

func (*Config) EmptyResponseReturnsOnCall

func (fake *Config) EmptyResponseReturnsOnCall(i int, result1 []*v1alpha1.Resource)

func (*Config) Invocations

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

type Setter

type Setter struct {
	SetSnapshotStub func(string, snapshota.Snapshot)
	// contains filtered or unexported fields
}

func (*Setter) Invocations

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

func (*Setter) SetSnapshot

func (fake *Setter) SetSnapshot(arg1 string, arg2 snapshota.Snapshot)

func (*Setter) SetSnapshotArgsForCall

func (fake *Setter) SetSnapshotArgsForCall(i int) (string, snapshota.Snapshot)

func (*Setter) SetSnapshotCallCount

func (fake *Setter) SetSnapshotCallCount() int

func (*Setter) SetSnapshotCalls

func (fake *Setter) SetSnapshotCalls(stub func(string, snapshota.Snapshot))

Jump to

Keyboard shortcuts

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