aviatorfakes

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT 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.

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 FakeExecutor

type FakeExecutor struct {
	CommandStub func(interface{}) ([]*exec.Cmd, error)
	// contains filtered or unexported fields
}

func (*FakeExecutor) Command added in v1.3.0

func (fake *FakeExecutor) Command(arg1 interface{}) ([]*exec.Cmd, error)

func (*FakeExecutor) CommandArgsForCall added in v1.3.0

func (fake *FakeExecutor) CommandArgsForCall(i int) interface{}

func (*FakeExecutor) CommandCallCount added in v1.3.0

func (fake *FakeExecutor) CommandCallCount() int

func (*FakeExecutor) CommandReturns added in v1.3.0

func (fake *FakeExecutor) CommandReturns(result1 []*exec.Cmd, result2 error)

func (*FakeExecutor) CommandReturnsOnCall added in v1.3.0

func (fake *FakeExecutor) CommandReturnsOnCall(i int, result1 []*exec.Cmd, result2 error)

func (*FakeExecutor) Invocations

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

type FakeFileStore

type FakeFileStore struct {
	ReadFileStub func(string) ([]byte, bool)

	WriteFileStub func(string, []byte) error

	ReadDirStub func(string) ([]os.FileInfo, error)

	WalkStub func(string) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeFileStore) Invocations

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

func (*FakeFileStore) ReadDir

func (fake *FakeFileStore) ReadDir(arg1 string) ([]os.FileInfo, error)

func (*FakeFileStore) ReadDirArgsForCall

func (fake *FakeFileStore) ReadDirArgsForCall(i int) string

func (*FakeFileStore) ReadDirCallCount

func (fake *FakeFileStore) ReadDirCallCount() int

func (*FakeFileStore) ReadDirReturns

func (fake *FakeFileStore) ReadDirReturns(result1 []os.FileInfo, result2 error)

func (*FakeFileStore) ReadDirReturnsOnCall

func (fake *FakeFileStore) ReadDirReturnsOnCall(i int, result1 []os.FileInfo, result2 error)

func (*FakeFileStore) ReadFile

func (fake *FakeFileStore) ReadFile(arg1 string) ([]byte, bool)

func (*FakeFileStore) ReadFileArgsForCall

func (fake *FakeFileStore) ReadFileArgsForCall(i int) string

func (*FakeFileStore) ReadFileCallCount

func (fake *FakeFileStore) ReadFileCallCount() int

func (*FakeFileStore) ReadFileReturns

func (fake *FakeFileStore) ReadFileReturns(result1 []byte, result2 bool)

func (*FakeFileStore) ReadFileReturnsOnCall

func (fake *FakeFileStore) ReadFileReturnsOnCall(i int, result1 []byte, result2 bool)

func (*FakeFileStore) Walk

func (fake *FakeFileStore) Walk(arg1 string) ([]string, error)

func (*FakeFileStore) WalkArgsForCall

func (fake *FakeFileStore) WalkArgsForCall(i int) string

func (*FakeFileStore) WalkCallCount

func (fake *FakeFileStore) WalkCallCount() int

func (*FakeFileStore) WalkReturns

func (fake *FakeFileStore) WalkReturns(result1 []string, result2 error)

func (*FakeFileStore) WalkReturnsOnCall

func (fake *FakeFileStore) WalkReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeFileStore) WriteFile

func (fake *FakeFileStore) WriteFile(arg1 string, arg2 []byte) error

func (*FakeFileStore) WriteFileArgsForCall

func (fake *FakeFileStore) WriteFileArgsForCall(i int) (string, []byte)

func (*FakeFileStore) WriteFileCallCount

func (fake *FakeFileStore) WriteFileCallCount() int

func (*FakeFileStore) WriteFileReturns

func (fake *FakeFileStore) WriteFileReturns(result1 error)

func (*FakeFileStore) WriteFileReturnsOnCall

func (fake *FakeFileStore) WriteFileReturnsOnCall(i int, result1 error)

type FakeGomlClient added in v0.14.0

type FakeGomlClient struct {
	DeleteStub func([]byte, string) ([]byte, error)

	SetStub func([]byte, string, string) ([]byte, error)

	UpdateStub func([]byte, string, string) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeGomlClient) Delete added in v0.14.0

func (fake *FakeGomlClient) Delete(arg1 []byte, arg2 string) ([]byte, error)

func (*FakeGomlClient) DeleteArgsForCall added in v0.14.0

func (fake *FakeGomlClient) DeleteArgsForCall(i int) ([]byte, string)

func (*FakeGomlClient) DeleteCallCount added in v0.14.0

func (fake *FakeGomlClient) DeleteCallCount() int

func (*FakeGomlClient) DeleteReturns added in v0.14.0

func (fake *FakeGomlClient) DeleteReturns(result1 []byte, result2 error)

func (*FakeGomlClient) DeleteReturnsOnCall added in v0.14.0

func (fake *FakeGomlClient) DeleteReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeGomlClient) Invocations added in v0.14.0

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

func (*FakeGomlClient) Set added in v0.14.0

func (fake *FakeGomlClient) Set(arg1 []byte, arg2 string, arg3 string) ([]byte, error)

func (*FakeGomlClient) SetArgsForCall added in v0.14.0

func (fake *FakeGomlClient) SetArgsForCall(i int) ([]byte, string, string)

func (*FakeGomlClient) SetCallCount added in v0.14.0

func (fake *FakeGomlClient) SetCallCount() int

func (*FakeGomlClient) SetReturns added in v0.14.0

func (fake *FakeGomlClient) SetReturns(result1 []byte, result2 error)

func (*FakeGomlClient) SetReturnsOnCall added in v0.14.0

func (fake *FakeGomlClient) SetReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeGomlClient) Update added in v0.14.0

func (fake *FakeGomlClient) Update(arg1 []byte, arg2 string, arg3 string) ([]byte, error)

func (*FakeGomlClient) UpdateArgsForCall added in v0.14.0

func (fake *FakeGomlClient) UpdateArgsForCall(i int) ([]byte, string, string)

func (*FakeGomlClient) UpdateCallCount added in v0.14.0

func (fake *FakeGomlClient) UpdateCallCount() int

func (*FakeGomlClient) UpdateReturns added in v0.14.0

func (fake *FakeGomlClient) UpdateReturns(result1 []byte, result2 error)

func (*FakeGomlClient) UpdateReturnsOnCall added in v0.14.0

func (fake *FakeGomlClient) UpdateReturnsOnCall(i int, result1 []byte, result2 error)

type FakeModifier added in v0.14.0

type FakeModifier struct {
	ModifyStub func([]byte, aviator.Modify) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeModifier) Invocations added in v0.14.0

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

func (*FakeModifier) Modify added in v0.14.0

func (fake *FakeModifier) Modify(arg1 []byte, arg2 aviator.Modify) ([]byte, error)

func (*FakeModifier) ModifyArgsForCall added in v0.14.0

func (fake *FakeModifier) ModifyArgsForCall(i int) ([]byte, aviator.Modify)

func (*FakeModifier) ModifyCallCount added in v0.14.0

func (fake *FakeModifier) ModifyCallCount() int

func (*FakeModifier) ModifyReturns added in v0.14.0

func (fake *FakeModifier) ModifyReturns(result1 []byte, result2 error)

func (*FakeModifier) ModifyReturnsOnCall added in v0.14.0

func (fake *FakeModifier) ModifyReturnsOnCall(i int, result1 []byte, result2 error)

type FakeSpruceClient

type FakeSpruceClient struct {
	MergeWithOptsStub func(aviator.MergeConf) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeSpruceClient) Invocations

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

func (*FakeSpruceClient) MergeWithOpts

func (fake *FakeSpruceClient) MergeWithOpts(arg1 aviator.MergeConf) ([]byte, error)

func (*FakeSpruceClient) MergeWithOptsArgsForCall

func (fake *FakeSpruceClient) MergeWithOptsArgsForCall(i int) aviator.MergeConf

func (*FakeSpruceClient) MergeWithOptsCallCount

func (fake *FakeSpruceClient) MergeWithOptsCallCount() int

func (*FakeSpruceClient) MergeWithOptsReturns

func (fake *FakeSpruceClient) MergeWithOptsReturns(result1 []byte, result2 error)

func (*FakeSpruceClient) MergeWithOptsReturnsOnCall

func (fake *FakeSpruceClient) MergeWithOptsReturnsOnCall(i int, result1 []byte, result2 error)

type FakeSpruceProcessor

type FakeSpruceProcessor struct {
	ProcessStub func([]aviator.Spruce) error

	ProcessWithOptsStub func([]aviator.Spruce, bool, bool, bool) error
	// contains filtered or unexported fields
}

func (*FakeSpruceProcessor) Invocations

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

func (*FakeSpruceProcessor) Process

func (fake *FakeSpruceProcessor) Process(arg1 []aviator.Spruce) error

func (*FakeSpruceProcessor) ProcessArgsForCall

func (fake *FakeSpruceProcessor) ProcessArgsForCall(i int) []aviator.Spruce

func (*FakeSpruceProcessor) ProcessCallCount

func (fake *FakeSpruceProcessor) ProcessCallCount() int

func (*FakeSpruceProcessor) ProcessReturns

func (fake *FakeSpruceProcessor) ProcessReturns(result1 error)

func (*FakeSpruceProcessor) ProcessReturnsOnCall

func (fake *FakeSpruceProcessor) ProcessReturnsOnCall(i int, result1 error)

func (*FakeSpruceProcessor) ProcessWithOpts

func (fake *FakeSpruceProcessor) ProcessWithOpts(arg1 []aviator.Spruce, arg2 bool, arg3 bool, arg4 bool) error

func (*FakeSpruceProcessor) ProcessWithOptsArgsForCall

func (fake *FakeSpruceProcessor) ProcessWithOptsArgsForCall(i int) ([]aviator.Spruce, bool, bool, bool)

func (*FakeSpruceProcessor) ProcessWithOptsCallCount

func (fake *FakeSpruceProcessor) ProcessWithOptsCallCount() int

func (*FakeSpruceProcessor) ProcessWithOptsReturns

func (fake *FakeSpruceProcessor) ProcessWithOptsReturns(result1 error)

func (*FakeSpruceProcessor) ProcessWithOptsReturnsOnCall

func (fake *FakeSpruceProcessor) ProcessWithOptsReturnsOnCall(i int, result1 error)

type FakeValidator

type FakeValidator struct {
	ValidateSpruceStub func([]aviator.Spruce) error
	// contains filtered or unexported fields
}

func (*FakeValidator) Invocations

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

func (*FakeValidator) ValidateSpruce

func (fake *FakeValidator) ValidateSpruce(arg1 []aviator.Spruce) error

func (*FakeValidator) ValidateSpruceArgsForCall

func (fake *FakeValidator) ValidateSpruceArgsForCall(i int) []aviator.Spruce

func (*FakeValidator) ValidateSpruceCallCount

func (fake *FakeValidator) ValidateSpruceCallCount() int

func (*FakeValidator) ValidateSpruceReturns

func (fake *FakeValidator) ValidateSpruceReturns(result1 error)

func (*FakeValidator) ValidateSpruceReturnsOnCall

func (fake *FakeValidator) ValidateSpruceReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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