Documentation ¶
Overview ¶
Package provider provides config provider implementations that can be used in the adapters, as well as the Options type containing options for various aspects of an adapter.
Index ¶
Constants ¶
View Source
const ( // Provider keys ViperKey = "viper" InMemKey = "in-mem" )
View Source
const ( FilePath = "filepath" FileType = "filetype" FileName = "filename" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InMem ¶
type InMem struct {
// contains filtered or unexported fields
}
Type InMem implements the config interface Handler for an in-memory configuration registry.
type Options ¶
type Options struct { ServerConfig map[string]string // ServerConfig options are used configure the gRPC service of the adapter. MeshSpec map[string]string // MeshSpec options are used to configure the service mesh to be used. ProviderConfig map[string]string // ProviderConfig options are used to configure the config provider. Operations adapter.Operations // Operations contains the properties of the operations the adapter supports. }
Type Options contains config options for various aspects of an adapter.
Click to show internal directories.
Click to hide internal directories.