Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Choice ¶
type Choice struct { ID string // Unique identifier for the choice. Visible bool // Visibility of the choice in the installer UI. PkgRefID string // Package reference ID associated with the choice. }
Choice represents an individual choice in the installer.
type DistributionBuilder ¶
type DistributionBuilder struct { Title string // Title of the installer. Organization string // Organization name. Identifier string // Unique identifier for the installer. Version string // Version of the installer. MinOSVersion string // Minimum OS version required for the installer. LicenseFile string // Path to the license file. Choices []Choice // List of choices available in the installer. }
DistributionBuilder is used to build the distribution XML for an installer.
func NewDistributionBuilder ¶
func NewDistributionBuilder() *DistributionBuilder
func (*DistributionBuilder) AddChoice ¶
func (b *DistributionBuilder) AddChoice(id string, visible bool, pkgRefID string)
func (*DistributionBuilder) AddLicense ¶
func (b *DistributionBuilder) AddLicense(file string)
func (*DistributionBuilder) Build ¶
func (b *DistributionBuilder) Build() string
Click to show internal directories.
Click to hide internal directories.