Documentation ¶
Index ¶
- func AddOutputJsonYamlTextFlag(cmd *kingpin.CmdClause)
- func DefineDebugCommands(kpApp *kingpin.Application)
- func DefineDebugCommandsSelf(kpApp *kingpin.Application)
- func FormatFromRequest(request *http.Request) string
- type BadRequestError
- type Client
- type ConfigRequest
- type HookRequest
- type QueueRequest
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOutputJsonYamlTextFlag ¶
func AddOutputJsonYamlTextFlag(cmd *kingpin.CmdClause)
func DefineDebugCommands ¶
func DefineDebugCommands(kpApp *kingpin.Application)
func DefineDebugCommandsSelf ¶ added in v1.0.8
func DefineDebugCommandsSelf(kpApp *kingpin.Application)
func FormatFromRequest ¶ added in v1.0.8
Types ¶
type BadRequestError ¶ added in v1.4.0
type BadRequestError struct {
Msg string
}
func (*BadRequestError) Error ¶ added in v1.4.0
func (be *BadRequestError) Error() string
type Client ¶
type Client struct {
SocketPath string
}
func DefaultClient ¶
func DefaultClient() *Client
func (*Client) WithSocketPath ¶
type ConfigRequest ¶ added in v1.0.8
type ConfigRequest struct {
// contains filtered or unexported fields
}
func Config ¶ added in v1.0.8
func Config(client *Client) *ConfigRequest
type HookRequest ¶ added in v1.0.8
type HookRequest struct {
// contains filtered or unexported fields
}
func Hook ¶ added in v1.0.8
func Hook(client *Client) *HookRequest
func (*HookRequest) List ¶ added in v1.0.8
func (r *HookRequest) List(format string) ([]byte, error)
func (*HookRequest) Name ¶ added in v1.0.8
func (r *HookRequest) Name(name string) *HookRequest
type QueueRequest ¶
type QueueRequest struct {
// contains filtered or unexported fields
}
func Queue ¶
func Queue(client *Client) *QueueRequest
Click to show internal directories.
Click to hide internal directories.