fixture

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func By

func By(fmts_ string, args ...any)

func Fail

func Fail(fmts_ string, args ...any)

func Skip

func Skip(fmts_ string, args ...any)

Types

type Fixture

type Fixture struct {
	Prefix       string
	K8SClientset kubernetes.Interface
	Namespace    *corev1.Namespace
	Log          logr.Logger
}

func ForGinkgo

func ForGinkgo() (*Fixture, error)

func (*Fixture) NodeHasMemoryResource

func (fxt *Fixture) NodeHasMemoryResource(ctx context.Context, nodeName, size string, amount int64) (string, string, bool)

func (*Fixture) Setup

func (fxt *Fixture) Setup(ctx context.Context) error

func (*Fixture) Teardown

func (fxt *Fixture) Teardown(ctx context.Context) error

func (*Fixture) WithPrefix

func (fxt *Fixture) WithPrefix(prefix string) *Fixture

Jump to

Keyboard shortcuts

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