icons

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(rootFs billy.Filesystem, metadata *chart.Metadata) (string, error)

Download receives a chart metadata and the filesystem pointing to the root of the project. From the metadata, gets the icon and name of the chart. It downloads the icon, infers the type using the content-type header from the response and saves the file locally to path.RepositoryLogosDir using the name of the chart as the file name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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