update

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ChartsBuildScriptsRepositoryURL is the URL pointing to the charts builds scripts
	ChartsBuildScriptsRepositoryURL = "https://github.com/rancher/charts-build-scripts.git"
	// ChartsBuildScriptsRepositoryBranch is the branch that has the latest documentation
	ChartsBuildScriptsRepositoryBranch = "master"
	// ChartsBuildScriptRepositoryTemplatesDirectory is the folder within our repository that contains templates
	ChartsBuildScriptRepositoryTemplatesDirectory = "templates"
	// ChartsBuildScriptRepositoryTemplateDirectory is the folder within templates that contains the Go templates to add to the repository
	ChartsBuildScriptRepositoryTemplateDirectory = "template"
	// ChartsBuildScriptRepositoryTemplateUpdateOptions is the file within templates that has the update options
	ChartsBuildScriptRepositoryTemplateUpdateOptions = "update.yaml"
)

Functions

func GetDocumentation

func GetDocumentation(rootFs billy.Filesystem, chartsScriptOptions options.ChartsScriptOptions) error

GetDocumentation updates a charts-build-scripts repository with the latest docs

Types

type Options

type Options map[string][]string

Options are a list of options on what files to copy

func (Options) CopyTemplate

func (u Options) CopyTemplate(rootFs billy.Filesystem, chartsScriptOptions options.ChartsScriptOptions, templateDir string) error

CopyTemplate applies the configuration to a template located in templateDir and adds it to the repo

Jump to

Keyboard shortcuts

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