fake

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 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.

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 AppSorter added in v0.14.0

type AppSorter struct {
	SortStub func([]repositories.AppRecord, string) []repositories.AppRecord
	// contains filtered or unexported fields
}

func (*AppSorter) Invocations added in v0.14.0

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

func (*AppSorter) Sort added in v0.14.0

func (fake *AppSorter) Sort(arg1 []repositories.AppRecord, arg2 string) []repositories.AppRecord

func (*AppSorter) SortArgsForCall added in v0.14.0

func (fake *AppSorter) SortArgsForCall(i int) ([]repositories.AppRecord, string)

func (*AppSorter) SortCallCount added in v0.14.0

func (fake *AppSorter) SortCallCount() int

func (*AppSorter) SortCalls added in v0.14.0

func (fake *AppSorter) SortCalls(stub func([]repositories.AppRecord, string) []repositories.AppRecord)

func (*AppSorter) SortReturns added in v0.14.0

func (fake *AppSorter) SortReturns(result1 []repositories.AppRecord)

func (*AppSorter) SortReturnsOnCall added in v0.14.0

func (fake *AppSorter) SortReturnsOnCall(i int, result1 []repositories.AppRecord)

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 BuildpackSorter added in v0.14.0

type BuildpackSorter struct {
	SortStub func([]repositories.BuildpackRecord, string) []repositories.BuildpackRecord
	// contains filtered or unexported fields
}

func (*BuildpackSorter) Invocations added in v0.14.0

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

func (*BuildpackSorter) Sort added in v0.14.0

func (*BuildpackSorter) SortArgsForCall added in v0.14.0

func (fake *BuildpackSorter) SortArgsForCall(i int) ([]repositories.BuildpackRecord, string)

func (*BuildpackSorter) SortCallCount added in v0.14.0

func (fake *BuildpackSorter) SortCallCount() int

func (*BuildpackSorter) SortCalls added in v0.14.0

func (*BuildpackSorter) SortReturns added in v0.14.0

func (fake *BuildpackSorter) SortReturns(result1 []repositories.BuildpackRecord)

func (*BuildpackSorter) SortReturnsOnCall added in v0.14.0

func (fake *BuildpackSorter) SortReturnsOnCall(i int, result1 []repositories.BuildpackRecord)

type DeploymentSorter added in v0.13.0

type DeploymentSorter struct {
	SortStub func([]repositories.DeploymentRecord, string) []repositories.DeploymentRecord
	// contains filtered or unexported fields
}

func (*DeploymentSorter) Invocations added in v0.13.0

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

func (*DeploymentSorter) Sort added in v0.13.0

func (*DeploymentSorter) SortArgsForCall added in v0.13.0

func (fake *DeploymentSorter) SortArgsForCall(i int) ([]repositories.DeploymentRecord, string)

func (*DeploymentSorter) SortCallCount added in v0.13.0

func (fake *DeploymentSorter) SortCallCount() int

func (*DeploymentSorter) SortCalls added in v0.13.0

func (*DeploymentSorter) SortReturns added in v0.13.0

func (fake *DeploymentSorter) SortReturns(result1 []repositories.DeploymentRecord)

func (*DeploymentSorter) SortReturnsOnCall added in v0.13.0

func (fake *DeploymentSorter) SortReturnsOnCall(i int, result1 []repositories.DeploymentRecord)

type ImagePusher

type ImagePusher struct {
	PushStub func(context.Context, image.Creds, string, io.Reader, ...string) (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 image.Creds, arg3 string, arg4 io.Reader, arg5 ...string) (string, error)

func (*ImagePusher) PushArgsForCall

func (fake *ImagePusher) PushArgsForCall(i int) (context.Context, image.Creds, string, io.Reader, []string)

func (*ImagePusher) PushCallCount

func (fake *ImagePusher) PushCallCount() int

func (*ImagePusher) PushCalls

func (fake *ImagePusher) PushCalls(stub func(context.Context, image.Creds, string, io.Reader, ...string) (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 LogStreamer added in v0.13.0

type LogStreamer struct {
	Stub func(context.Context, kubernetes.Interface, v1.Pod, v1.PodLogOptions) (io.ReadCloser, error)
	// contains filtered or unexported fields
}

func (*LogStreamer) ArgsForCall added in v0.13.0

func (*LogStreamer) CallCount added in v0.13.0

func (fake *LogStreamer) CallCount() int

func (*LogStreamer) Calls added in v0.13.0

func (*LogStreamer) Invocations added in v0.13.0

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

func (*LogStreamer) Returns added in v0.13.0

func (fake *LogStreamer) Returns(result1 io.ReadCloser, result2 error)

func (*LogStreamer) ReturnsOnCall added in v0.13.0

func (fake *LogStreamer) ReturnsOnCall(i int, result1 io.ReadCloser, result2 error)

func (*LogStreamer) Spy added in v0.13.0

func (fake *LogStreamer) Spy(arg1 context.Context, arg2 kubernetes.Interface, arg3 v1.Pod, arg4 v1.PodLogOptions) (io.ReadCloser, error)

type PackageSorter added in v0.14.0

type PackageSorter struct {
	SortStub func([]repositories.PackageRecord, string) []repositories.PackageRecord
	// contains filtered or unexported fields
}

func (*PackageSorter) Invocations added in v0.14.0

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

func (*PackageSorter) Sort added in v0.14.0

func (*PackageSorter) SortArgsForCall added in v0.14.0

func (fake *PackageSorter) SortArgsForCall(i int) ([]repositories.PackageRecord, string)

func (*PackageSorter) SortCallCount added in v0.14.0

func (fake *PackageSorter) SortCallCount() int

func (*PackageSorter) SortCalls added in v0.14.0

func (fake *PackageSorter) SortCalls(stub func([]repositories.PackageRecord, string) []repositories.PackageRecord)

func (*PackageSorter) SortReturns added in v0.14.0

func (fake *PackageSorter) SortReturns(result1 []repositories.PackageRecord)

func (*PackageSorter) SortReturnsOnCall added in v0.14.0

func (fake *PackageSorter) SortReturnsOnCall(i int, result1 []repositories.PackageRecord)

type RepositoryCreator added in v0.5.0

type RepositoryCreator struct {
	CreateRepositoryStub func(context.Context, string) error
	// contains filtered or unexported fields
}

func (*RepositoryCreator) CreateRepository added in v0.5.0

func (fake *RepositoryCreator) CreateRepository(arg1 context.Context, arg2 string) error

func (*RepositoryCreator) CreateRepositoryArgsForCall added in v0.5.0

func (fake *RepositoryCreator) CreateRepositoryArgsForCall(i int) (context.Context, string)

func (*RepositoryCreator) CreateRepositoryCallCount added in v0.5.0

func (fake *RepositoryCreator) CreateRepositoryCallCount() int

func (*RepositoryCreator) CreateRepositoryCalls added in v0.5.0

func (fake *RepositoryCreator) CreateRepositoryCalls(stub func(context.Context, string) error)

func (*RepositoryCreator) CreateRepositoryReturns added in v0.5.0

func (fake *RepositoryCreator) CreateRepositoryReturns(result1 error)

func (*RepositoryCreator) CreateRepositoryReturnsOnCall added in v0.5.0

func (fake *RepositoryCreator) CreateRepositoryReturnsOnCall(i int, result1 error)

func (*RepositoryCreator) Invocations added in v0.5.0

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

type RoleSorter added in v0.14.0

type RoleSorter struct {
	SortStub func([]repositories.RoleRecord, string) []repositories.RoleRecord
	// contains filtered or unexported fields
}

func (*RoleSorter) Invocations added in v0.14.0

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

func (*RoleSorter) Sort added in v0.14.0

func (fake *RoleSorter) Sort(arg1 []repositories.RoleRecord, arg2 string) []repositories.RoleRecord

func (*RoleSorter) SortArgsForCall added in v0.14.0

func (fake *RoleSorter) SortArgsForCall(i int) ([]repositories.RoleRecord, string)

func (*RoleSorter) SortCallCount added in v0.14.0

func (fake *RoleSorter) SortCallCount() int

func (*RoleSorter) SortCalls added in v0.14.0

func (fake *RoleSorter) SortCalls(stub func([]repositories.RoleRecord, string) []repositories.RoleRecord)

func (*RoleSorter) SortReturns added in v0.14.0

func (fake *RoleSorter) SortReturns(result1 []repositories.RoleRecord)

func (*RoleSorter) SortReturnsOnCall added in v0.14.0

func (fake *RoleSorter) SortReturnsOnCall(i int, result1 []repositories.RoleRecord)

type ServiceInstanceSorter added in v0.14.0

type ServiceInstanceSorter struct {
	SortStub func([]repositories.ServiceInstanceRecord, string) []repositories.ServiceInstanceRecord
	// contains filtered or unexported fields
}

func (*ServiceInstanceSorter) Invocations added in v0.14.0

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

func (*ServiceInstanceSorter) Sort added in v0.14.0

func (*ServiceInstanceSorter) SortArgsForCall added in v0.14.0

func (fake *ServiceInstanceSorter) SortArgsForCall(i int) ([]repositories.ServiceInstanceRecord, string)

func (*ServiceInstanceSorter) SortCallCount added in v0.14.0

func (fake *ServiceInstanceSorter) SortCallCount() int

func (*ServiceInstanceSorter) SortCalls added in v0.14.0

func (*ServiceInstanceSorter) SortReturns added in v0.14.0

func (fake *ServiceInstanceSorter) SortReturns(result1 []repositories.ServiceInstanceRecord)

func (*ServiceInstanceSorter) SortReturnsOnCall added in v0.14.0

func (fake *ServiceInstanceSorter) SortReturnsOnCall(i int, result1 []repositories.ServiceInstanceRecord)

Jump to

Keyboard shortcuts

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