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 FakeInstanceOperator
- func (fake *FakeInstanceOperator) Invocations() map[string][][]interface{}
- func (fake *FakeInstanceOperator) Reload(arg1 context.Context, arg2 *v1.Instance) error
- func (fake *FakeInstanceOperator) ReloadArgsForCall(i int) (context.Context, *v1.Instance)
- func (fake *FakeInstanceOperator) ReloadCallCount() int
- func (fake *FakeInstanceOperator) ReloadCalls(stub func(context.Context, *v1.Instance) error)
- func (fake *FakeInstanceOperator) ReloadReturns(result1 error)
- func (fake *FakeInstanceOperator) ReloadReturnsOnCall(i int, result1 error)
- func (fake *FakeInstanceOperator) Validate(arg1 context.Context, arg2 *v1.Instance) error
- func (fake *FakeInstanceOperator) ValidateArgsForCall(i int) (context.Context, *v1.Instance)
- func (fake *FakeInstanceOperator) ValidateCallCount() int
- func (fake *FakeInstanceOperator) ValidateCalls(stub func(context.Context, *v1.Instance) error)
- func (fake *FakeInstanceOperator) ValidateReturns(result1 error)
- func (fake *FakeInstanceOperator) ValidateReturnsOnCall(i int, result1 error)
- type FakeLogTailerOperator
- func (fake *FakeLogTailerOperator) Invocations() map[string][][]interface{}
- func (fake *FakeLogTailerOperator) Tail(arg1 context.Context, arg2 string, arg3 chan error)
- func (fake *FakeLogTailerOperator) TailArgsForCall(i int) (context.Context, string, chan error)
- func (fake *FakeLogTailerOperator) TailCallCount() int
- func (fake *FakeLogTailerOperator) TailCalls(stub func(context.Context, string, chan error))
- type FakeResourceServiceInterface
- func (fake *FakeResourceServiceInterface) AddInstances(arg1 []*v1.Instance) *v1.Resource
- func (fake *FakeResourceServiceInterface) AddInstancesArgsForCall(i int) []*v1.Instance
- func (fake *FakeResourceServiceInterface) AddInstancesCallCount() int
- func (fake *FakeResourceServiceInterface) AddInstancesCalls(stub func([]*v1.Instance) *v1.Resource)
- func (fake *FakeResourceServiceInterface) AddInstancesReturns(result1 *v1.Resource)
- func (fake *FakeResourceServiceInterface) AddInstancesReturnsOnCall(i int, result1 *v1.Resource)
- func (fake *FakeResourceServiceInterface) ApplyConfig(arg1 context.Context, arg2 string) error
- func (fake *FakeResourceServiceInterface) ApplyConfigArgsForCall(i int) (context.Context, string)
- func (fake *FakeResourceServiceInterface) ApplyConfigCallCount() int
- func (fake *FakeResourceServiceInterface) ApplyConfigCalls(stub func(context.Context, string) error)
- func (fake *FakeResourceServiceInterface) ApplyConfigReturns(result1 error)
- func (fake *FakeResourceServiceInterface) ApplyConfigReturnsOnCall(i int, result1 error)
- func (fake *FakeResourceServiceInterface) DeleteInstances(arg1 context.Context, arg2 []*v1.Instance) *v1.Resource
- func (fake *FakeResourceServiceInterface) DeleteInstancesArgsForCall(i int) (context.Context, []*v1.Instance)
- func (fake *FakeResourceServiceInterface) DeleteInstancesCallCount() int
- func (fake *FakeResourceServiceInterface) DeleteInstancesCalls(stub func(context.Context, []*v1.Instance) *v1.Resource)
- func (fake *FakeResourceServiceInterface) DeleteInstancesReturns(result1 *v1.Resource)
- func (fake *FakeResourceServiceInterface) DeleteInstancesReturnsOnCall(i int, result1 *v1.Resource)
- func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServers(arg1 context.Context, arg2 *v1.Instance, arg3 string) ([]client.UpstreamServer, error)
- func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersArgsForCall(i int) (context.Context, *v1.Instance, string)
- func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersCallCount() int
- func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersCalls(...)
- func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersReturns(result1 []client.UpstreamServer, result2 error)
- func (fake *FakeResourceServiceInterface) GetHTTPUpstreamServersReturnsOnCall(i int, result1 []client.UpstreamServer, result2 error)
- func (fake *FakeResourceServiceInterface) GetStreamUpstreams(arg1 context.Context, arg2 *v1.Instance) (*client.StreamUpstreams, error)
- func (fake *FakeResourceServiceInterface) GetStreamUpstreamsArgsForCall(i int) (context.Context, *v1.Instance)
- func (fake *FakeResourceServiceInterface) GetStreamUpstreamsCallCount() int
- func (fake *FakeResourceServiceInterface) GetStreamUpstreamsCalls(stub func(context.Context, *v1.Instance) (*client.StreamUpstreams, error))
- func (fake *FakeResourceServiceInterface) GetStreamUpstreamsReturns(result1 *client.StreamUpstreams, result2 error)
- func (fake *FakeResourceServiceInterface) GetStreamUpstreamsReturnsOnCall(i int, result1 *client.StreamUpstreams, result2 error)
- func (fake *FakeResourceServiceInterface) GetUpstreams(arg1 context.Context, arg2 *v1.Instance) (*client.Upstreams, error)
- func (fake *FakeResourceServiceInterface) GetUpstreamsArgsForCall(i int) (context.Context, *v1.Instance)
- func (fake *FakeResourceServiceInterface) GetUpstreamsCallCount() int
- func (fake *FakeResourceServiceInterface) GetUpstreamsCalls(stub func(context.Context, *v1.Instance) (*client.Upstreams, error))
- func (fake *FakeResourceServiceInterface) GetUpstreamsReturns(result1 *client.Upstreams, result2 error)
- func (fake *FakeResourceServiceInterface) GetUpstreamsReturnsOnCall(i int, result1 *client.Upstreams, result2 error)
- func (fake *FakeResourceServiceInterface) Instance(arg1 string) *v1.Instance
- func (fake *FakeResourceServiceInterface) InstanceArgsForCall(i int) string
- func (fake *FakeResourceServiceInterface) InstanceCallCount() int
- func (fake *FakeResourceServiceInterface) InstanceCalls(stub func(string) *v1.Instance)
- func (fake *FakeResourceServiceInterface) InstanceReturns(result1 *v1.Instance)
- func (fake *FakeResourceServiceInterface) InstanceReturnsOnCall(i int, result1 *v1.Instance)
- func (fake *FakeResourceServiceInterface) Invocations() map[string][][]interface{}
- func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServers(arg1 context.Context, arg2 *v1.Instance, arg3 string, arg4 []*structpb.Struct) ([]client.UpstreamServer, []client.UpstreamServer, []client.UpstreamServer, ...)
- func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersArgsForCall(i int) (context.Context, *v1.Instance, string, []*structpb.Struct)
- func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersCallCount() int
- func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersCalls(...)
- func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersReturns(result1 []client.UpstreamServer, result2 []client.UpstreamServer, ...)
- func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersReturnsOnCall(i int, result1 []client.UpstreamServer, result2 []client.UpstreamServer, ...)
- func (fake *FakeResourceServiceInterface) UpdateInstances(arg1 context.Context, arg2 []*v1.Instance) *v1.Resource
- func (fake *FakeResourceServiceInterface) UpdateInstancesArgsForCall(i int) (context.Context, []*v1.Instance)
- func (fake *FakeResourceServiceInterface) UpdateInstancesCallCount() int
- func (fake *FakeResourceServiceInterface) UpdateInstancesCalls(stub func(context.Context, []*v1.Instance) *v1.Resource)
- func (fake *FakeResourceServiceInterface) UpdateInstancesReturns(result1 *v1.Resource)
- func (fake *FakeResourceServiceInterface) UpdateInstancesReturnsOnCall(i int, result1 *v1.Resource)
- func (fake *FakeResourceServiceInterface) UpdateStreamServers(arg1 context.Context, arg2 *v1.Instance, arg3 string, arg4 []*structpb.Struct) ([]client.StreamUpstreamServer, []client.StreamUpstreamServer, ...)
- func (fake *FakeResourceServiceInterface) UpdateStreamServersArgsForCall(i int) (context.Context, *v1.Instance, string, []*structpb.Struct)
- func (fake *FakeResourceServiceInterface) UpdateStreamServersCallCount() int
- func (fake *FakeResourceServiceInterface) UpdateStreamServersCalls(...)
- func (fake *FakeResourceServiceInterface) UpdateStreamServersReturns(result1 []client.StreamUpstreamServer, result2 []client.StreamUpstreamServer, ...)
- func (fake *FakeResourceServiceInterface) UpdateStreamServersReturnsOnCall(i int, result1 []client.StreamUpstreamServer, ...)
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) ReloadArgsForCall ¶
func (*FakeInstanceOperator) ReloadCallCount ¶
func (fake *FakeInstanceOperator) ReloadCallCount() int
func (*FakeInstanceOperator) ReloadCalls ¶
func (*FakeInstanceOperator) ReloadReturns ¶
func (fake *FakeInstanceOperator) ReloadReturns(result1 error)
func (*FakeInstanceOperator) ReloadReturnsOnCall ¶
func (fake *FakeInstanceOperator) ReloadReturnsOnCall(i int, result1 error)
func (*FakeInstanceOperator) ValidateArgsForCall ¶
func (*FakeInstanceOperator) ValidateCallCount ¶
func (fake *FakeInstanceOperator) ValidateCallCount() int
func (*FakeInstanceOperator) ValidateCalls ¶
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 (*FakeLogTailerOperator) TailCallCount ¶
func (fake *FakeLogTailerOperator) TailCallCount() int
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 (*FakeResourceServiceInterface) DeleteInstancesArgsForCall ¶
func (*FakeResourceServiceInterface) DeleteInstancesCallCount ¶
func (fake *FakeResourceServiceInterface) DeleteInstancesCallCount() int
func (*FakeResourceServiceInterface) DeleteInstancesCalls ¶
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 (*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 (*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 (*FakeResourceServiceInterface) GetUpstreamsArgsForCall ¶
func (*FakeResourceServiceInterface) GetUpstreamsCallCount ¶
func (fake *FakeResourceServiceInterface) GetUpstreamsCallCount() int
func (*FakeResourceServiceInterface) GetUpstreamsCalls ¶
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 (*FakeResourceServiceInterface) UpdateHTTPUpstreamServersCallCount ¶
func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersCallCount() int
func (*FakeResourceServiceInterface) UpdateHTTPUpstreamServersCalls ¶
func (fake *FakeResourceServiceInterface) UpdateHTTPUpstreamServersCalls(stub func(context.Context, *v1.Instance, string, []*structpb.Struct) ([]client.UpstreamServer, []client.UpstreamServer, []client.UpstreamServer, error))
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 (*FakeResourceServiceInterface) UpdateInstancesArgsForCall ¶
func (*FakeResourceServiceInterface) UpdateInstancesCallCount ¶
func (fake *FakeResourceServiceInterface) UpdateInstancesCallCount() int
func (*FakeResourceServiceInterface) UpdateInstancesCalls ¶
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 (fake *FakeResourceServiceInterface) UpdateStreamServers(arg1 context.Context, arg2 *v1.Instance, arg3 string, arg4 []*structpb.Struct) ([]client.StreamUpstreamServer, []client.StreamUpstreamServer, []client.StreamUpstreamServer, error)
func (*FakeResourceServiceInterface) UpdateStreamServersArgsForCall ¶
func (*FakeResourceServiceInterface) UpdateStreamServersCallCount ¶
func (fake *FakeResourceServiceInterface) UpdateStreamServersCallCount() int
func (*FakeResourceServiceInterface) UpdateStreamServersCalls ¶
func (fake *FakeResourceServiceInterface) UpdateStreamServersCalls(stub func(context.Context, *v1.Instance, string, []*structpb.Struct) ([]client.StreamUpstreamServer, []client.StreamUpstreamServer, []client.StreamUpstreamServer, error))
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)
Click to show internal directories.
Click to hide internal directories.