dep: github.com/golang/dep/gps/internal/pb Index | Files

package pb

import "github.com/golang/dep/gps/internal/pb"

Package pb provides generated Protocol Buffers for cache serialization.

Package pb is a generated protocol buffer package.

It is generated from these files:

source_cache.proto

It has these top-level messages:

Constraint
ProjectProperties
LockedProject

Index

Package Files

pb.go source_cache.pb.go

Variables

var Constraint_Type_name = map[int32]string{
    0:  "Revision",
    1:  "Branch",
    2:  "DefaultBranch",
    3:  "Version",
    4:  "Semver",
}
var Constraint_Type_value = map[string]int32{
    "Revision":      0,
    "Branch":        1,
    "DefaultBranch": 2,
    "Version":       3,
    "Semver":        4,
}

type Constraint Uses

type Constraint struct {
    Type  Constraint_Type `protobuf:"varint,1,opt,name=type,enum=pb.Constraint_Type" json:"type,omitempty"`
    Value string          `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

Constraint is a serializable representation of a gps.Constraint or gps.UnpairedVersion.

func (*Constraint) Descriptor Uses

func (*Constraint) Descriptor() ([]byte, []int)

func (*Constraint) GetType Uses

func (m *Constraint) GetType() Constraint_Type

func (*Constraint) GetValue Uses

func (m *Constraint) GetValue() string

func (*Constraint) ProtoMessage Uses

func (*Constraint) ProtoMessage()

func (*Constraint) Reset Uses

func (m *Constraint) Reset()

func (*Constraint) String Uses

func (m *Constraint) String() string

type Constraint_Type Uses

type Constraint_Type int32
const (
    Constraint_Revision      Constraint_Type = 0
    Constraint_Branch        Constraint_Type = 1
    Constraint_DefaultBranch Constraint_Type = 2
    Constraint_Version       Constraint_Type = 3
    Constraint_Semver        Constraint_Type = 4
)

func (Constraint_Type) EnumDescriptor Uses

func (Constraint_Type) EnumDescriptor() ([]byte, []int)

func (Constraint_Type) String Uses

func (x Constraint_Type) String() string

type LockedProject Uses

type LockedProject struct {
    Root            string      `protobuf:"bytes,1,opt,name=root" json:"root,omitempty"`
    Source          string      `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
    UnpairedVersion *Constraint `protobuf:"bytes,3,opt,name=unpairedVersion" json:"unpairedVersion,omitempty"`
    Revision        string      `protobuf:"bytes,4,opt,name=revision" json:"revision,omitempty"`
    Packages        []string    `protobuf:"bytes,5,rep,name=packages" json:"packages,omitempty"`
}

LockedProject is a serializable representation of gps.LockedProject.

func (*LockedProject) Descriptor Uses

func (*LockedProject) Descriptor() ([]byte, []int)

func (*LockedProject) GetPackages Uses

func (m *LockedProject) GetPackages() []string

func (*LockedProject) GetRevision Uses

func (m *LockedProject) GetRevision() string

func (*LockedProject) GetRoot Uses

func (m *LockedProject) GetRoot() string

func (*LockedProject) GetSource Uses

func (m *LockedProject) GetSource() string

func (*LockedProject) GetUnpairedVersion Uses

func (m *LockedProject) GetUnpairedVersion() *Constraint

func (*LockedProject) ProtoMessage Uses

func (*LockedProject) ProtoMessage()

func (*LockedProject) Reset Uses

func (m *LockedProject) Reset()

func (*LockedProject) String Uses

func (m *LockedProject) String() string

type ProjectProperties Uses

type ProjectProperties struct {
    Root       string      `protobuf:"bytes,1,opt,name=root" json:"root,omitempty"`
    Source     string      `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
    Constraint *Constraint `protobuf:"bytes,3,opt,name=constraint" json:"constraint,omitempty"`
}

ProjectProperties is a serializable representation of gps.ProjectRoot and gps.ProjectProperties.

func (*ProjectProperties) Descriptor Uses

func (*ProjectProperties) Descriptor() ([]byte, []int)

func (*ProjectProperties) GetConstraint Uses

func (m *ProjectProperties) GetConstraint() *Constraint

func (*ProjectProperties) GetRoot Uses

func (m *ProjectProperties) GetRoot() string

func (*ProjectProperties) GetSource Uses

func (m *ProjectProperties) GetSource() string

func (*ProjectProperties) ProtoMessage Uses

func (*ProjectProperties) ProtoMessage()

func (*ProjectProperties) Reset Uses

func (m *ProjectProperties) Reset()

func (*ProjectProperties) String Uses

func (m *ProjectProperties) String() string

Package pb imports 3 packages (graph) and is imported by 53 packages. Updated 2018-01-28. Refresh now. Tools for package owners.