Documentation ¶
Index ¶
- Constants
- type GitSource
- type GithubReleaseSource
- type HelmSource
- type Source
- type SourceConfiguration
- type Template
- type VendirConfig
- func (c *VendirConfig) Contents() []vendirconf.DirectoryContents
- func (c *VendirConfig) Directories() []vendirconf.Directory
- func (c *VendirConfig) FetchMode(ishelmTemplateExist bool) string
- func (c *VendirConfig) InitiatliseDirectories() error
- func (c *VendirConfig) Load() error
- func (c *VendirConfig) Save() error
- func (c *VendirConfig) SetContents(contents []vendirconf.DirectoryContents)
- type VendirRunner
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
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
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
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
Click to show internal directories.
Click to hide internal directories.