Documentation
¶
Index ¶
- Constants
- func PatchDockerfileFile(path string) (string, error)
- func WithAutoUpdate() types.Option
- func WithBuildCacheDir(p string) types.Option
- func WithDockerfileNormalization() types.Option
- func WithDryRun() types.Option
- func WithImageRetry(n int) types.Option
- func WithImageRetryDelay(s int) types.Option
- func WithInfo(fn func(string)) types.Option
- func WithLabels(l map[string]string) types.Option
- func WithPodmanVersion(v Version) types.Option
- func WithPortOffset(o int) types.Option
- func WithPrefix(p string) types.Option
- func WithProjectName(n string) types.Option
- func WithSecretsDirectory(p string) types.Option
- func WithWorkingDirectory(p string) types.Option
- func WithoutDefaultNetwork() types.Option
- func WithoutInstallSection() types.Option
- func WithoutNetworkAliases() types.Option
- func WithoutPrefix() types.Option
- func WithoutSELinux() types.Option
- type Directive
- type QuadletUnit
- type Section
- type TranspileOption
- type UnitType
- type Version
- type Warning
- type WarningLevel
Constants ¶
View Source
const ( WarningSkipped = types.WarningSkipped WarningDegraded = types.WarningDegraded WarningFatal = types.WarningFatal )
View Source
const ( UnitContainer = types.UnitContainer UnitNetwork = types.UnitNetwork UnitVolume = types.UnitVolume UnitImage = types.UnitImage UnitBuild = types.UnitBuild )
View Source
const ( SectionUnit = types.SectionUnit SectionService = types.SectionService SectionInstall = types.SectionInstall SectionContainer = types.SectionContainer SectionNetwork = types.SectionNetwork SectionVolume = types.SectionVolume SectionImage = types.SectionImage SectionBuild = types.SectionBuild )
Variables ¶
This section is empty.
Functions ¶
func PatchDockerfileFile ¶
func WithAutoUpdate ¶
func WithBuildCacheDir ¶
func WithDryRun ¶
func WithImageRetry ¶
func WithImageRetryDelay ¶
func WithPodmanVersion ¶
func WithPortOffset ¶
func WithPrefix ¶
func WithProjectName ¶
func WithSecretsDirectory ¶
func WithWorkingDirectory ¶
func WithoutDefaultNetwork ¶
func WithoutInstallSection ¶
func WithoutNetworkAliases ¶
func WithoutPrefix ¶
func WithoutSELinux ¶
Types ¶
type QuadletUnit ¶
type QuadletUnit = types.QuadletUnit
func Transpile ¶
func Transpile(project *types.Project, opts ...TranspileOption) ([]QuadletUnit, error)
func TranspileFile ¶
func TranspileFile(composePath string, opts ...TranspileOption) ([]QuadletUnit, error)
type TranspileOption ¶
type Version ¶
func ParseVersion ¶
type WarningLevel ¶
type WarningLevel = types.WarningLevel
Click to show internal directories.
Click to hide internal directories.