repository

package
Version: v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 49 Imported by: 189

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateManifests added in v0.12.0

func GenerateManifests(appPath, repoRoot, revision string, q *apiclient.ManifestRequest, isLocal bool) (*apiclient.ManifestResponse, error)

GenerateManifests generates manifests from a path

func GetAppSourceType added in v0.12.0

func GetAppSourceType(source *v1alpha1.ApplicationSource, path string) (v1alpha1.ApplicationSourceType, error)

GetAppSourceType returns explicit application source type or examines a directory and determines its application source type

func NewRepositoryLock added in v1.8.0

func NewRepositoryLock() *repositoryLock

Types

type RepoServerInitConstants added in v1.8.0

type RepoServerInitConstants struct {
	ParallelismLimit                             int64
	PauseGenerationAfterFailedGenerationAttempts int
	PauseGenerationOnFailureForMinutes           int
	PauseGenerationOnFailureForRequests          int
}

type Service

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

Service implements ManifestService interface

func NewService

func NewService(metricsServer *metrics.MetricsServer, cache *reposervercache.Cache, initConstants RepoServerInitConstants) *Service

NewService returns a new instance of the Manifest service

func (*Service) GenerateManifest

func (*Service) GetAppDetails added in v0.12.0

func (*Service) GetHelmCharts added in v1.2.4

func (*Service) GetRevisionMetadata added in v1.2.0

func (*Service) ListApps added in v1.2.4

ListApps lists the contents of a GitHub repo

func (*Service) ListRefs added in v1.8.0

List a subset of the refs (currently, branches and tags) of a git repo

Jump to

Keyboard shortcuts

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