convert

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Build Strategy Types
	BuildStrategyDockerType = "Docker"
	BuildStrategySourceType = "Source"

	// Type of "From" image for Docker Strategy
	ImageStreamTag   = "ImageStreamTag"
	ImageStreamImage = "ImageStreamImage"
	DockerImage      = "DockerImage"

	// Build Source Types
	BuildSourceGit        = "Git"
	BuildSourceDockerfile = "Dockerfile"
	BuildSourceBinary     = "Binary"
	BuildSourceImage      = "Image"
	BuildSourceNone       = "None"

	// Git Proxy Environment Variables
	GitHTTPProxy  = "HTTP_PROXY"
	GitHTTPSProxy = "HTTPS_PROXY"
	GitNoProxy    = "NO_PROXY"

	// Buildah Strategy Param Names
	NoCacheParamName          = "no-cache"
	SquashParamName           = "squash"
	ForcePullParamName        = "pull"
	RuntimeStageFromParamName = "runtime-stage-from"

	// S2I Strategy Parameters
	S2iScriptsURLParamName  = "scripts-url"
	S2iIncrementalParamName = "incremental"
	S2iForcePullParamName   = "pull-policy"

	Timeout = 10 * time.Minute
)
View Source
const (
	ConfigMapsRFE            = "https://issues.redhat.com/browse/BUILD-1745"
	SecretsRFE               = "https://issues.redhat.com/browse/BUILD-1744"
	DockerStrategyVolumesRFE = "https://issues.redhat.com/browse/BUILD-1747"
	CustomScriptsRFE         = "https://issues.redhat.com/browse/BUILD-1641"
	IncrementalBuildRFE      = "https://issues.redhat.com/browse/BUILD-1607"
	PullSecretS2IRFE         = "https://issues.redhat.com/browse/BUILD-1749"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertOptions

type ConvertOptions struct {
	genericclioptions.IOStreams

	Client             client.Client
	Namespace          string
	ResourceType       string
	SearchRegistries   []string
	InsecureRegistries []string
	BlockRegistries    []string
	ExportDir          string
	Logger             logrus.FieldLogger
	// contains filtered or unexported fields
}

func (*ConvertOptions) Convert

func (t *ConvertOptions) Convert() error

Jump to

Keyboard shortcuts

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