combiner

package
v0.0.0-...-d0afb55 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// IDLabel
	IDLabel = labelNamespace + "/id"
	// OrderLabel
	OrderLabel = labelNamespace + "/order"
	// FileNameLabel
	FileNameLabel = labelNamespace + "/filename"
	// MasterLabel
	MasterLabel = labelNamespace + "/master"
	// PartialItemKet is the configmap key to store partial data
	PartialItemKey = "partial-item"
)

Variables

This section is empty.

Functions

func MapID

func MapID(data []byte, namespace, name string) string

MapID returns a hash string

Types

type Combiner

type Combiner struct {
	// contains filtered or unexported fields
}

Combiner

func NewCombiner

func NewCombiner(megaConfigMapName, shareDir string) (*Combiner, error)

NewCombiner creates a Combiner instance

func (*Combiner) Run

func (c *Combiner) Run() error

Run

func (*Combiner) WriteTemp

func (c *Combiner) WriteTemp(configmaps *corev1.ConfigMapList) (string, error)

Write writes data from ConfigMap list

Jump to

Keyboard shortcuts

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