bundle

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomBundleRegistration

type CustomBundleRegistration struct {
	InitBundlesResourceFunc func() interface{}
	BundleUpdatesChan       chan interface{}
}

CustomBundleRegistration abstract the registration for custom bundles according to bundle ID in transport layer. Custom-bundles are bundles that do not implement bundle.GenericBundle.

type GenericBundle

type GenericBundle struct {
	Objects        []*unstructured.Unstructured `json:"objects"`
	DeletedObjects []*unstructured.Unstructured `json:"deletedObjects"`
}

GenericBundle bundle received from transport containing Objects/DeletedObjects.

func NewGenericBundle

func NewGenericBundle() *GenericBundle

NewGenericBundle returns a new instance of GenericBundle.

Jump to

Keyboard shortcuts

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