Documentation
¶
Overview ¶
Package profile defines types for the implementation of Vanadium profiles.
Index ¶
- type Library
- type LibraryTarget
- func (t *LibraryTarget) FinishField(_, _ vdl.Target) error
- func (t *LibraryTarget) FinishFields(_ vdl.FieldsTarget) error
- func (t *LibraryTarget) StartField(name string) (key, field vdl.Target, _ error)
- func (t *LibraryTarget) StartFields(tt *vdl.Type) (vdl.FieldsTarget, error)
- func (t *LibraryTarget) ZeroField(name string) error
- type Specification
- type SpecificationTarget
- func (t *SpecificationTarget) FinishField(_, _ vdl.Target) error
- func (t *SpecificationTarget) FinishFields(_ vdl.FieldsTarget) error
- func (t *SpecificationTarget) StartField(name string) (key, field vdl.Target, _ error)
- func (t *SpecificationTarget) StartFields(tt *vdl.Type) (vdl.FieldsTarget, error)
- func (t *SpecificationTarget) ZeroField(name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Library ¶
type Library struct { // Name is the name of the library. Name string // MajorVersion is the major version of the library. MajorVersion string // MinorVersion is the minor version of the library. MinorVersion string }
Library describes a shared library that applications may use.
func (*Library) MakeVDLTarget ¶
type LibraryTarget ¶
type LibraryTarget struct { Value *Library vdl.TargetBase vdl.FieldsTargetBase // contains filtered or unexported fields }
func (*LibraryTarget) FinishField ¶
func (t *LibraryTarget) FinishField(_, _ vdl.Target) error
func (*LibraryTarget) FinishFields ¶
func (t *LibraryTarget) FinishFields(_ vdl.FieldsTarget) error
func (*LibraryTarget) StartField ¶
func (t *LibraryTarget) StartField(name string) (key, field vdl.Target, _ error)
func (*LibraryTarget) StartFields ¶
func (t *LibraryTarget) StartFields(tt *vdl.Type) (vdl.FieldsTarget, error)
func (*LibraryTarget) ZeroField ¶
func (t *LibraryTarget) ZeroField(name string) error
type Specification ¶
type Specification struct { // Label is a human-friendly concise label for the profile, // e.g. "linux-media". Label string // Description is a human-friendly description of the profile. Description string // Arch is the target hardware architecture of the profile. Arch build.Architecture // Os is the target operating system of the profile. Os build.OperatingSystem // Format is the file format supported by the profile. Format build.Format // Libraries is a set of libraries the profile requires. Libraries map[Library]struct{} }
Specification is how we represent a profile internally. It should provide enough information to allow matching of binaries to devices.
func (*Specification) FillVDLTarget ¶
func (*Specification) MakeVDLTarget ¶
func (m *Specification) MakeVDLTarget() vdl.Target
func (Specification) VDLIsZero ¶
func (x Specification) VDLIsZero() bool
type SpecificationTarget ¶
type SpecificationTarget struct { Value *Specification vdl.TargetBase vdl.FieldsTargetBase // contains filtered or unexported fields }
func (*SpecificationTarget) FinishField ¶
func (t *SpecificationTarget) FinishField(_, _ vdl.Target) error
func (*SpecificationTarget) FinishFields ¶
func (t *SpecificationTarget) FinishFields(_ vdl.FieldsTarget) error
func (*SpecificationTarget) StartField ¶
func (t *SpecificationTarget) StartField(name string) (key, field vdl.Target, _ error)
func (*SpecificationTarget) StartFields ¶
func (t *SpecificationTarget) StartFields(tt *vdl.Type) (vdl.FieldsTarget, error)
func (*SpecificationTarget) ZeroField ¶
func (t *SpecificationTarget) ZeroField(name string) error
Directories
¶
Path | Synopsis |
---|---|
Command profile manages the Vanadium profile repository.
|
Command profile manages the Vanadium profile repository. |
Command profiled runs the profile daemon, which implements the v.io/x/ref/services/repository.Profile interface.
|
Command profiled runs the profile daemon, which implements the v.io/x/ref/services/repository.Profile interface. |
Click to show internal directories.
Click to hide internal directories.