populate

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContext

func WithContext(ctx context.Context) charts.PopulateOption

WithContext configures Chart population with the logger from the context.

func WithFilePattern

func WithFilePattern(patterns ...string) charts.PopulateOption

WithFilePattern configures Chart population with the provided file name patterns. Each pattern must be a valid glob pattern. These patterns are only applied on file names not directories.

By default Chart population uses `*.tgz` unless this option is used.

Note that passing an empty list of patterns will not override the current file name patterns.

func WithLogger

func WithLogger(logger logr.Logger) charts.PopulateOption

WithLogger configures Chart population with the specified logger.

func WithSearchPath

func WithSearchPath(paths ...string) charts.PopulateOption

WithSearchPath configures Chart population with the provided search paths.

By default Chart population uses the current directory unless this option is used.

Note that passing an empty list of search paths will not override the current search path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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