diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-12-30 09:20:58 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-01-04 18:01:26 +0100 |
commit | e402d91ee199afcace8ae75da6c3587bb8089ace (patch) | |
tree | a0f51de9707ed03aa1a3d7a9195fd9d0fceab108 /tpl/images/images.go | |
parent | 3c51625c7152abca7e035fae15fc6807ca21cc86 (diff) |
Misc doc, code refactoring to improve documentation
Diffstat (limited to 'tpl/images/images.go')
-rw-r--r-- | tpl/images/images.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/images/images.go b/tpl/images/images.go index 1abee1b0c..f4d930570 100644 --- a/tpl/images/images.go +++ b/tpl/images/images.go @@ -91,6 +91,7 @@ func (ns *Namespace) Config(path any) (image.Config, error) { return config, nil } +// Filter applies the given filters to the image given as the last element in args. func (ns *Namespace) Filter(args ...any) (images.ImageResource, error) { if len(args) < 2 { return nil, errors.New("must provide an image and one or more filters") |