Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Architecture ¶
type Architecture int
Architecture represents a target system's architecture
const (
// AMD64 represents the x80_64 architecture
AMD64 Architecture
)
func ParseArchitecture ¶
func ParseArchitecture(name string) (Architecture, error)
ParseArchitecture attempts to convert a string to a Architecture
func (Architecture) MarshalText ¶
func (a Architecture) MarshalText() ([]byte, error)
MarshalText implements the text marshaller method
func (Architecture) String ¶
func (a Architecture) String() string
String implements the Stringer interface.
func (*Architecture) UnmarshalText ¶
func (a *Architecture) UnmarshalText(text []byte) error
UnmarshalText implements the text unmarshaller method
func (Architecture) Variant ¶
func (a Architecture) Variant() ArchitectureVariant
Variant returns the architecture's Variant
type ArchitectureVariant ¶
type ArchitectureVariant int
ArchitectureVariant represents a variant in the target system's architecture
const (
// NoVariant indicates that there is no variant in the architecture
NoVariant ArchitectureVariant
)
func ParseArchitectureVariant ¶
func ParseArchitectureVariant(name string) (ArchitectureVariant, error)
ParseArchitectureVariant attempts to convert a string to a ArchitectureVariant
func (ArchitectureVariant) MarshalText ¶
func (v ArchitectureVariant) MarshalText() ([]byte, error)
MarshalText implements the text marshaller method
func (ArchitectureVariant) String ¶
func (v ArchitectureVariant) String() string
String implements the Stringer interface.
func (*ArchitectureVariant) UnmarshalText ¶
func (v *ArchitectureVariant) UnmarshalText(text []byte) error
UnmarshalText implements the text unmarshaller method
type EmbeddedFileContents ¶
type EmbeddedFileContents []byte
EmbeddedFileContents represents the contents of an embedded file
func (EmbeddedFileContents) MarshalText ¶
func (c EmbeddedFileContents) MarshalText() ([]byte, error)
MarshalText implements the text marshaller method
func (*EmbeddedFileContents) UnmarshalText ¶
func (c *EmbeddedFileContents) UnmarshalText(text []byte) (err error)
UnmarshalText implements the text unmarshaller method
type EmbeddedFiles ¶
type EmbeddedFiles map[string]EmbeddedFileContents
EmbeddedFiles is a lit of embedded files
type OperatingSystem ¶
type OperatingSystem int
OperatingSystem specifies the operating system
const (
// Linux represents the linux operating system
Linux OperatingSystem
)
func ParseOperatingSystem ¶
func ParseOperatingSystem(name string) (OperatingSystem, error)
ParseOperatingSystem attempts to convert a string to a Architecture
func (OperatingSystem) MarshalText ¶
func (o OperatingSystem) MarshalText() ([]byte, error)
MarshalText implements the text marshaller method
func (OperatingSystem) String ¶
func (o OperatingSystem) String() string
String implements the Stringer interface.
func (*OperatingSystem) UnmarshalText ¶
func (o *OperatingSystem) UnmarshalText(text []byte) error
UnmarshalText implements the text unmarshaller method
type Version ¶
type Version struct { Major int // Major is the package's major version Minor int // Minor is the package's minor version Patch int // Patch is the package's patch version Tag string // Tag is the package version's tag }
Version represents the version of a lime package
func (*Version) MarshalText ¶
MarshalText implements the text marshaller method
func (*Version) UnmarshalText ¶
UnmarshalText implements the text unmarshaller method