fake

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 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.

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 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(string, v1.Image, remote.Option, 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 string, arg2 v1.Image, arg3 remote.Option, arg4 remote.Option) (string, error)

func (*ImagePusher) PushArgsForCall

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

func (*ImagePusher) PushCallCount

func (fake *ImagePusher) PushCallCount() int

func (*ImagePusher) PushCalls

func (fake *ImagePusher) PushCalls(stub func(string, v1.Image, remote.Option, 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