urlcache

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartURLCache

type ChartURLCache struct {
	// contains filtered or unexported fields
}

ChartLookupURLs contains an in-memory store of Porter chart names matched with a repo URL, so that finding a chart does not involve multiple lookups to our chart repo's index.yaml file

func Init

func Init(urls ...string) *ChartURLCache

func (*ChartURLCache) GetURL

func (c *ChartURLCache) GetURL(chartName string) (string, bool)

func (*ChartURLCache) Update

func (c *ChartURLCache) Update()

Jump to

Keyboard shortcuts

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