auto

package
v0.0.0-...-ebc009d Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package auto provides automatic detector of project type, reflections.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(meta *meta.Options) (*project.Contents, error)

Build the project type and structure based on project type.

Types

type CI

type CI struct {
	Provider string `yaml:"provider"`
}

CI defines CI settings.

type CommandConfig

type CommandConfig struct {
	NamedConfig

	DisableImage bool `yaml:"disableImage"`
}

CommandConfig sets up settings for command build.

type CustomStep

type CustomStep struct {
	Name     string   `yaml:"name"`
	Inputs   []string `yaml:"inputs"`
	Toplevel bool     `yaml:"toplevel"`
}

CustomStep defines a custom step to be built.

type CustomSteps

type CustomSteps struct {
	Steps []CustomStep `yaml:"steps"`
}

CustomSteps defines custom steps to be generated.

type CustomStepsGenerate

type CustomStepsGenerate = CustomSteps

CustomStepsGenerate defines custom steps that run before the build.

type NamedConfig

type NamedConfig struct {
	// contains filtered or unexported fields
}

NamedConfig is a base type which provides config name.

func (*NamedConfig) Name

func (cfg *NamedConfig) Name() string

Name implements named interface.

Jump to

Keyboard shortcuts

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