Documentation ¶
Index ¶
- Constants
- func CheckConditionStatus(instance *metallbv1beta1.MetalLB) string
- func Delete(metallb *metallbv1beta1.MetalLB)
- func DeleteAndCheck(metallb *metallbv1beta1.MetalLB)
- func DeletePriorityClass(pc *schv1.PriorityClass)
- func Get(operatorNamespace string, useMetallbResourcesFromFile bool) (*metallbv1beta1.MetalLB, error)
- func New(operatorNamespace string, opts ...CreateOption) *metallbv1beta1.MetalLB
- func NewPriorityClass(name string, priority int32) *schv1.PriorityClass
- type CreateOption
Constants ¶
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)
Click to show internal directories.
Click to hide internal directories.