generator

package
v0.0.0-...-1eec387 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(ctx context.Context, cfg Config, out io.Writer) error

Generate generates new artifacts.go contents and writes it to out.

Types

type Config

type Config struct {
	// tag the generated source code as release or not
	Release bool
	Ignored *IgnoreConfig
}

Config defines the parameters for Generate.

type IgnoreConfig

type IgnoreConfig struct {
	Images  []ignoreImageConfig   `json:"images"`
	Debs    []ignoreDebConfig     `json:"debs"`
	OSImage []ignoreOSImageConfig `json:"osImage"`
}

IgnoreConfig defines the ignored versions of components.

Jump to

Keyboard shortcuts

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