tests

package
v1.0.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputBuilder

type InputBuilder struct {
	Chart      bool
	Maintainer models.Maintainer
}

InputBuilder is a builder to set the inputs during init command.

func NewInputBuilder

func NewInputBuilder() *InputBuilder

NewInputBuilder creates a new InputBuilder.

func (*InputBuilder) Build

func (r *InputBuilder) Build() (*strings.Reader, error)

Build builds the InputBuilder into a string reader to use on init command.

func (*InputBuilder) SetChart

func (r *InputBuilder) SetChart(chart bool) *InputBuilder

SetChart sets the chart response.

func (*InputBuilder) SetMaintainer

func (r *InputBuilder) SetMaintainer(maintainer models.Maintainer) *InputBuilder

SetMaintainer sets the maintainers.

Jump to

Keyboard shortcuts

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