dependency

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(features []Feature, availability Availability) error

Types

type Availability

type Availability map[Requirement]bool

type Feature

type Feature struct {
	Name         string
	Requirements []Requirement
}

type Requirement

type Requirement string
const (
	Database      Requirement = "database"
	Cache         Requirement = "cache"
	MessageBroker Requirement = "message broker"
	ObjectStorage Requirement = "object storage"
)

func (Requirement) EnvironmentKey

func (requirement Requirement) EnvironmentKey() string

Jump to

Keyboard shortcuts

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