api

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LazyLoadedStringMapProvider

type LazyLoadedStringMapProvider interface {
	GetStringMap(string) (map[string]any, error)
}

LazyLoadedStringMapProvider is a variant of string-map providers that connects to/loads the source at the time of getting a value

type LazyLoadedStringProvider

type LazyLoadedStringProvider interface {
	GetString(string) (string, error)
}

LazyLoadedStringProvider is a variant of value providers that connects to/loads the source at the time of getting a value

type StaticConfig

type StaticConfig interface {
	String(...string) string
	Config(...string) StaticConfig
	Exists(...string) bool
	Map(...string) map[string]any
	StringSlice(...string) []string
}

StaticConfig is pre-loaded configuration that has zero changes to fail at the time of getting values. Examples of StaticConfig:

values:
- provider:
    type: string
    name: ssm
    prefix: myteam/mysvc1
    region: ap-northeast-1
  inline:
    dst1: src1

values:
- provider:
    type: map
    name: ssm
    prefix: myteam/mysvc1
    region: ap-northeast-1
    strategy: raw
  inline:
    dst1: src1

values:
- provider:
    type: map
    name: ssm
    prefix: myteam/mysvc1
    region: ap-northeast-1
    strategy: yaml
  inline:
    dst1: src1

values:
- provider:
    type: string
    name: vault
    address: http://127.0.0.1:8200
    path: secrets/myteam/mysvc1
  inline:
    dst1: src1

values:
- vault:
    address: http://127.0.0.1:8200
    path: secrets/myteam/mysvc1
  inline:
    dst1: src1

Jump to

Keyboard shortcuts

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