fake

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake provides a fake runtime implementation for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() runtime.Runtime

New creates a new fake runtime instance. The runtime will operate in memory-only mode until Initialize is called.

func NewWithDashboard added in v0.6.0

func NewWithDashboard(url string) runtime.Runtime

NewWithDashboard creates a fake runtime that implements the Dashboard interface. The url parameter is returned by GetURL for all instances.

func NewWithExperimental added in v0.12.0

func NewWithExperimental() runtime.Runtime

NewWithExperimental creates a fake runtime that implements the Experimental interface.

func NewWithExperimentalAndDisplayName added in v0.12.0

func NewWithExperimentalAndDisplayName(displayName string) runtime.Runtime

NewWithExperimentalAndDisplayName creates a fake experimental runtime with a custom DisplayName. Use this in tests that need to verify DisplayName is used separately from Type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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