sourceconfigs

package
v0.0.464 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultValues

func DefaultValues(config *v1alpha1.SourceConfig, group *v1alpha1.RepositoryGroup, repo *v1alpha1.Repository) error

DefaultValues defaults values from the given config, group and repository if they are missing

func DryConfig added in v0.0.289

func DryConfig(config *v1alpha1.SourceConfig)

func EnrichConfig added in v0.0.321

func EnrichConfig(config *v1alpha1.SourceConfig)

EnrichConfig ensures everything is populated

func GetOrCreateGroup

func GetOrCreateGroup(config *v1alpha1.SourceConfig, gitKind string, gitServerURL string, owner string) *v1alpha1.RepositoryGroup

GetOrCreateGroup get or create the group for the given name

func GetOrCreateRepository

func GetOrCreateRepository(group *v1alpha1.RepositoryGroup, repoName string) *v1alpha1.Repository

GetOrCreateRepository get or create the repository for the given name

func SortConfig added in v0.0.221

func SortConfig(config *v1alpha1.SourceConfig)

SortConfig sorts the repositories in each group

func SortRepositories added in v0.0.221

func SortRepositories(repositories []v1alpha1.Repository)

SortRepositories sorts the repositories

Types

This section is empty.

Jump to

Keyboard shortcuts

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