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 GetImagesHandler ¶
type GetImagesHandler struct {
// contains filtered or unexported fields
}
GetImagesHandler is a handler for command
func NewGetImagesHandler ¶
func NewGetImagesHandler(options ...OptionsFunc) *GetImagesHandler
NewGetImagesHandler creates a new handler for command
func (*GetImagesHandler) Handler ¶
func (h *GetImagesHandler) Handler(ctx context.Context, options *Options) error
GetImagesHandler handles build commands
func (*GetImagesHandler) Options ¶
func (h *GetImagesHandler) Options(opts ...OptionsFunc)
Options configure the service
type Options ¶
type Options struct { // Filter is a list of filters Filter []string }
Options for get images handler
type OptionsFunc ¶
type OptionsFunc func(*GetImagesHandler)
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.