buildsettings

package
v1.250.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBuildSettingsInfo

func CreateBuildSettingsInfo(config *BuildOptions, buildTool string) (string, error)

Types

type BuildOptions

type BuildOptions struct {
	Profiles                    []string `json:"profiles,omitempty"`
	Publish                     bool     `json:"publish,omitempty"`
	CreateBOM                   bool     `json:"createBOM,omitempty"`
	LogSuccessfulMavenTransfers bool     `json:"logSuccessfulMavenTransfers,omitempty"`
	GlobalSettingsFile          string   `json:"globalSettingsFile,omitempty"`
	DefaultNpmRegistry          string   `json:"defaultNpmRegistry,omitempty"`
	BuildSettingsInfo           string   `json:"buildSettingsInfo,omitempty"`
	DockerImage                 string   `json:"dockerImage,omitempty"`
}

type BuildSettings

type BuildSettings struct {
	GolangBuild       []BuildOptions `json:"golangBuild,omitempty"`
	GradleBuild       []BuildOptions `json:"gradleBuild,omitempty"`
	HelmExecute       []BuildOptions `json:"helmExecute,omitempty"`
	KanikoExecute     []BuildOptions `json:"kanikoExecute,omitempty"`
	MavenBuild        []BuildOptions `json:"mavenBuild,omitempty"`
	MtaBuild          []BuildOptions `json:"mtaBuild,omitempty"`
	PythonBuild       []BuildOptions `json:"pythonBuild,omitempty"`
	NpmExecuteScripts []BuildOptions `json:"npmExecuteScripts,omitempty"`
	CnbBuild          []BuildOptions `json:"cnbBuild,omitempty"`
}

Jump to

Keyboard shortcuts

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