Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Applicationer ¶
type Applicationer interface {
Run(ctx context.Context, options *application.Options, optionsFunc ...application.OptionsFunc) error
}
Applicationer is the service for build commands
type GetBuildersHandler ¶
type GetBuildersHandler struct {
// contains filtered or unexported fields
}
GetBuildersHandler is a handler for command
func NewGetBuildersHandler ¶
func NewGetBuildersHandler(options ...OptionsFunc) *GetBuildersHandler
NewGetBuildersHandler creates a new handler for command
func (*GetBuildersHandler) Handler ¶
func (h *GetBuildersHandler) Handler(ctx context.Context, options *Options) error
GetBuildersHandler handles build commands
func (*GetBuildersHandler) Options ¶
func (h *GetBuildersHandler) Options(opts ...OptionsFunc)
Options configure the service
type Options ¶
type Options struct { // Filter is a list of filters Filter []string }
Options for get builders application
type OptionsFunc ¶
type OptionsFunc func(*GetBuildersHandler)
OptionsFunc is a function used to configure the handler
func WithApplication ¶
func WithApplication(app Applicationer) OptionsFunc
Click to show internal directories.
Click to hide internal directories.