resolver

package
v0.0.0-...-9febfc8 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package resolver defines dynamic resolvers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolve

func Resolve(dynamicUpdate *api.UserDefinedDynamicUpdate, lookup map[string]string) (*api.UserDefinedDynamicUpdate, error)

Resolve converts the provided dynamic update into a json string and applies placeholder resolution, then converts back into a dynamic update object.

Types

type DynamicPlaceholderLookup

type DynamicPlaceholderLookup map[string]string

func (DynamicPlaceholderLookup) Get

func (lookup DynamicPlaceholderLookup) Get(key string) (val string, ok bool)

Jump to

Keyboard shortcuts

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