bundle

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...Option) slice.Bundle

New creates bundle with provided options.

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

Option modifies bundle structure.

func WithBundles

func WithBundles(bundles ...slice.Bundle) Option

WithBundles add dependency bundle.

func WithComponents

func WithComponents(options ...slice.ComponentOption) Option

WithComponents configures bundle components.

func WithHooks

func WithHooks(hooks ...slice.Hook) Option

WithHooks adds application hooks.

func WithName

func WithName(name string) Option

WithName sets bundle name.

func WithParameters

func WithParameters(parameters ...slice.Parameter) Option

WithParameters add parameters to bundle.

Jump to

Keyboard shortcuts

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