checkvars

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

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

Check prompt for missing variables

func New

func New(opts Options) *Check

New constructor

func (*Check) Check

func (p *Check) Check(confin io.Reader) (bool, error)

Prompt prompt for input based on requird variables where

confin is the ".kick.yml" file represented as an io.Reader

type Options

type Options struct {
	Err    errs.HandlerIface  // Inject error hanler
	Log    logger.OutputIface // Inject logger
	Stdin  io.Reader
	Stdout io.Writer
}

Options construction options

Jump to

Keyboard shortcuts

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