osshimfakes

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and Gardener contributors

SPDX-License-Identifier: Apache-2.0 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 FakeOs

type FakeOs struct {
	IsDirStub func(string) (bool, error)

	IsNotExistStub func(error) bool

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

func (*FakeOs) Invocations

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

func (*FakeOs) IsDir added in v0.45.0

func (fake *FakeOs) IsDir(arg1 string) (bool, error)

func (*FakeOs) IsDirArgsForCall added in v0.45.0

func (fake *FakeOs) IsDirArgsForCall(i int) string

func (*FakeOs) IsDirCallCount added in v0.45.0

func (fake *FakeOs) IsDirCallCount() int

func (*FakeOs) IsDirCalls added in v0.45.0

func (fake *FakeOs) IsDirCalls(stub func(string) (bool, error))

func (*FakeOs) IsDirReturns added in v0.45.0

func (fake *FakeOs) IsDirReturns(result1 bool, result2 error)

func (*FakeOs) IsDirReturnsOnCall added in v0.45.0

func (fake *FakeOs) IsDirReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeOs) IsNotExist

func (fake *FakeOs) IsNotExist(arg1 error) bool

func (*FakeOs) IsNotExistArgsForCall

func (fake *FakeOs) IsNotExistArgsForCall(i int) error

func (*FakeOs) IsNotExistCallCount

func (fake *FakeOs) IsNotExistCallCount() int

func (*FakeOs) IsNotExistCalls

func (fake *FakeOs) IsNotExistCalls(stub func(error) bool)

func (*FakeOs) IsNotExistReturns

func (fake *FakeOs) IsNotExistReturns(result1 bool)

func (*FakeOs) IsNotExistReturnsOnCall

func (fake *FakeOs) IsNotExistReturnsOnCall(i int, result1 bool)

func (*FakeOs) ReadFile

func (fake *FakeOs) ReadFile(arg1 string) ([]byte, error)

func (*FakeOs) ReadFileArgsForCall

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

func (*FakeOs) ReadFileCallCount

func (fake *FakeOs) ReadFileCallCount() int

func (*FakeOs) ReadFileCalls

func (fake *FakeOs) ReadFileCalls(stub func(string) ([]byte, error))

func (*FakeOs) ReadFileReturns

func (fake *FakeOs) ReadFileReturns(result1 []byte, result2 error)

func (*FakeOs) ReadFileReturnsOnCall

func (fake *FakeOs) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)

Jump to

Keyboard shortcuts

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