deps

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 10 Imported by: 0

README

deps

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	Context
	RequestTimeout() time.Duration
}

Adapter расширения контекста клиентов к адаптерам

type CacheApplication

type CacheApplication interface {
	Cache() appcache.AppCache
}

CacheApplication расширение контекста для использования кэша

type Colored added in v1.1.1

type Colored interface {
	Colors() colors.Generator
}

type ConfigController added in v1.1.0

type ConfigController interface {
	ConfigController() controllers.Controller
}

type ContainersAdapter

type ContainersAdapter interface {
	Adapter
	Client() containers.Client
	Network() containers.Network
	PortsAllocator() ports.Allocator
}

ContainersAdapter расширения контекста клиентов к адаптеру докера

type Context

type Context interface {
	Context() context.Context
	Logger() slog.Logger
	TempDir() string
	Verbose() int
	Suffix() string
	AddDeferFunc(dfn DeferFunc)
	DefersApply()
}

Context - основной контекст приложения

type DeferFunc

type DeferFunc func(ctx Context)

DeferFunc - обработчик отложенного действия выполнения контекста

type ScenariosApplication

type ScenariosApplication interface {
	Scenarios() appscenario.Manager
}

ScenariosApplication расширение контекста для использования сценариев

type StorageAdapter added in v1.0.4

type StorageAdapter interface {
	Adapter
	StorageFactory() storage.Factory
}

Jump to

Keyboard shortcuts

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