builders

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL