spiffefakes

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 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.

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 FakeCertFetcher

type FakeCertFetcher struct {
	StartStub func(context.Context) (<-chan *workloadapi.X509Context, <-chan error, error)

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

func (*FakeCertFetcher) Invocations

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

func (*FakeCertFetcher) Start

func (fake *FakeCertFetcher) Start(arg1 context.Context) (<-chan *workloadapi.X509Context, <-chan error, error)

func (*FakeCertFetcher) StartArgsForCall

func (fake *FakeCertFetcher) StartArgsForCall(i int) context.Context

func (*FakeCertFetcher) StartCallCount

func (fake *FakeCertFetcher) StartCallCount() int

func (*FakeCertFetcher) StartCalls

func (fake *FakeCertFetcher) StartCalls(stub func(context.Context) (<-chan *workloadapi.X509Context, <-chan error, error))

func (*FakeCertFetcher) StartReturns

func (fake *FakeCertFetcher) StartReturns(result1 <-chan *workloadapi.X509Context, result2 <-chan error, result3 error)

func (*FakeCertFetcher) StartReturnsOnCall

func (fake *FakeCertFetcher) StartReturnsOnCall(i int, result1 <-chan *workloadapi.X509Context, result2 <-chan error, result3 error)

func (*FakeCertFetcher) Stop

func (fake *FakeCertFetcher) Stop() error

func (*FakeCertFetcher) StopCallCount

func (fake *FakeCertFetcher) StopCallCount() int

func (*FakeCertFetcher) StopCalls

func (fake *FakeCertFetcher) StopCalls(stub func() error)

func (*FakeCertFetcher) StopReturns

func (fake *FakeCertFetcher) StopReturns(result1 error)

func (*FakeCertFetcher) StopReturnsOnCall

func (fake *FakeCertFetcher) StopReturnsOnCall(i int, result1 error)

type FakeClient

type FakeClient struct {
	CloseStub func() error

	WatchX509ContextStub func(context.Context, workloadapi.X509ContextWatcher) error
	// contains filtered or unexported fields
}

func (*FakeClient) Close

func (fake *FakeClient) Close() error

func (*FakeClient) CloseCallCount

func (fake *FakeClient) CloseCallCount() int

func (*FakeClient) CloseCalls

func (fake *FakeClient) CloseCalls(stub func() error)

func (*FakeClient) CloseReturns

func (fake *FakeClient) CloseReturns(result1 error)

func (*FakeClient) CloseReturnsOnCall

func (fake *FakeClient) CloseReturnsOnCall(i int, result1 error)

func (*FakeClient) Invocations

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

func (*FakeClient) WatchX509Context

func (fake *FakeClient) WatchX509Context(arg1 context.Context, arg2 workloadapi.X509ContextWatcher) error

func (*FakeClient) WatchX509ContextArgsForCall

func (fake *FakeClient) WatchX509ContextArgsForCall(i int) (context.Context, workloadapi.X509ContextWatcher)

func (*FakeClient) WatchX509ContextCallCount

func (fake *FakeClient) WatchX509ContextCallCount() int

func (*FakeClient) WatchX509ContextCalls

func (fake *FakeClient) WatchX509ContextCalls(stub func(context.Context, workloadapi.X509ContextWatcher) error)

func (*FakeClient) WatchX509ContextReturns

func (fake *FakeClient) WatchX509ContextReturns(result1 error)

func (*FakeClient) WatchX509ContextReturnsOnCall

func (fake *FakeClient) WatchX509ContextReturnsOnCall(i int, result1 error)

type FakeReloader

type FakeReloader struct {
	ReloadStub func() error
	// contains filtered or unexported fields
}

func (*FakeReloader) Invocations

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

func (*FakeReloader) Reload

func (fake *FakeReloader) Reload() error

func (*FakeReloader) ReloadCallCount

func (fake *FakeReloader) ReloadCallCount() int

func (*FakeReloader) ReloadCalls

func (fake *FakeReloader) ReloadCalls(stub func() error)

func (*FakeReloader) ReloadReturns

func (fake *FakeReloader) ReloadReturns(result1 error)

func (*FakeReloader) ReloadReturnsOnCall

func (fake *FakeReloader) ReloadReturnsOnCall(i int, result1 error)

type FakeSVIDWriter

type FakeSVIDWriter struct {
	WriteStub func(*workloadapi.X509Context) error
	// contains filtered or unexported fields
}

func (*FakeSVIDWriter) Invocations

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

func (*FakeSVIDWriter) Write

func (fake *FakeSVIDWriter) Write(arg1 *workloadapi.X509Context) error

func (*FakeSVIDWriter) WriteArgsForCall

func (fake *FakeSVIDWriter) WriteArgsForCall(i int) *workloadapi.X509Context

func (*FakeSVIDWriter) WriteCallCount

func (fake *FakeSVIDWriter) WriteCallCount() int

func (*FakeSVIDWriter) WriteCalls

func (fake *FakeSVIDWriter) WriteCalls(stub func(*workloadapi.X509Context) error)

func (*FakeSVIDWriter) WriteReturns

func (fake *FakeSVIDWriter) WriteReturns(result1 error)

func (*FakeSVIDWriter) WriteReturnsOnCall

func (fake *FakeSVIDWriter) WriteReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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