Documentation
¶
Index ¶
- func Execute(cfg *config.Config) error
- func Health(cfg *config.Config) *cli.Command
- func NewLogger(cfg *config.Config) log.Logger
- func NewSutureService(cfg *ociscfg.Config) suture.Service
- func ParseConfig(c *cli.Context, cfg *config.Config) error
- func PrintVersion(cfg *config.Config) *cli.Command
- func Server(cfg *config.Config) *cli.Command
- type SutureService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSutureService ¶
NewSutureService creates a new proxy.SutureService
func ParseConfig ¶
ParseConfig loads proxy configuration. Loading will first attempt to parse config files in the expected locations and then parses environment variables. In the context of oCIS env variables will always overwrite values set in a config file. If this extension is run as a subcommand (i.e: ocis proxy) then there are 2 levels of config parsing: 1. ocis.yaml (if any) 2. proxy.yaml (if any) 3. environment variables.
func PrintVersion ¶
PrintVersion prints the service versions of all running instances.
Types ¶
type SutureService ¶
type SutureService struct {
// contains filtered or unexported fields
}
SutureService allows for the proxy command to be embedded and supervised by a suture supervisor tree.
Click to show internal directories.
Click to hide internal directories.