model

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Version  string `yaml:"version"`
	Name     string `yaml:"name"`
	Registry struct {
		Addr     string `yaml:"addr"`
		Insecure bool   `yaml:"insecure"`
	} `yaml:"registry"`
	Export struct {
		Paths []string `yaml:"paths"`
	} `yaml:"export"`
	Modules []*Module `yaml:"modules"`
}

func (*Config) HasRegistry

func (c *Config) HasRegistry() bool

type Module

type Module struct {
	Name         string `yaml:"name"`
	Repository   string `yaml:"repository"`
	Path         string `yaml:"path"`
	Branch       string `yaml:"branch"`
	Tag          string `yaml:"tag"`
	OutputFolder string `yaml:"out"`
}

Jump to

Keyboard shortcuts

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