apollo

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoteConfig

func RemoteConfig(configPath string) *abstractions.Configuration

Types

type Option

type Option struct {
	AppID     string `mapstructure:"appid" config:"appid"`
	Endpoint  string `mapstructure:"endpoint" config:"endpoint"`
	Namespace string `mapstructure:"namespace" config:"namespace"`
}

type RemoteProvider

type RemoteProvider struct {
	// contains filtered or unexported fields
}

func DefaultRemoteProvider

func DefaultRemoteProvider() *RemoteProvider

func (RemoteProvider) Endpoint

func (rp RemoteProvider) Endpoint() string

func (RemoteProvider) Path

func (rp RemoteProvider) Path() string

func (RemoteProvider) Provider

func (rp RemoteProvider) Provider() string

func (RemoteProvider) SecretKeyring

func (rp RemoteProvider) SecretKeyring() string

type ViperRemoteProvider

type ViperRemoteProvider struct {
	// contains filtered or unexported fields
}

func NewRemoteProvider

func NewRemoteProvider(configType string) *ViperRemoteProvider

func (*ViperRemoteProvider) GetProvider

func (provider *ViperRemoteProvider) GetProvider(runtime_viper *viper.Viper) *viper.Viper

func (*ViperRemoteProvider) WatchRemoteConfigOnChannel

func (provider *ViperRemoteProvider) WatchRemoteConfigOnChannel(remoteViper *viper.Viper) <-chan bool

Jump to

Keyboard shortcuts

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