Documentation ¶ Index ¶ type Config type Svc func New(conf Config) (*Svc, error) func (s *Svc) Close() func (s *Svc) ExecMgr(ctx context.Context, cmd string) ([]byte, error) func (s *Svc) ExecMon(ctx context.Context, cmd string) ([]byte, error) func (s *Svc) ExecMonWithInputBuff(ctx context.Context, cmd string, inputBuffer []byte) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { User string `yaml:"user"` UserKeyring string `yaml:"userKeyring"` MonHost string `yaml:"monHost"` RadosTimeout time.Duration `yaml:"radosTimeout"` } type Svc ¶ type Svc struct { // contains filtered or unexported fields } func New ¶ func New(conf Config) (*Svc, error) func (*Svc) Close ¶ func (s *Svc) Close() func (*Svc) ExecMgr ¶ func (s *Svc) ExecMgr(ctx context.Context, cmd string) ([]byte, error) func (*Svc) ExecMon ¶ func (s *Svc) ExecMon(ctx context.Context, cmd string) ([]byte, error) func (*Svc) ExecMonWithInputBuff ¶ func (s *Svc) ExecMonWithInputBuff(ctx context.Context, cmd string, inputBuffer []byte) ([]byte, error) Source Files ¶ View all Source files config.go service.go Click to show internal directories. Click to hide internal directories.