requirements

package
v0.0.0-...-c822176 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyRequirement

type DummyRequirement struct {
}

func (DummyRequirement) Name

func (d DummyRequirement) Name() string

func (DummyRequirement) Register

func (d DummyRequirement) Register(conn *keystone.Connection) error

func (DummyRequirement) Verify

func (d DummyRequirement) Verify(actor *keystone.Actor) []TestResult

type Requirement

type Requirement interface {
	Name() string
	Register(conn *keystone.Connection) error
	Verify(actor *keystone.Actor) []TestResult
}

type TestResult

type TestResult struct {
	Name  string
	Error error
}

func NewResult

func NewResult(name string, err error) TestResult

func (TestResult) WithError

func (t TestResult) WithError(err error) TestResult

Jump to

Keyboard shortcuts

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