Documentation
¶
Index ¶
- Constants
- Variables
- type Config
- func (c *Config) BuildContainer(ctx context.Context, client gwclient.Client, sOpt dalec.SourceOpts, ...) llb.State
- func (c *Config) BuildPkg(ctx context.Context, client gwclient.Client, sOpt dalec.SourceOpts, ...) llb.State
- func (c *Config) ExtractPkg(ctx context.Context, client gwclient.Client, sOpt dalec.SourceOpts, ...) llb.State
- func (c *Config) HandleWorker(ctx context.Context, client gwclient.Client) (*gwclient.Result, error)
- func (c *Config) Routes(prefix string, spec *dalec.Spec) ([]frontend.Route, error)
- func (c *Config) RunTests(ctx context.Context, client gwclient.Client, sOpt dalec.SourceOpts, ...) llb.StateOption
- func (c *Config) SysextEnv(spec *dalec.Spec, targetKey string) map[string]string
- func (c *Config) SysextWorker(sOpt dalec.SourceOpts, opts ...llb.ConstraintsOpt) llb.State
- func (c *Config) Validate(spec *dalec.Spec) error
- func (c *Config) Worker(sOpt dalec.SourceOpts, opts ...llb.ConstraintsOpt) llb.State
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 (*Config) ExtractPkg ¶
func (*Config) HandleWorker ¶
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 ¶
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) Worker ¶
func (c *Config) Worker(sOpt dalec.SourceOpts, opts ...llb.ConstraintsOpt) llb.State
Click to show internal directories.
Click to hide internal directories.