repository

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MPL-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials map[string]RepositoryCreds

func ReadCredentials added in v0.5.0

func ReadCredentials(input io.Reader) (Credentials, error)

func (Credentials) FindForRepo added in v0.5.0

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 HelmReleaseExpander

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

func NewHelmReleaseExpander

func NewHelmReleaseExpander(
	ctx context.Context,
	logger *slog.Logger,
	gitClientFactory gitClientFactoryFunc,
) *HelmReleaseExpander

func (*HelmReleaseExpander) ExpandHelmReleases

func (expander *HelmReleaseExpander) ExpandHelmReleases(
	credentials Credentials,
	input io.Reader,
	output io.Writer,
	kubeVersion *chartutil.KubeVersion,
	apiVersions []string,
	enableChartInMemoryCache bool,
) error

type RepositoryConfig added in v0.5.0

type RepositoryConfig struct {
}

type RepositoryCreds added in v0.5.0

type RepositoryCreds struct {
	Config      *RepositoryConfig `yaml:"config,omitempty"`
	Credentials map[string]string `yaml:"credentials"`
}

func (*RepositoryCreds) AsBytesMap added in v0.5.0

func (creds *RepositoryCreds) AsBytesMap() map[string][]byte

Jump to

Keyboard shortcuts

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