apollo

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 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 added in v1.7.7

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

func DefaultRemoteProvider added in v1.7.7

func DefaultRemoteProvider() *RemoteProvider

func (RemoteProvider) Endpoint added in v1.7.7

func (rp RemoteProvider) Endpoint() string

func (RemoteProvider) Path added in v1.7.7

func (rp RemoteProvider) Path() string

func (RemoteProvider) Provider added in v1.7.7

func (rp RemoteProvider) Provider() string

func (RemoteProvider) SecretKeyring added in v1.7.7

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 added in v1.7.7

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