remote

package
v1.15.12 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 5 Imported by: 4

Documentation

Overview

Package remote integrates the remote features of Viper.

Index

Constants

This section is empty.

Variables

View Source
var InvokeConfigManager func(machines []string, username, password string) (RemoteConfigManager, error)

Functions

This section is empty.

Types

type KVPair

type KVPair struct {
	Key   string
	Value []byte
}

type KVPairs

type KVPairs []*KVPair

type RemoteConfigManager

type RemoteConfigManager interface {
	Get(key string) ([]byte, error)
	List(key string) (KVPairs, error)
	Watch(key string, stop chan bool) <-chan *Response
}

type Response

type Response struct {
	Value []byte
	Error error
}

Jump to

Keyboard shortcuts

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