fakes

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PathParser

type PathParser struct {
	GetCall struct {
		CallCount int
		Receives  struct {
			Path string
		}
		Returns struct {
			ProjectPath string
			Err         error
		}
		Stub func(string) (string, error)
		// contains filtered or unexported fields
	}
}

func (*PathParser) Get

func (f *PathParser) Get(param1 string) (string, error)

type Reloader

type Reloader struct {
	ShouldEnableLiveReloadCall struct {
		CallCount int
		Returns   struct {
			Bool  bool
			Error error
		}
		Stub func() (bool, error)
		// contains filtered or unexported fields
	}
	TransformReloadableProcessesCall struct {
		CallCount int
		Receives  struct {
			OriginalProcess packit.Process
			Spec            libreload.ReloadableProcessSpec
		}
		Returns struct {
			NonReloadable packit.Process
			Reloadable    packit.Process
		}
		Stub func(packit.Process, libreload.ReloadableProcessSpec) (packit.Process, packit.Process)
		// contains filtered or unexported fields
	}
}

func (*Reloader) ShouldEnableLiveReload

func (f *Reloader) ShouldEnableLiveReload() (bool, error)

func (*Reloader) TransformReloadableProcesses

func (f *Reloader) TransformReloadableProcesses(param1 packit.Process, param2 libreload.ReloadableProcessSpec) (packit.Process, packit.Process)

Jump to

Keyboard shortcuts

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