Documentation ¶
Overview ¶
Package binary defines types for describing executable binaries.
Index ¶
Constants ¶
View Source
const MissingChecksum = ""
View Source
const MissingSize = int64(-1)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Description ¶
type Description struct { // Name is the Object name of the application binary that can // be used to fetch the actual binary from a content server. Name string // Profiles is a set of names of compatible profiles. Each // name can either be an Object name that resolves to a // Profile, or can be the profile's label, e.g.: // // "profiles/google/cluster/diskfull" // "linux-media" // // Application developers can specify compatible profiles by // hand, but we also want to be able to automatically derive // the matching profiles from examining the binary itself // (e.g. that's what Build.Describe() does). Profiles map[string]bool }
Description describes a binary. Binaries are named and have been determined to run on some set of profiles. The mechanism for determing profiles is specifically not specified and left to the implementation of the interface that generates the description.
func (Description) VDLIsZero ¶
func (x Description) VDLIsZero() bool
func (Description) VDLReflect ¶
func (Description) VDLReflect(struct { Name string `vdl:"v.io/v23/services/binary.Description"` })
Click to show internal directories.
Click to hide internal directories.