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: 0

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