controlinfo

package
v0.3.2-0...-0315bf3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	LeafHubName   string                      `json:"leafHubName"`
	BundleVersion *statusbundle.BundleVersion `json:"bundleVersion"`
	// contains filtered or unexported fields
}

Bundle holds control info passed from LH to HoH.

func NewBundle

func NewBundle(leafHubName string, incarnation uint64) *Bundle

NewBundle creates a new instance of Bundle.

func (*Bundle) DeleteObject

func (bundle *Bundle) DeleteObject(bundle.Object)

DeleteObject function to delete a single object inside a bundle.

func (*Bundle) GetBundleVersion

func (bundle *Bundle) GetBundleVersion() *statusbundle.BundleVersion

GetBundleVersion function to get bundle version.

func (*Bundle) UpdateObject

func (bundle *Bundle) UpdateObject(bundle.Object)

UpdateObject function to update a single object inside a bundle.

Jump to

Keyboard shortcuts

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