checker

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseSetup

func UseSetup(ctx context.Context, cfg *config.Config) error

UseSetup ...

func UseableEnv

func UseableEnv(ctx context.Context, cfg *config.Config) error

UseableEnv ...

Types

type Checker

type Checker interface {
	Check(context.Context, *config.Config) error
}

Checker ...

func New

func New(opts ...Opt) Checker

New ...

type Func

type Func func(context.Context, *config.Config) error

Func ...

type Opt

type Opt func(*Opts)

Opt ...

func WithChecks

func WithChecks(funcs ...Func) Opt

WithChecks ...

type Opts

type Opts struct {
	// contains filtered or unexported fields
}

Opts ...

func (*Opts) Configure

func (o *Opts) Configure(opts ...Opt)

Configure ...

Jump to

Keyboard shortcuts

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