metallb

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Timeout and Interval settings
	Timeout       = time.Second * 5
	DeployTimeout = time.Minute * 3
	Interval      = time.Second * 2
)

Variables

This section is empty.

Functions

func CheckConditionStatus

func CheckConditionStatus(instance *metallbv1beta1.MetalLB) string

func Delete

func Delete(metallb *metallbv1beta1.MetalLB)

Delete and check the MetalLB custom resource is deleted to avoid status leak in between tests.

func DeleteAndCheck added in v0.14.0

func DeleteAndCheck(metallb *metallbv1beta1.MetalLB)

func DeletePriorityClass added in v0.13.9

func DeletePriorityClass(pc *schv1.PriorityClass)

func Get

func Get(operatorNamespace string, useMetallbResourcesFromFile bool) (*metallbv1beta1.MetalLB, error)

func New added in v0.13.9

func New(operatorNamespace string, opts ...CreateOption) *metallbv1beta1.MetalLB

func NewPriorityClass added in v0.13.9

func NewPriorityClass(name string, priority int32) *schv1.PriorityClass

Types

type CreateOption added in v0.13.9

type CreateOption func(m *metallbv1beta1.MetalLB)

Jump to

Keyboard shortcuts

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