profile

package
v0.0.0-...-ba1c585 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package profile defines types for the implementation of Vanadium profiles.

Index

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) VDLIsZero

func (x Library) VDLIsZero() bool

func (*Library) VDLRead

func (x *Library) VDLRead(dec vdl.Decoder) error

func (Library) VDLReflect

func (Library) VDLReflect(struct {
	Name string `vdl:"v.io/x/ref/services/profile.Library"`
})

func (Library) VDLWrite

func (x Library) VDLWrite(enc vdl.Encoder) 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) VDLIsZero

func (x Specification) VDLIsZero() bool

func (*Specification) VDLRead

func (x *Specification) VDLRead(dec vdl.Decoder) error

func (Specification) VDLReflect

func (Specification) VDLReflect(struct {
	Name string `vdl:"v.io/x/ref/services/profile.Specification"`
})

func (Specification) VDLWrite

func (x Specification) VDLWrite(enc vdl.Encoder) 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.

Jump to

Keyboard shortcuts

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