fake

package
v0.0.0-...-1c213c1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 8 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.

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 AuthorizedInChecker

type AuthorizedInChecker struct {
	AuthorizedInStub func(context.Context, authorization.Identity, string) (bool, error)
	// contains filtered or unexported fields
}

func (*AuthorizedInChecker) AuthorizedIn

func (fake *AuthorizedInChecker) AuthorizedIn(arg1 context.Context, arg2 authorization.Identity, arg3 string) (bool, error)

func (*AuthorizedInChecker) AuthorizedInArgsForCall

func (fake *AuthorizedInChecker) AuthorizedInArgsForCall(i int) (context.Context, authorization.Identity, string)

func (*AuthorizedInChecker) AuthorizedInCallCount

func (fake *AuthorizedInChecker) AuthorizedInCallCount() int

func (*AuthorizedInChecker) AuthorizedInCalls

func (fake *AuthorizedInChecker) AuthorizedInCalls(stub func(context.Context, authorization.Identity, string) (bool, error))

func (*AuthorizedInChecker) AuthorizedInReturns

func (fake *AuthorizedInChecker) AuthorizedInReturns(result1 bool, result2 error)

func (*AuthorizedInChecker) AuthorizedInReturnsOnCall

func (fake *AuthorizedInChecker) AuthorizedInReturnsOnCall(i int, result1 bool, result2 error)

func (*AuthorizedInChecker) Invocations

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

type CFSpaceRepository

type CFSpaceRepository struct {
	CreateSpaceStub func(context.Context, authorization.Info, repositories.CreateSpaceMessage) (repositories.SpaceRecord, error)

	DeleteSpaceStub func(context.Context, authorization.Info, repositories.DeleteSpaceMessage) error

	GetSpaceStub func(context.Context, authorization.Info, string) (repositories.SpaceRecord, error)

	ListSpacesStub func(context.Context, authorization.Info, repositories.ListSpacesMessage) ([]repositories.SpaceRecord, error)
	// contains filtered or unexported fields
}

func (*CFSpaceRepository) CreateSpace

func (*CFSpaceRepository) CreateSpaceArgsForCall

func (*CFSpaceRepository) CreateSpaceCallCount

func (fake *CFSpaceRepository) CreateSpaceCallCount() int

func (*CFSpaceRepository) CreateSpaceCalls

func (*CFSpaceRepository) CreateSpaceReturns

func (fake *CFSpaceRepository) CreateSpaceReturns(result1 repositories.SpaceRecord, result2 error)

func (*CFSpaceRepository) CreateSpaceReturnsOnCall

func (fake *CFSpaceRepository) CreateSpaceReturnsOnCall(i int, result1 repositories.SpaceRecord, result2 error)

func (*CFSpaceRepository) DeleteSpace

func (*CFSpaceRepository) DeleteSpaceArgsForCall

func (*CFSpaceRepository) DeleteSpaceCallCount

func (fake *CFSpaceRepository) DeleteSpaceCallCount() int

func (*CFSpaceRepository) DeleteSpaceCalls

func (*CFSpaceRepository) DeleteSpaceReturns

func (fake *CFSpaceRepository) DeleteSpaceReturns(result1 error)

func (*CFSpaceRepository) DeleteSpaceReturnsOnCall

func (fake *CFSpaceRepository) DeleteSpaceReturnsOnCall(i int, result1 error)

func (*CFSpaceRepository) GetSpace

func (*CFSpaceRepository) GetSpaceArgsForCall

func (fake *CFSpaceRepository) GetSpaceArgsForCall(i int) (context.Context, authorization.Info, string)

func (*CFSpaceRepository) GetSpaceCallCount

func (fake *CFSpaceRepository) GetSpaceCallCount() int

func (*CFSpaceRepository) GetSpaceCalls

func (*CFSpaceRepository) GetSpaceReturns

func (fake *CFSpaceRepository) GetSpaceReturns(result1 repositories.SpaceRecord, result2 error)

func (*CFSpaceRepository) GetSpaceReturnsOnCall

func (fake *CFSpaceRepository) GetSpaceReturnsOnCall(i int, result1 repositories.SpaceRecord, result2 error)

func (*CFSpaceRepository) Invocations

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

func (*CFSpaceRepository) ListSpaces

func (*CFSpaceRepository) ListSpacesArgsForCall

func (*CFSpaceRepository) ListSpacesCallCount

func (fake *CFSpaceRepository) ListSpacesCallCount() int

func (*CFSpaceRepository) ListSpacesCalls

func (*CFSpaceRepository) ListSpacesReturns

func (fake *CFSpaceRepository) ListSpacesReturns(result1 []repositories.SpaceRecord, result2 error)

func (*CFSpaceRepository) ListSpacesReturnsOnCall

func (fake *CFSpaceRepository) ListSpacesReturnsOnCall(i int, result1 []repositories.SpaceRecord, result2 error)

type ImageBuilder

type ImageBuilder struct {
	BuildStub func(context.Context, io.Reader) (v1.Image, error)
	// contains filtered or unexported fields
}

func (*ImageBuilder) Build

func (fake *ImageBuilder) Build(arg1 context.Context, arg2 io.Reader) (v1.Image, error)

func (*ImageBuilder) BuildArgsForCall

func (fake *ImageBuilder) BuildArgsForCall(i int) (context.Context, io.Reader)

func (*ImageBuilder) BuildCallCount

func (fake *ImageBuilder) BuildCallCount() int

func (*ImageBuilder) BuildCalls

func (fake *ImageBuilder) BuildCalls(stub func(context.Context, io.Reader) (v1.Image, error))

func (*ImageBuilder) BuildReturns

func (fake *ImageBuilder) BuildReturns(result1 v1.Image, result2 error)

func (*ImageBuilder) BuildReturnsOnCall

func (fake *ImageBuilder) BuildReturnsOnCall(i int, result1 v1.Image, result2 error)

func (*ImageBuilder) Invocations

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

type ImagePusher

type ImagePusher struct {
	PushStub func(context.Context, string, v1.Image, remote.Option) (string, error)
	// contains filtered or unexported fields
}

func (*ImagePusher) Invocations

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

func (*ImagePusher) Push

func (fake *ImagePusher) Push(arg1 context.Context, arg2 string, arg3 v1.Image, arg4 remote.Option) (string, error)

func (*ImagePusher) PushArgsForCall

func (fake *ImagePusher) PushArgsForCall(i int) (context.Context, string, v1.Image, remote.Option)

func (*ImagePusher) PushCallCount

func (fake *ImagePusher) PushCallCount() int

func (*ImagePusher) PushCalls

func (fake *ImagePusher) PushCalls(stub func(context.Context, string, v1.Image, remote.Option) (string, error))

func (*ImagePusher) PushReturns

func (fake *ImagePusher) PushReturns(result1 string, result2 error)

func (*ImagePusher) PushReturnsOnCall

func (fake *ImagePusher) PushReturnsOnCall(i int, result1 string, result2 error)

type MetricsFetcherFn

type MetricsFetcherFn struct {
	Stub func(context.Context, string, string) (*v1beta1.PodMetrics, error)
	// contains filtered or unexported fields
}

func (*MetricsFetcherFn) ArgsForCall

func (fake *MetricsFetcherFn) ArgsForCall(i int) (context.Context, string, string)

func (*MetricsFetcherFn) CallCount

func (fake *MetricsFetcherFn) CallCount() int

func (*MetricsFetcherFn) Calls

func (fake *MetricsFetcherFn) Calls(stub func(context.Context, string, string) (*v1beta1.PodMetrics, error))

func (*MetricsFetcherFn) Invocations

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

func (*MetricsFetcherFn) Returns

func (fake *MetricsFetcherFn) Returns(result1 *v1beta1.PodMetrics, result2 error)

func (*MetricsFetcherFn) ReturnsOnCall

func (fake *MetricsFetcherFn) ReturnsOnCall(i int, result1 *v1beta1.PodMetrics, result2 error)

func (*MetricsFetcherFn) Spy

func (fake *MetricsFetcherFn) Spy(arg1 context.Context, arg2 string, arg3 string) (*v1beta1.PodMetrics, error)

Jump to

Keyboard shortcuts

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