package
1.2.1
Repository: https://github.com/openpitrix/helm.git
Documentation: pkg.go.dev

# Functions

GetDownloadURLs checks a type to see if it is either a short git hub url or a fully specified URL and returns the URLs that should be used to fetch it.
IsGCSShortType returns whether a given type is a type description in a short format to GCS.
IsGithubShortPackageType returns whether a given type is a type description in a short format to a github package repository type.
IsGithubShortType returns whether a given type is a type description in a short format to a github repository type.
NewDefaultRegistryProvider creates a default registry provider with the supplied credential.
NewFilebasedCredentialProvider creates a file based credential provider.
NewGCSRegistry creates a GCS registry.
NewGCSRegistryProvider creates a GCSRegistryProvider.
NewGithubPackageRegistry creates a GithubPackageRegistry.
NewGithubRegistryProvider creates a GithubRegistryProvider.
NewGithubTemplateRegistry creates a GithubTemplateRegistry.
NewInmemCredentialProvider creates a new memory based credential provider.
NewInmemRegistryService returns a new memory based registry service.
NewRegistryProvider creates a new registry provider using the supplied arguments.
NewSecretsCredentialProvider creates a new secrets credential provider.
NewTestGCSRegistryProvider creates a test GCS registry provider.
NewTestGithubRegistryProvider creates a test github registry provider.
NewTestGithubRegistryProviderWithDownloads creates a test github registry provider with download responses.
NewType initializes a type.
NewTypeOrDie initializes a type and panics if initialization fails.
ParseRegistryFormat creates a map from a registry format string.
ParseSemVer parses a semantic version string.
ParseType takes a registry type string and parses it into a *registry.Type.
ShortTypeToDownloadURLs converts a github URL into downloadable URL from github.
ShortTypeToGCSDownloadUrls returns the download URLs for a short type name.
ShortTypeToPackageDownloadURLs converts a github URL into downloadable URLs from github.

# Variables

ChartFormatMatcher matches the chart name format.
RE for GCS storage.
RE for a registry type that does not support versions and does not have collections.
RE for a registry type that does support versions and has collections.
URLFormatMatcher matches the GCS URL format (gs:).

# Structs

DownloadResponse holds a mock http response for testing.
FilebasedCredentialProvider provides credentials for registries.
GCSRegistry implements the ObbectStorageRegistry interface and implements a Deployment Manager templates registry.
GithubPackageRegistry implements the Registry interface that talks to github and expects packages in helm format without versioning and no collection in the path.
GithubTemplateRegistry implements the Registry interface and implements a Deployment Manager templates registry.
InmemCredentialProvider is a memory based credential provider.
NamedRegistryCredential associates a name with a RegistryCredential.
SecretsCredentialProvider provides credentials for registries from Kubernertes secrets.
SemVer holds a semantic version as defined by semver.io.
TestURLAndError associates a URL with an error string for testing.
Type describes a type stored in a registry.

# Interfaces

GCSRegistryProvider is a factory for GCS Registry instances.
GithubRegistry abstracts a registry that resides in a Github repository.
GithubRegistryProvider is a factory for GithubRegistry instances.
GithubRepositoryService defines the interface that's defined in github.com/go-github/repos_contents.go GetContents method.
ObjectStorageRegistry abstracts a registry that resides in an Object Storage, for example Google Cloud Storage or AWS S3, etc.
Registry abstracts a registry that holds charts, which can be used in a Deployment Manager configuration.
RegistryProvider is a factory for Registry instances.