fake

package
v0.11.0 Latest Latest
Warning

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

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

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 AuthInfoParser

type AuthInfoParser struct {
	ParseStub func(string) (authorization.Info, error)
	// contains filtered or unexported fields
}

func (*AuthInfoParser) Invocations

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

func (*AuthInfoParser) Parse

func (fake *AuthInfoParser) Parse(arg1 string) (authorization.Info, error)

func (*AuthInfoParser) ParseArgsForCall

func (fake *AuthInfoParser) ParseArgsForCall(i int) string

func (*AuthInfoParser) ParseCallCount

func (fake *AuthInfoParser) ParseCallCount() int

func (*AuthInfoParser) ParseCalls

func (fake *AuthInfoParser) ParseCalls(stub func(string) (authorization.Info, error))

func (*AuthInfoParser) ParseReturns

func (fake *AuthInfoParser) ParseReturns(result1 authorization.Info, result2 error)

func (*AuthInfoParser) ParseReturnsOnCall

func (fake *AuthInfoParser) ParseReturnsOnCall(i int, result1 authorization.Info, result2 error)

type IdentityProvider

type IdentityProvider struct {
	GetIdentityStub func(context.Context, authorization.Info) (authorization.Identity, error)
	// contains filtered or unexported fields
}

func (*IdentityProvider) GetIdentity

func (fake *IdentityProvider) GetIdentity(arg1 context.Context, arg2 authorization.Info) (authorization.Identity, error)

func (*IdentityProvider) GetIdentityArgsForCall

func (fake *IdentityProvider) GetIdentityArgsForCall(i int) (context.Context, authorization.Info)

func (*IdentityProvider) GetIdentityCallCount

func (fake *IdentityProvider) GetIdentityCallCount() int

func (*IdentityProvider) GetIdentityCalls

func (fake *IdentityProvider) GetIdentityCalls(stub func(context.Context, authorization.Info) (authorization.Identity, error))

func (*IdentityProvider) GetIdentityReturns

func (fake *IdentityProvider) GetIdentityReturns(result1 authorization.Identity, result2 error)

func (*IdentityProvider) GetIdentityReturnsOnCall

func (fake *IdentityProvider) GetIdentityReturnsOnCall(i int, result1 authorization.Identity, result2 error)

func (*IdentityProvider) Invocations

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

type NamespacePermissionChecker added in v0.7.0

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

func (*NamespacePermissionChecker) AuthorizedIn added in v0.7.0

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

func (*NamespacePermissionChecker) AuthorizedInArgsForCall added in v0.7.0

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

func (*NamespacePermissionChecker) AuthorizedInCallCount added in v0.7.0

func (fake *NamespacePermissionChecker) AuthorizedInCallCount() int

func (*NamespacePermissionChecker) AuthorizedInCalls added in v0.7.0

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

func (*NamespacePermissionChecker) AuthorizedInReturns added in v0.7.0

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

func (*NamespacePermissionChecker) AuthorizedInReturnsOnCall added in v0.7.0

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

func (*NamespacePermissionChecker) Invocations added in v0.7.0

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

Jump to

Keyboard shortcuts

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