v1alpha2

package
v0.27.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseMerger

type BaseMerger struct {
	DistributionPath string
	Kind             string
	ConfigPath       string
}

func NewBaseMerger

func NewBaseMerger(distributionPath, kind, configPath string) *BaseMerger

func (*BaseMerger) Create

func (m *BaseMerger) Create() (*merge.Merger, error)

type BaseReducer

type BaseReducer struct {
	Key       string
	From      string
	To        string
	Lifecycle string
}

func NewBaseReducer

func NewBaseReducer(key, from, to, lifecycle string) *BaseReducer

func (*BaseReducer) GetKey

func (r *BaseReducer) GetKey() string

func (*BaseReducer) GetLifecycle

func (r *BaseReducer) GetLifecycle() string

func (*BaseReducer) Prepare

func (r *BaseReducer) Prepare() map[any]any

type Merger

type Merger interface {
	Create() (*merge.Merger, error)
}

type Reducer

type Reducer interface {
	Prepare() map[any]any
	GetLifecycle() string
	GetKey() string
}

type Reducers

type Reducers []Reducer

func (Reducers) ByLifecycle

func (rs Reducers) ByLifecycle(lifecycle string) Reducers

func (Reducers) Combine

func (rs Reducers) Combine(origin map[string]map[any]any, key string) map[string]map[any]any

Directories

Path Synopsis
common
eks
vpn

Jump to

Keyboard shortcuts

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