valuemergehandler

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	KIND_VALUE_MERGE_ALGORITHM = hpi.KIND_VALUE_MERGE_ALGORITHM
	KIND_VALUESET              = "value set"
)

Variables

This section is empty.

Functions

func LabelHint

func LabelHint(name string, optversion ...string) hpi.Hint

func Merge

func Merge(ctx cpi.Context, m *Specification, hint hpi.Hint, local Value, inbound *Value) (bool, error)

func SetFor

func SetFor(ctx datacontext.Context, registry Registry)

func Usage

func Usage(ctx ocm.Context) string

Types

type Config

type Config = internal.Config

type Context

type Context = internal.Context

type Handler

type Handler = internal.Handler

type Handlers

type Handlers = internal.Handlers

type Registry

type Registry = internal.Registry

func For

func For(ctx cpi.ContextProvider) Registry

func NewRegistry

func NewRegistry(base ...Registry) Registry

type Specification

type Specification = internal.Specification

func NewSpecification

func NewSpecification(algo string, cfg Config) (*Specification, error)

type Value

type Value = internal.Value

Directories

Path Synopsis
Package hpi contains the Handler Programming Interface for value merge handlers
Package hpi contains the Handler Programming Interface for value merge handlers

Jump to

Keyboard shortcuts

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