resourcefakes

package
v3.0.0-...-6fc1f16 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 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 FakeInstanceOperator

type FakeInstanceOperator struct {
	ReloadStub func(context.Context, *v1.Instance) error

	ValidateStub func(context.Context, *v1.Instance) error
	// contains filtered or unexported fields
}

func (*FakeInstanceOperator) Invocations

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

func (*FakeInstanceOperator) Reload

func (fake *FakeInstanceOperator) Reload(arg1 context.Context, arg2 *v1.Instance) error

func (*FakeInstanceOperator) ReloadArgsForCall

func (fake *FakeInstanceOperator) ReloadArgsForCall(i int) (context.Context, *v1.Instance)

func (*FakeInstanceOperator) ReloadCallCount

func (fake *FakeInstanceOperator) ReloadCallCount() int

func (*FakeInstanceOperator) ReloadCalls

func (fake *FakeInstanceOperator) ReloadCalls(stub func(context.Context, *v1.Instance) error)

func (*FakeInstanceOperator) ReloadReturns

func (fake *FakeInstanceOperator) ReloadReturns(result1 error)

func (*FakeInstanceOperator) ReloadReturnsOnCall

func (fake *FakeInstanceOperator) ReloadReturnsOnCall(i int, result1 error)

func (*FakeInstanceOperator) Validate

func (fake *FakeInstanceOperator) Validate(arg1 context.Context, arg2 *v1.Instance) error

func (*FakeInstanceOperator) ValidateArgsForCall

func (fake *FakeInstanceOperator) ValidateArgsForCall(i int) (context.Context, *v1.Instance)

func (*FakeInstanceOperator) ValidateCallCount

func (fake *FakeInstanceOperator) ValidateCallCount() int

func (*FakeInstanceOperator) ValidateCalls

func (fake *FakeInstanceOperator) ValidateCalls(stub func(context.Context, *v1.Instance) error)

func (*FakeInstanceOperator) ValidateReturns

func (fake *FakeInstanceOperator) ValidateReturns(result1 error)

func (*FakeInstanceOperator) ValidateReturnsOnCall

func (fake *FakeInstanceOperator) ValidateReturnsOnCall(i int, result1 error)

type FakeLogTailerOperator

type FakeLogTailerOperator struct {
	TailStub func(context.Context, string, chan error)
	// contains filtered or unexported fields
}

func (*FakeLogTailerOperator) Invocations

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

func (*FakeLogTailerOperator) Tail

func (fake *FakeLogTailerOperator) Tail(arg1 context.Context, arg2 string, arg3 chan error)

func (*FakeLogTailerOperator) TailArgsForCall

func (fake *FakeLogTailerOperator) TailArgsForCall(i int) (context.Context, string, chan error)

func (*FakeLogTailerOperator) TailCallCount

func (fake *FakeLogTailerOperator) TailCallCount() int

func (*FakeLogTailerOperator) TailCalls

func (fake *FakeLogTailerOperator) TailCalls(stub func(context.Context, string, chan error))

type FakeResourceServiceInterface

type FakeResourceServiceInterface struct {
	AddInstancesStub func([]*v1.Instance) *v1.Resource

	ApplyConfigStub func(context.Context, string) error

	DeleteInstancesStub func(context.Context, []*v1.Instance) *v1.Resource

	GetHTTPUpstreamServersStub func(context.Context, *v1.Instance, string) ([]client.UpstreamServer, error)

	GetStreamUpstreamsStub func(context.Context, *v1.Instance) (*client.StreamUpstreams, error)

	GetUpstreamsStub func(context.Context, *v1.Instance) (*client.Upstreams, error)

	InstanceStub func(string) *v1.Instance

	UpdateHTTPUpstreamServersStub func(context.Context, *v1.Instance, string, []*structpb.Struct) ([]client.UpstreamServer, []client.UpstreamServer, []client.UpstreamServer, error)

	UpdateInstancesStub func(context.Context, []*v1.Instance) *v1.Resource

	UpdateStreamServersStub func(context.Context, *v1.Instance, string, []*structpb.Struct) ([]client.StreamUpstreamServer, []client.StreamUpstreamServer, []client.StreamUpstreamServer, error)
	// contains filtered or unexported fields
}

func (*FakeResourceServiceInterface) AddInstances

func (fake *FakeResourceServiceInterface) AddInstances(arg1 []*v1.Instance) *v1.Resource

func (*FakeResourceServiceInterface) AddInstancesArgsForCall

func (fake *FakeResourceServiceInterface) AddInstancesArgsForCall(i int) []*v1.Instance

func (*FakeResourceServiceInterface) AddInstancesCallCount

func (fake *FakeResourceServiceInterface) AddInstancesCallCount() int

func (*FakeResourceServiceInterface) AddInstancesCalls

func (fake *FakeResourceServiceInterface) AddInstancesCalls(stub func([]*v1.Instance) *v1.Resource)

func (*FakeResourceServiceInterface) AddInstancesReturns

func (fake *FakeResourceServiceInterface) AddInstancesReturns(result1 *v1.Resource)

func (*FakeResourceServiceInterface) AddInstancesReturnsOnCall

func (fake *FakeResourceServiceInterface) AddInstancesReturnsOnCall(i int, result1 *v1.Resource)

func (*FakeResourceServiceInterface) ApplyConfig

func (fake *FakeResourceServiceInterface) ApplyConfig(arg1 context.Context, arg2 string) error

func (*FakeResourceServiceInterface) ApplyConfigArgsForCall

func (fake *FakeResourceServiceInterface) ApplyConfigArgsForCall(i int) (context.Context, string)

func (*FakeResourceServiceInterface) ApplyConfigCallCount

func (fake *FakeResourceServiceInterface) ApplyConfigCallCount() int

func (*FakeResourceServiceInterface) ApplyConfigCalls

func (fake *FakeResourceServiceInterface) ApplyConfigCalls(stub func(context.Context, string) error)

func (*FakeResourceServiceInterface) ApplyConfigReturns

func (fake *FakeResourceServiceInterface) ApplyConfigReturns(result1 error)

func (*FakeResourceServiceInterface) ApplyConfigReturnsOnCall

func (fake *FakeResourceServiceInterface) ApplyConfigReturnsOnCall(i int, result1 error)

func (*FakeResourceServiceInterface) DeleteInstances

func (fake *FakeResourceServiceInterface) DeleteInstances(arg1 context.Context, arg2 []*v1.Instance) *v1.Resource

func (*FakeResourceServiceInterface) DeleteInstancesArgsForCall

func (fake *FakeResourceServiceInterface) DeleteInstancesArgsForCall(i int) (context.Context, []*v1.Instance)

func (*FakeResourceServiceInterface) DeleteInstancesCallCount

func (fake *FakeResourceServiceInterface) DeleteInstancesCallCount() int

func (*FakeResourceServiceInterface) DeleteInstancesCalls

func (fake *FakeResourceServiceInterface) DeleteInstancesCalls(stub func(context.Context, []*v1.Instance) *v1.Resource)

func (*FakeResourceServiceInterface) DeleteInstancesReturns

func (fake *FakeResourceServiceInterface) DeleteInstancesReturns(result1 *v1.Resource)

func (*FakeResourceServiceInterface) DeleteInstancesReturnsOnCall

func (fake *FakeResourceServiceInterface) DeleteInstancesReturnsOnCall(i int, result1 *v1.Resource)

func (*FakeResourceServiceInterface) GetHTTPUpstreamServers

func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServers(arg1 context.Context, arg2 *v1.Instance, arg3 string) ([]client.UpstreamServer, error)

func (*FakeResourceServiceInterface) GetHTTPUpstreamServersArgsForCall

func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersArgsForCall(i int) (context.Context, *v1.Instance, string)

func (*FakeResourceServiceInterface) GetHTTPUpstreamServersCallCount

func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersCallCount() int

func (*FakeResourceServiceInterface) GetHTTPUpstreamServersCalls

func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersCalls(stub func(context.Context, *v1.Instance, string) ([]client.UpstreamServer, error))

func (*FakeResourceServiceInterface) GetHTTPUpstreamServersReturns

func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersReturns(result1 []client.UpstreamServer, result2 error)

func (*FakeResourceServiceInterface) GetHTTPUpstreamServersReturnsOnCall

func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersReturnsOnCall(i int, result1 []client.UpstreamServer, result2 error)

func (*FakeResourceServiceInterface) GetStreamUpstreams

func (fake *FakeResourceServiceInterface) GetStreamUpstreams(arg1 context.Context, arg2 *v1.Instance) (*client.StreamUpstreams, error)

func (*FakeResourceServiceInterface) GetStreamUpstreamsArgsForCall

func (fake *FakeResourceServiceInterface) GetStreamUpstreamsArgsForCall(i int) (context.Context, *v1.Instance)

func (*FakeResourceServiceInterface) GetStreamUpstreamsCallCount

func (fake *FakeResourceServiceInterface) GetStreamUpstreamsCallCount() int

func (*FakeResourceServiceInterface) GetStreamUpstreamsCalls

func (fake *FakeResourceServiceInterface) GetStreamUpstreamsCalls(stub func(context.Context, *v1.Instance) (*client.StreamUpstreams, error))

func (*FakeResourceServiceInterface) GetStreamUpstreamsReturns

func (fake *FakeResourceServiceInterface) GetStreamUpstreamsReturns(result1 *client.StreamUpstreams, result2 error)

func (*FakeResourceServiceInterface) GetStreamUpstreamsReturnsOnCall

func (fake *FakeResourceServiceInterface) GetStreamUpstreamsReturnsOnCall(i int, result1 *client.StreamUpstreams, result2 error)

func (*FakeResourceServiceInterface) GetUpstreams

func (fake *FakeResourceServiceInterface) GetUpstreams(arg1 context.Context, arg2 *v1.Instance) (*client.Upstreams, error)

func (*FakeResourceServiceInterface) GetUpstreamsArgsForCall

func (fake *FakeResourceServiceInterface) GetUpstreamsArgsForCall(i int) (context.Context, *v1.Instance)

func (*FakeResourceServiceInterface) GetUpstreamsCallCount

func (fake *FakeResourceServiceInterface) GetUpstreamsCallCount() int

func (*FakeResourceServiceInterface) GetUpstreamsCalls

func (fake *FakeResourceServiceInterface) GetUpstreamsCalls(stub func(context.Context, *v1.Instance) (*client.Upstreams, error))

func (*FakeResourceServiceInterface) GetUpstreamsReturns

func (fake *FakeResourceServiceInterface) GetUpstreamsReturns(result1 *client.Upstreams, result2 error)

func (*FakeResourceServiceInterface) GetUpstreamsReturnsOnCall

func (fake *FakeResourceServiceInterface) GetUpstreamsReturnsOnCall(i int, result1 *client.Upstreams, result2 error)

func (*FakeResourceServiceInterface) Instance

func (fake *FakeResourceServiceInterface) Instance(arg1 string) *v1.Instance

func (*FakeResourceServiceInterface) InstanceArgsForCall

func (fake *FakeResourceServiceInterface) InstanceArgsForCall(i int) string

func (*FakeResourceServiceInterface) InstanceCallCount

func (fake *FakeResourceServiceInterface) InstanceCallCount() int

func (*FakeResourceServiceInterface) InstanceCalls

func (fake *FakeResourceServiceInterface) InstanceCalls(stub func(string) *v1.Instance)

func (*FakeResourceServiceInterface) InstanceReturns

func (fake *FakeResourceServiceInterface) InstanceReturns(result1 *v1.Instance)

func (*FakeResourceServiceInterface) InstanceReturnsOnCall

func (fake *FakeResourceServiceInterface) InstanceReturnsOnCall(i int, result1 *v1.Instance)

func (*FakeResourceServiceInterface) Invocations

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

func (*FakeResourceServiceInterface) UpdateHTTPUpstreamServers

func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServers(arg1 context.Context, arg2 *v1.Instance, arg3 string, arg4 []*structpb.Struct) ([]client.UpstreamServer, []client.UpstreamServer, []client.UpstreamServer, error)

func (*FakeResourceServiceInterface) UpdateHTTPUpstreamServersArgsForCall

func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersArgsForCall(i int) (context.Context, *v1.Instance, string, []*structpb.Struct)

func (*FakeResourceServiceInterface) UpdateHTTPUpstreamServersCallCount

func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersCallCount() int

func (*FakeResourceServiceInterface) UpdateHTTPUpstreamServersCalls

func (*FakeResourceServiceInterface) UpdateHTTPUpstreamServersReturns

func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersReturns(result1 []client.UpstreamServer, result2 []client.UpstreamServer, result3 []client.UpstreamServer, result4 error)

func (*FakeResourceServiceInterface) UpdateHTTPUpstreamServersReturnsOnCall

func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersReturnsOnCall(i int, result1 []client.UpstreamServer, result2 []client.UpstreamServer, result3 []client.UpstreamServer, result4 error)

func (*FakeResourceServiceInterface) UpdateInstances

func (fake *FakeResourceServiceInterface) UpdateInstances(arg1 context.Context, arg2 []*v1.Instance) *v1.Resource

func (*FakeResourceServiceInterface) UpdateInstancesArgsForCall

func (fake *FakeResourceServiceInterface) UpdateInstancesArgsForCall(i int) (context.Context, []*v1.Instance)

func (*FakeResourceServiceInterface) UpdateInstancesCallCount

func (fake *FakeResourceServiceInterface) UpdateInstancesCallCount() int

func (*FakeResourceServiceInterface) UpdateInstancesCalls

func (fake *FakeResourceServiceInterface) UpdateInstancesCalls(stub func(context.Context, []*v1.Instance) *v1.Resource)

func (*FakeResourceServiceInterface) UpdateInstancesReturns

func (fake *FakeResourceServiceInterface) UpdateInstancesReturns(result1 *v1.Resource)

func (*FakeResourceServiceInterface) UpdateInstancesReturnsOnCall

func (fake *FakeResourceServiceInterface) UpdateInstancesReturnsOnCall(i int, result1 *v1.Resource)

func (*FakeResourceServiceInterface) UpdateStreamServers

func (*FakeResourceServiceInterface) UpdateStreamServersArgsForCall

func (fake *FakeResourceServiceInterface) UpdateStreamServersArgsForCall(i int) (context.Context, *v1.Instance, string, []*structpb.Struct)

func (*FakeResourceServiceInterface) UpdateStreamServersCallCount

func (fake *FakeResourceServiceInterface) UpdateStreamServersCallCount() int

func (*FakeResourceServiceInterface) UpdateStreamServersCalls

func (*FakeResourceServiceInterface) UpdateStreamServersReturns

func (fake *FakeResourceServiceInterface) UpdateStreamServersReturns(result1 []client.StreamUpstreamServer, result2 []client.StreamUpstreamServer, result3 []client.StreamUpstreamServer, result4 error)

func (*FakeResourceServiceInterface) UpdateStreamServersReturnsOnCall

func (fake *FakeResourceServiceInterface) UpdateStreamServersReturnsOnCall(i int, result1 []client.StreamUpstreamServer, result2 []client.StreamUpstreamServer, result3 []client.StreamUpstreamServer, result4 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳