Documentation ¶
Index ¶
- type API
- type Artifacts
- type ArtifactsRPMMap
- type BuildOpts
- type BuildOptsRPM
- type ComponentModule
- type ComponentRPM
- type Components
- type Configurations
- type Data
- type Defaults
- type DefaultsData
- type Dependencies
- type DetectVersionDocument
- type License
- type ModuleMd
- type NotBackwardsCompatibleModuleMd
- type Profile
- type References
- type ServiceLevel
- type ServiceLevelType
- type V3
- type V3Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifacts ¶ added in v0.3.8
type Artifacts struct { Rpms []string `yaml:"rpms,omitempty"` RpmMap map[string]map[string]*ArtifactsRPMMap `yaml:"rpm-map,omitempty"` }
type ArtifactsRPMMap ¶ added in v0.3.8
type BuildOpts ¶ added in v0.3.8
type BuildOpts struct { Rpms *BuildOptsRPM `yaml:"rpms,omitempty"` Arches []string `yaml:"arches,omitempty"` }
type BuildOptsRPM ¶ added in v0.3.8
type ComponentModule ¶ added in v0.3.8
type ComponentRPM ¶ added in v0.3.8
type ComponentRPM struct { Name string `yaml:"name,omitempty"` Rationale string `yaml:"rationale,omitempty"` Repository string `yaml:"repository,omitempty"` Cache string `yaml:"cache,omitempty"` Ref string `yaml:"ref,omitempty"` Buildonly bool `yaml:"buildonly,omitempty"` Buildroot bool `yaml:"buildroot,omitempty"` SrpmBuildroot bool `yaml:"srpm-buildroot,omitempty"` Buildorder int `yaml:"buildorder,omitempty"` Arches []string `yaml:"arches,omitempty"` Multilib []string `yaml:"multilib,omitempty"` }
type Components ¶ added in v0.3.8
type Components struct { Rpms map[string]*ComponentRPM `yaml:"rpms,omitempty"` Modules map[string]*ComponentModule `yaml:"modules,omitempty"` }
type Configurations ¶ added in v0.3.8
type Data ¶ added in v0.3.8
type Data struct { Name string `yaml:"name,omitempty"` Stream string `yaml:"stream,omitempty"` Version string `yaml:"version,omitempty"` StaticContext bool `yaml:"static_context,omitempty"` Context string `yaml:"context,omitempty"` Arch string `yaml:"arch,omitempty"` Summary string `yaml:"summary,omitempty"` Description string `yaml:"description,omitempty"` ServiceLevels map[ServiceLevelType]*ServiceLevel `yaml:"servicelevels,omitempty"` License *License `yaml:"license,omitempty"` Xmd map[string]map[string]string `yaml:"xmd,omitempty"` Dependencies []*Dependencies `yaml:"dependencies,omitempty"` References *References `yaml:"references,omitempty"` Profiles map[string]*Profile `yaml:"profiles,omitempty"` Profile map[string]*Profile `yaml:"profile,omitempty"` API *API `yaml:"api,omitempty"` Filter *API `yaml:"filter,omitempty"` BuildOpts *BuildOpts `yaml:"buildopts,omitempty"` Components *Components `yaml:"components,omitempty"` Artifacts *Artifacts `yaml:"artifacts,omitempty"` }
type Defaults ¶ added in v0.3.8
type Defaults struct { Document string `yaml:"document,omitempty"` Version int `yaml:"version,omitempty"` Data *DefaultsData `yaml:"data,omitempty"` }
type DefaultsData ¶ added in v0.3.8
type Dependencies ¶ added in v0.3.8
type DetectVersionDocument ¶ added in v0.3.8
type NotBackwardsCompatibleModuleMd ¶ added in v0.4.1
func Parse ¶
func Parse(input []byte) (*NotBackwardsCompatibleModuleMd, error)
func (*NotBackwardsCompatibleModuleMd) Marshal ¶ added in v0.4.1
func (m *NotBackwardsCompatibleModuleMd) Marshal(fs billy.Filesystem, path string) error
type References ¶ added in v0.3.8
type ServiceLevel ¶ added in v0.3.8
type ServiceLevel struct {
Eol string `yaml:"eol,omitempty"`
}
type ServiceLevelType ¶ added in v0.3.8
type ServiceLevelType string
const ( ServiceLevelRawhide ServiceLevelType = "rawhide" ServiceLevelStableAPI ServiceLevelType = "stable_api" ServiceLevelBugFixes ServiceLevelType = "bug_fixes" ServiceLevelSecurityFixes ServiceLevelType = "security_fixes" )
type V3Data ¶ added in v0.3.8
type V3Data struct { Name string `yaml:"name,omitempty"` Stream string `yaml:"stream,omitempty"` Summary string `yaml:"summary,omitempty"` Description string `yaml:"description,omitempty"` License []string `yaml:"license,omitempty"` Xmd map[string]map[string]string `yaml:"xmd,omitempty"` Configurations []*Configurations `yaml:"configurations,omitempty"` References *References `yaml:"references,omitempty"` Profiles map[string]*Profile `yaml:"profiles,omitempty"` Profile map[string]*Profile `yaml:"profile,omitempty"` API *API `yaml:"api,omitempty"` Filter *API `yaml:"filter,omitempty"` Demodularized *API `yaml:"demodularized,omitempty"` Components *Components `yaml:"components,omitempty"` }
Click to show internal directories.
Click to hide internal directories.