Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶
type ClientFactory interface {
NewClient() uauthsvc.UserAuthenticationService
}
TODO: Refactor this elsewhere... too tired right now and I want to start the checker tests.
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶
func NewCommand(myName string, factory ClientFactory, log *zap.Logger) *Command
func (*Command) Exec ¶
func (c *Command) Exec(ctx context.Context, req *proto.ExecRequest, rsp *proto.ExecResponse) error
Exec executes the command
func (*Command) Help ¶
func (c *Command) Help(ctx context.Context, req *proto.HelpRequest, rsp *proto.HelpResponse) error
Help returns the command usage
Click to show internal directories.
Click to hide internal directories.