v1alpha1

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "aptify/v1alpha1"

Variables

This section is empty.

Functions

func GetConfigByKind

func GetConfigByKind(kind string) (types.Config, error)

Types

type ComponentConfig

type ComponentConfig struct {
	// Name is the name of the component.
	Name string
	// Packages is the list of file system paths/glob patterns to deb files that
	// will be included within the component.
	Packages []string
}

ComponentConfig is the configuration for a component.

type ReleaseConfig

type ReleaseConfig struct {
	// Name is the name of the release.
	Name string
	// Version is the version of the release.
	Version string
	// Origin is the origin of the release.
	// This specifies the source or the entity responsible for creating and distributing the release.
	Origin string
	// Label is the label of the release.
	// This provides a human-readable identifier or tag for the release.
	Label string
	// Suite is the suite of the release.
	// This categorizes the release into a broader collection or group of releases.
	Suite string
	// Description is a description of the release.
	Description string
	// Components is the list of components (and their packages) within the release.
	Components []ComponentConfig
}

ReleaseConfig is the configuration for a release.

type Repository

type Repository struct {
	types.TypeMeta `yaml:",inline"`
	// Releases is the list of releases to generate.
	Releases []ReleaseConfig
}

func (*Repository) GetAPIVersion

func (r *Repository) GetAPIVersion() string

func (*Repository) GetKind

func (r *Repository) GetKind() string

func (*Repository) PopulateTypeMeta

func (r *Repository) PopulateTypeMeta()

Jump to

Keyboard shortcuts

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