Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOciRepositoryClient ¶
Types ¶
type Credentials ¶
type Credentials map[string]RepositoryCreds
func ReadCredentials ¶
func ReadCredentials(input io.Reader) (Credentials, error)
func (Credentials) FindForRepo ¶
func (credentials Credentials) FindForRepo( repoURL *url.URL, ) (*RepositoryCreds, error)
type GitClientInterface ¶
type GitClientInterface interface {
Clone(
ctx context.Context,
repoURL string,
config repository.CloneConfig,
) (*git.Commit, error)
}
type GitRepoSubstitution ¶ added in v0.8.0
func ParseGitRepoSubstitution ¶ added in v0.8.0
func ParseGitRepoSubstitution(subst string) (*GitRepoSubstitution, error)
type HelmReleaseExpander ¶
type HelmReleaseExpander struct {
// contains filtered or unexported fields
}
func NewHelmReleaseExpander ¶
func NewHelmReleaseExpander( ctx context.Context, logger *slog.Logger, gitClientFactory gitClientFactoryFunc, repoClientFactory repositoryClientFactoryFunc, ) *HelmReleaseExpander
func (*HelmReleaseExpander) ExpandHelmReleases ¶
func (expander *HelmReleaseExpander) ExpandHelmReleases( credentials Credentials, input io.Reader, output io.Writer, kubeVersion *common.KubeVersion, apiVersions []string, gitRepoSubstitution *GitRepoSubstitution, maxExpansions int, chartCacheDir string, enableChartInMemoryCache bool, ) error
type RepositoryConfig ¶
type RepositoryConfig struct {
}
type RepositoryCreds ¶
type RepositoryCreds struct {
Config *RepositoryConfig `yaml:"config,omitempty"`
Credentials map[string]string `yaml:"credentials"`
}
func (*RepositoryCreds) AsBytesMap ¶
func (creds *RepositoryCreds) AsBytesMap() map[string][]byte
Click to show internal directories.
Click to hide internal directories.