fake

package
v0.0.0-...-d88c78e Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 AuthorizedNamespacesProvider

type AuthorizedNamespacesProvider struct {
	GetAuthorizedNamespacesStub func(context.Context, authorization.Identity) ([]string, error)
	// contains filtered or unexported fields
}

func (*AuthorizedNamespacesProvider) GetAuthorizedNamespaces

func (fake *AuthorizedNamespacesProvider) GetAuthorizedNamespaces(arg1 context.Context, arg2 authorization.Identity) ([]string, error)

func (*AuthorizedNamespacesProvider) GetAuthorizedNamespacesArgsForCall

func (fake *AuthorizedNamespacesProvider) GetAuthorizedNamespacesArgsForCall(i int) (context.Context, authorization.Identity)

func (*AuthorizedNamespacesProvider) GetAuthorizedNamespacesCallCount

func (fake *AuthorizedNamespacesProvider) GetAuthorizedNamespacesCallCount() int

func (*AuthorizedNamespacesProvider) GetAuthorizedNamespacesCalls

func (fake *AuthorizedNamespacesProvider) GetAuthorizedNamespacesCalls(stub func(context.Context, authorization.Identity) ([]string, error))

func (*AuthorizedNamespacesProvider) GetAuthorizedNamespacesReturns

func (fake *AuthorizedNamespacesProvider) GetAuthorizedNamespacesReturns(result1 []string, result2 error)

func (*AuthorizedNamespacesProvider) GetAuthorizedNamespacesReturnsOnCall

func (fake *AuthorizedNamespacesProvider) GetAuthorizedNamespacesReturnsOnCall(i int, result1 []string, result2 error)

func (*AuthorizedNamespacesProvider) Invocations

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

type CFOrgRepository

type CFOrgRepository struct {
	CreateOrgStub func(context.Context, repositories.OrgRecord) (repositories.OrgRecord, error)

	FetchOrgsStub func(context.Context, []string) ([]repositories.OrgRecord, error)
	// contains filtered or unexported fields
}

func (*CFOrgRepository) CreateOrg

func (*CFOrgRepository) CreateOrgArgsForCall

func (fake *CFOrgRepository) CreateOrgArgsForCall(i int) (context.Context, repositories.OrgRecord)

func (*CFOrgRepository) CreateOrgCallCount

func (fake *CFOrgRepository) CreateOrgCallCount() int

func (*CFOrgRepository) CreateOrgCalls

func (fake *CFOrgRepository) CreateOrgCalls(stub func(context.Context, repositories.OrgRecord) (repositories.OrgRecord, error))

func (*CFOrgRepository) CreateOrgReturns

func (fake *CFOrgRepository) CreateOrgReturns(result1 repositories.OrgRecord, result2 error)

func (*CFOrgRepository) CreateOrgReturnsOnCall

func (fake *CFOrgRepository) CreateOrgReturnsOnCall(i int, result1 repositories.OrgRecord, result2 error)

func (*CFOrgRepository) FetchOrgs

func (fake *CFOrgRepository) FetchOrgs(arg1 context.Context, arg2 []string) ([]repositories.OrgRecord, error)

func (*CFOrgRepository) FetchOrgsArgsForCall

func (fake *CFOrgRepository) FetchOrgsArgsForCall(i int) (context.Context, []string)

func (*CFOrgRepository) FetchOrgsCallCount

func (fake *CFOrgRepository) FetchOrgsCallCount() int

func (*CFOrgRepository) FetchOrgsCalls

func (fake *CFOrgRepository) FetchOrgsCalls(stub func(context.Context, []string) ([]repositories.OrgRecord, error))

func (*CFOrgRepository) FetchOrgsReturns

func (fake *CFOrgRepository) FetchOrgsReturns(result1 []repositories.OrgRecord, result2 error)

func (*CFOrgRepository) FetchOrgsReturnsOnCall

func (fake *CFOrgRepository) FetchOrgsReturnsOnCall(i int, result1 []repositories.OrgRecord, result2 error)

func (*CFOrgRepository) Invocations

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

Jump to

Keyboard shortcuts

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