images

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 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 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

Jump to

Keyboard shortcuts

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