osshimfakes

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 3 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 {
	IsNotExistStub func(error) bool

	LstatStub func(string) (fs.FileInfo, error)

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

func (*FakeOs) Invocations

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

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) Lstat

func (fake *FakeOs) Lstat(arg1 string) (fs.FileInfo, error)

func (*FakeOs) LstatArgsForCall

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

func (*FakeOs) LstatCallCount

func (fake *FakeOs) LstatCallCount() int

func (*FakeOs) LstatCalls

func (fake *FakeOs) LstatCalls(stub func(string) (fs.FileInfo, error))

func (*FakeOs) LstatReturns

func (fake *FakeOs) LstatReturns(result1 fs.FileInfo, result2 error)

func (*FakeOs) LstatReturnsOnCall

func (fake *FakeOs) LstatReturnsOnCall(i int, result1 fs.FileInfo, result2 error)

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