Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
DeviceID id.DeviceID `json:"device_id"`
Environments EnvConfigs `json:"environments"`
Path string `json:"-"`
}
type EnvConfig ¶
type EnvConfig struct {
ClusterID string `json:"cluster_id"`
Username string `json:"username"`
AccessToken string `json:"access_token"`
BridgeDataDir string `json:"bridge_data_dir"`
}
EnvConfig holds credentials for one Beeper environment. Kept compatible with the upstream bridge-manager config format so that existing ~/.config/bbctl/config.json files continue to work.
func (*EnvConfig) HasCredentials ¶
type EnvConfigs ¶
func (EnvConfigs) Get ¶
func (ec EnvConfigs) Get(env string) *EnvConfig
Click to show internal directories.
Click to hide internal directories.