Documentation
¶
Index ¶
- Constants
- type Config
- type Store
- func (s *Store) CanConfig() []string
- func (s *Store) Create(name string) error
- func (s *Store) Delete(name string) error
- func (s *Store) Dup(name string) error
- func (s *Store) Info(name string) (Config, error)
- func (s *Store) List() ([]string, error)
- func (s *Store) Read() error
- func (s *Store) Set(pairs []string) error
- func (s *Store) SetParams(pairs []string) error
- func (s *Store) Use(name string) error
Constants ¶
View Source
const ( ErrNoContext stringError = "no context in use" ErrParametersNumber stringError = "please provide parameter - value pairs" HiddenToken = "***" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `json:"name"` KeystoneURL string `json:"keystone"` OrionURL string `json:"orion"` UrboURL string `json:"urbo"` IotamURL string `json:"iotam"` PerseoURL string `json:"perseo"` Service string `json:"service"` Subservice string `json:"subservice"` Username string `json:"username"` Token string `json:"token,omitempty"` UrboToken string `json:"urbotoken,omitempty"` Params map[string]string `json:"params,omitempty"` }
Config almacena información de conexión a un entorno
func (*Config) HasUrboToken ¶ added in v0.2.8
Click to show internal directories.
Click to hide internal directories.