Documentation ¶
Index ¶
- func CleanVersion(s string) string
- func LoadChartFile(filePath string) (chart.Chart, error)
- func PopulateSoftwareDependencies(s3Api aws.S3Api, log *slog.Logger, topLevelSoftware *soft.Software, ...) error
- func PopulateTopLevelSoftware(s3Api aws.S3Api, log *slog.Logger, topLevelSoftware *soft.Software, ...) error
- type HelmRepoBackend
- type RepoBackend
- type RepoBackendType
- type S3HelmRepoBackend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanVersion ¶
func LoadChartFile ¶
Load helm Chart.yaml file from local filesystem into a chart.Chart struct
Types ¶
type HelmRepoBackend ¶
type HelmRepoBackend struct {
ChartRepo *repo.ChartRepository
}
type RepoBackend ¶
type RepoBackend interface {
// contains filtered or unexported methods
}
type RepoBackendType ¶
type RepoBackendType string
const ( GitRepo RepoBackendType = "gitRepo" // Chart Hosted on Chart repository with proper index.yaml HelmRepo RepoBackendType = "helmRepo" // Chart Hosted on S3 Bucket with proper index.yaml S3HelmRepo RepoBackendType = "s3helmRepo" // Chart reprensented by a Chart.yaml hosted on the local file-system LocalRepo RepoBackendType = "localRepo" // When a chart.yaml references a dependency with a file//path/to/chart/directory/ like expression, the file // is therefore "local" to the remote git repo. This is not referencing a local git repo on your local desktop GitRepoLocal RepoBackendType = "gitRepoLocal" // Default timeout duration when calling external helm repositories DefaultTimeout time.Duration = time.Second * 15 )
Chart reprensented by a Chart.yaml hosted on a remote git repository
type S3HelmRepoBackend ¶
type S3HelmRepoBackend struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.