Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateBundleFunction ¶
type CreateBundleFunction func() ObjectsBundle
CreateBundleFunction is a function that specifies how to create a bundle.
type CreateObjectFunction ¶
CreateObjectFunction is a function that specifies how to create an object.
type ExtractObjectNameFunction ¶
ExtractObjectNameFunction is a function that specifies how to extract a name from an object.
type ObjectsBundle ¶
type ObjectsBundle interface { // AddObject adds an object to the bundle. AddObject(object metav1.Object, objectUID string) // AddDeletedObject adds a deleted object to the bundle. AddDeletedObject(object metav1.Object) }
ObjectsBundle bundles together a set of k8s objects to be sent to leaf hubs via transport layer.
func NewBaseObjectsBundle ¶
func NewBaseObjectsBundle() ObjectsBundle
NewBaseObjectsBundle creates a new base bundle with no data in it.
Click to show internal directories.
Click to hide internal directories.