profilefakes

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: MIT Imports: 2 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 FakeManager

type FakeManager struct {
	SignStub func(data []byte) ([]byte, error)

	GetProfileStub func() (profile.Profile, error)

	IsCertificateValidStub func() bool

	RenewStub func() error
	// contains filtered or unexported fields
}

func (*FakeManager) GetProfile

func (fake *FakeManager) GetProfile() (profile.Profile, error)

func (*FakeManager) GetProfileCallCount

func (fake *FakeManager) GetProfileCallCount() int

func (*FakeManager) GetProfileReturns

func (fake *FakeManager) GetProfileReturns(result1 profile.Profile, result2 error)

func (*FakeManager) GetProfileReturnsOnCall added in v0.12.0

func (fake *FakeManager) GetProfileReturnsOnCall(i int, result1 profile.Profile, result2 error)

func (*FakeManager) Invocations

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

func (*FakeManager) IsCertificateValid

func (fake *FakeManager) IsCertificateValid() bool

func (*FakeManager) IsCertificateValidCallCount

func (fake *FakeManager) IsCertificateValidCallCount() int

func (*FakeManager) IsCertificateValidReturns

func (fake *FakeManager) IsCertificateValidReturns(result1 bool)

func (*FakeManager) IsCertificateValidReturnsOnCall added in v0.12.0

func (fake *FakeManager) IsCertificateValidReturnsOnCall(i int, result1 bool)

func (*FakeManager) Renew

func (fake *FakeManager) Renew() error

func (*FakeManager) RenewCallCount

func (fake *FakeManager) RenewCallCount() int

func (*FakeManager) RenewReturns

func (fake *FakeManager) RenewReturns(result1 error)

func (*FakeManager) RenewReturnsOnCall added in v0.12.0

func (fake *FakeManager) RenewReturnsOnCall(i int, result1 error)

func (*FakeManager) Sign

func (fake *FakeManager) Sign(data []byte) ([]byte, error)

func (*FakeManager) SignArgsForCall

func (fake *FakeManager) SignArgsForCall(i int) []byte

func (*FakeManager) SignCallCount

func (fake *FakeManager) SignCallCount() int

func (*FakeManager) SignReturns

func (fake *FakeManager) SignReturns(result1 []byte, result2 error)

func (*FakeManager) SignReturnsOnCall added in v0.12.0

func (fake *FakeManager) SignReturnsOnCall(i int, result1 []byte, result2 error)

Jump to

Keyboard shortcuts

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