sources

package
v0.0.0-...-d512ffd Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	GithubRelease                string = "Github Release"
	Git                          string = "Git Repository"
	HelmRepo                     string = "Helm Chart from Helm Repository"
	ChartFromGit                 string = "Helm Chart from Git Repository"
	LocalDirectory               string = "Local Directory"
	MultipleFetchOptionsSelected string = "MultipleFetchOptionsSelected"
)
View Source
const (
	LatestVersion = "latest"
)
View Source
const (
	VendirSyncDirectory = "upstream"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GitSource

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

func NewGitSource

func NewGitSource(ui cmdcore.AuthoringUI, vendirConfig *VendirConfig) *GitSource

func (*GitSource) Configure

func (g *GitSource) Configure() error

type GithubReleaseSource

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

func NewGithubReleaseSource

func NewGithubReleaseSource(ui cmdcore.AuthoringUI, vendirConfig *VendirConfig) *GithubReleaseSource

func (*GithubReleaseSource) Configure

func (g *GithubReleaseSource) Configure() error

type HelmSource

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

func NewHelmSource

func NewHelmSource(ui cmdcore.AuthoringUI, vendirConfig *VendirConfig) *HelmSource

func (*HelmSource) Configure

func (h *HelmSource) Configure() error

type Source

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

func NewSource

func NewSource(ui cmdcore.AuthoringUI, build buildconfigs.Build) Source

func (Source) Configure

func (f Source) Configure() (string, error)

type SourceConfiguration

type SourceConfiguration interface {
	Configure() error
}

type Template

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

func NewTemplate

func NewTemplate(ui cmdcore.AuthoringUI, build buildconfigs.Build) *Template

func (*Template) Configure

func (t *Template) Configure(fetchMode string) error

type VendirConfig

type VendirConfig struct {
	Config *vendirconf.Config
	// contains filtered or unexported fields
}

func NewVendirConfig

func NewVendirConfig(path string) *VendirConfig

func (*VendirConfig) Contents

func (c *VendirConfig) Contents() []vendirconf.DirectoryContents

func (*VendirConfig) Directories

func (c *VendirConfig) Directories() []vendirconf.Directory

func (*VendirConfig) FetchMode

func (c *VendirConfig) FetchMode(ishelmTemplateExist bool) string

func (*VendirConfig) InitiatliseDirectories

func (c *VendirConfig) InitiatliseDirectories() error

func (*VendirConfig) Load

func (c *VendirConfig) Load() error

func (*VendirConfig) Save

func (c *VendirConfig) Save() error

func (*VendirConfig) SetContents

func (c *VendirConfig) SetContents(contents []vendirconf.DirectoryContents)

type VendirRunner

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

func NewVendirRunner

func NewVendirRunner(ui cmdcore.AuthoringUI) VendirRunner

func (VendirRunner) Sync

func (r VendirRunner) Sync(fetchMode string) error

Jump to

Keyboard shortcuts

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