fake

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 6 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 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 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 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{}

Jump to

Keyboard shortcuts

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