context

package
v1.6.7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultContext = []byte(`
	context: {
		name: string
		namespace: string
	}
`)

DefaultContext the default context template

Functions

This section is empty.

Types

type ConfigRenderContext

type ConfigRenderContext struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

ConfigRenderContext the default context values for render the config

type ReadConfigProvider

type ReadConfigProvider func(ctx context.Context, namespace string, name string) (map[string]interface{}, error)

ReadConfigProvider the provide function for reading the config properties

Jump to

Keyboard shortcuts

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