flatcar

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TargetKey = "flatcar"

Variables

View Source
var DefaultConfig = &Config{
	Base: ubuntu.NobleConfig,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Base linux.DistroConfig
}

func (*Config) BuildContainer

func (c *Config) BuildContainer(ctx context.Context, client gwclient.Client, sOpt dalec.SourceOpts, spec *dalec.Spec, targetKey string, pkgState llb.State, opts ...llb.ConstraintsOpt) llb.State

func (*Config) BuildPkg

func (c *Config) BuildPkg(ctx context.Context, client gwclient.Client, sOpt dalec.SourceOpts, spec *dalec.Spec, targetKey string, opts ...llb.ConstraintsOpt) llb.State

func (*Config) ExtractPkg

func (c *Config) ExtractPkg(ctx context.Context, client gwclient.Client, sOpt dalec.SourceOpts, spec *dalec.Spec, targetKey string, pkgState llb.State, opts ...llb.ConstraintsOpt) llb.State

func (*Config) HandleWorker

func (c *Config) HandleWorker(ctx context.Context, client gwclient.Client) (*gwclient.Result, error)

func (*Config) Routes

func (c *Config) Routes(prefix string, spec *dalec.Spec) ([]frontend.Route, error)

func (*Config) RunTests

func (c *Config) RunTests(ctx context.Context, client gwclient.Client, sOpt dalec.SourceOpts, spec *dalec.Spec, targetKey string, opts ...llb.ConstraintsOpt) llb.StateOption

func (*Config) SysextEnv

func (c *Config) SysextEnv(spec *dalec.Spec, targetKey string) map[string]string

SysextEnv provides Flatcar-friendly defaults. Build args with the DALEC_SYSEXT_* prefix still override these.

func (*Config) SysextWorker

func (c *Config) SysextWorker(sOpt dalec.SourceOpts, opts ...llb.ConstraintsOpt) llb.State

func (*Config) Validate

func (c *Config) Validate(spec *dalec.Spec) error

func (*Config) Worker

func (c *Config) Worker(sOpt dalec.SourceOpts, opts ...llb.ConstraintsOpt) llb.State

Jump to

Keyboard shortcuts

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