utils

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 9 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 BuildHyperNode

func BuildHyperNode(name string, tier int, members []topologyv1alpha1.MemberSpec, labels map[string]string) *topologyv1alpha1.HyperNode

BuildHyperNode creates a HyperNode object

func BuildHyperNodeWithTierName added in v1.14.0

func BuildHyperNodeWithTierName(name string, tier int, tierName string, members []topologyv1alpha1.MemberSpec, labels map[string]string) *topologyv1alpha1.HyperNode

func BuildMembers

func BuildMembers(names []string, memberType topologyv1alpha1.MemberType) []topologyv1alpha1.MemberSpec

BuildMembers creates a list of topology member references

func CreateHyperNode

func CreateHyperNode(vcClient vcclientset.Interface, node *topologyv1alpha1.HyperNode) error

func CreateOrUpdateHyperNode added in v1.16.0

func CreateOrUpdateHyperNode(vcClient vcclientset.Interface, node *topologyv1alpha1.HyperNode) error

CreateOrUpdateHyperNode handles a stale informer cache by treating an AlreadyExists response as an update of the latest API object.

func DeleteHyperNode

func DeleteHyperNode(vcClient vcclientset.Interface, name string) error

func UpdateHyperNode

func UpdateHyperNode(vcClient vcclientset.Interface, updated *topologyv1alpha1.HyperNode) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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