Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type K8sResourceBuilder
- func (fake *K8sResourceBuilder) Build(arg1 []models.Route, arg2 webhook.Template) []webhook.K8sResource
- func (fake *K8sResourceBuilder) BuildArgsForCall(i int) ([]models.Route, webhook.Template)
- func (fake *K8sResourceBuilder) BuildCallCount() int
- func (fake *K8sResourceBuilder) BuildCalls(stub func([]models.Route, webhook.Template) []webhook.K8sResource)
- func (fake *K8sResourceBuilder) BuildReturns(result1 []webhook.K8sResource)
- func (fake *K8sResourceBuilder) BuildReturnsOnCall(i int, result1 []webhook.K8sResource)
- func (fake *K8sResourceBuilder) Invocations() map[string][][]interface{}
- type SnapshotRepo
- func (fake *SnapshotRepo) Get() (*models.RouteSnapshot, bool)
- func (fake *SnapshotRepo) GetCallCount() int
- func (fake *SnapshotRepo) GetCalls(stub func() (*models.RouteSnapshot, bool))
- func (fake *SnapshotRepo) GetReturns(result1 *models.RouteSnapshot, result2 bool)
- func (fake *SnapshotRepo) GetReturnsOnCall(i int, result1 *models.RouteSnapshot, result2 bool)
- func (fake *SnapshotRepo) Invocations() map[string][][]interface{}
- type Syncer
- func (fake *Syncer) Invocations() map[string][][]interface{}
- func (fake *Syncer) Sync(arg1 webhook.SyncRequest) (*webhook.SyncResponse, error)
- func (fake *Syncer) SyncArgsForCall(i int) webhook.SyncRequest
- func (fake *Syncer) SyncCallCount() int
- func (fake *Syncer) SyncCalls(stub func(webhook.SyncRequest) (*webhook.SyncResponse, error))
- func (fake *Syncer) SyncReturns(result1 *webhook.SyncResponse, result2 error)
- func (fake *Syncer) SyncReturnsOnCall(i int, result1 *webhook.SyncResponse, result2 error)
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 (*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 (*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 (*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)
Click to show internal directories.
Click to hide internal directories.