mocks

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 Identity

type Identity struct {
	GetClientStub func() *lib.Client

	GetECertStub func() *x509.Signer

	ReenrollStub func(*api.ReenrollmentRequest) (*lib.EnrollmentResponse, error)
	// contains filtered or unexported fields
}

func (*Identity) GetClient

func (fake *Identity) GetClient() *lib.Client

func (*Identity) GetClientCallCount

func (fake *Identity) GetClientCallCount() int

func (*Identity) GetClientCalls

func (fake *Identity) GetClientCalls(stub func() *lib.Client)

func (*Identity) GetClientReturns

func (fake *Identity) GetClientReturns(result1 *lib.Client)

func (*Identity) GetClientReturnsOnCall

func (fake *Identity) GetClientReturnsOnCall(i int, result1 *lib.Client)

func (*Identity) GetECert

func (fake *Identity) GetECert() *x509.Signer

func (*Identity) GetECertCallCount

func (fake *Identity) GetECertCallCount() int

func (*Identity) GetECertCalls

func (fake *Identity) GetECertCalls(stub func() *x509.Signer)

func (*Identity) GetECertReturns

func (fake *Identity) GetECertReturns(result1 *x509.Signer)

func (*Identity) GetECertReturnsOnCall

func (fake *Identity) GetECertReturnsOnCall(i int, result1 *x509.Signer)

func (*Identity) Invocations

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

func (*Identity) Reenroll

func (fake *Identity) Reenroll(arg1 *api.ReenrollmentRequest) (*lib.EnrollmentResponse, error)

func (*Identity) ReenrollArgsForCall

func (fake *Identity) ReenrollArgsForCall(i int) *api.ReenrollmentRequest

func (*Identity) ReenrollCallCount

func (fake *Identity) ReenrollCallCount() int

func (*Identity) ReenrollCalls

func (fake *Identity) ReenrollCalls(stub func(*api.ReenrollmentRequest) (*lib.EnrollmentResponse, error))

func (*Identity) ReenrollReturns

func (fake *Identity) ReenrollReturns(result1 *lib.EnrollmentResponse, result2 error)

func (*Identity) ReenrollReturnsOnCall

func (fake *Identity) ReenrollReturnsOnCall(i int, result1 *lib.EnrollmentResponse, result2 error)

Jump to

Keyboard shortcuts

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