dependency

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Depends

func Depends(shared *shared.Shared, depend *Dependency, ch chan State)

func Ready

func Ready(shared *shared.Shared, group string, name string, dependsOn []v1.DependsOn) (bool, error)

func SolveDepends

func SolveDepends(shared *shared.Shared, depend *Dependency, c chan State)

Types

type Dependency

type Dependency struct {
	Name    string
	Timeout string
	Ctx     context.Context
}

func NewDependencyFromDefinition

func NewDependencyFromDefinition(depend v1.DependsOn) *Dependency

type Result

type Result struct {
	Data string
}

type State

type State struct {
	Name       string
	Success    bool
	Missing    bool
	Timeout    bool
	Error      error
	TryToSolve bool
	Depend     *Dependency
}

Jump to

Keyboard shortcuts

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