types

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Owner                  string     `short:"o" description:"Repository owner. [required]"`
	RepositoryName         string     `short:"r" long:"repo-name" description:"Repository name. [required]"`
	Debug                  bool       `long:"debug" description:"Debug mode."`
	DockerfileURL          string     `` /* 133-byte string literal not displayed */
	DockerfileName         string     `` /* 139-byte string literal not displayed */
	ExperimentalBranchName string     `long:"exp-branch" description:"Build a branch as experimental."`
	DockerImageName        string     `long:"image-name" description:"Docker image name."`
	Menu                   *MenuFiles `long:"menu" description:"Menu templates files."`
	RequirementsURL        string     `long:"rqts-url" description:"Use this requirements.txt to merge with the current requirements.txt. Can be a file path."`
	NoCache                bool       `long:"no-cache" description:"Set to 'true' to disable the Docker build cache."`
	ForceEditionURI        bool       `long:"force-edit-url" description:"Add a dedicated edition URL for each version."`
}

Configuration task configuration.

type MenuFiles struct {
	JsURL   string `long:"js-url" description:"URL of the template of the JS file use for the multi version menu."`
	JsFile  string `long:"js-file" description:"File path of the template of the JS file use for the multi version menu."`
	CSSURL  string `long:"css-url" description:"URL of the template of the CSS file use for the multi version menu."`
	CSSFile string `long:"css-file" description:"File path of the template of the CSS file use for the multi version menu."`
}

MenuFiles menu template files references

func (m *MenuFiles) HasCSSFile() bool

HasCSSFile has CSS file

func (m *MenuFiles) HasJsFile() bool

HasJsFile has JS file

type NoOption

type NoOption struct{}

NoOption empty struct.

type VersionsInformation

type VersionsInformation struct {
	Current      string
	Latest       string
	Experimental string
	CurrentPath  string
}

VersionsInformation versions information

Jump to

Keyboard shortcuts

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