Versions in this module Expand all Collapse all v0 v0.0.1 May 16, 2024 Changes in this version + const Anyrevision + const NoRevision + const PkgTarget_Catalog + var ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") + func GetRepoNameFromPkgRevName(name string) string + func IsRevLater(currentRev, latestRev string) bool + func LatestRevisionNumber(revs []string) string + func NextRevisionNumber(revs []string) (string, error) + func PackageToDir(pkg string) string + func RealmToName(pkg string) string + type Downstream struct + Package string + Realm string + Repository string + Target string + func (*Downstream) Descriptor() ([]byte, []int) + func (*Downstream) ProtoMessage() + func (in *Downstream) DeepCopy() *Downstream + func (in *Downstream) DeepCopyInto(out *Downstream) + func (m *Downstream) Marshal() (dAtA []byte, err error) + func (m *Downstream) MarshalTo(dAtA []byte) (int, error) + func (m *Downstream) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Downstream) Reset() + func (m *Downstream) Size() (n int) + func (m *Downstream) Unmarshal(dAtA []byte) error + func (m *Downstream) XXX_DiscardUnknown() + func (m *Downstream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Downstream) XXX_Merge(src proto.Message) + func (m *Downstream) XXX_Size() int + func (m *Downstream) XXX_Unmarshal(b []byte) error + func (r *Downstream) PkgString() string + func (this *Downstream) String() string + type PackageID struct + Package string + Realm string + Repository string + Revision string + Target string + Workspace string + func ParseBranch(tagstr string, catalog bool) (*PackageID, error) + func ParsePkgRev2PkgID(pkgstr string) (*PackageID, error) + func ParseTag(tagstr string, catalog bool) (*PackageID, error) + func (*PackageID) Descriptor() ([]byte, []int) + func (*PackageID) ProtoMessage() + func (in *PackageID) DeepCopy() *PackageID + func (in *PackageID) DeepCopyInto(out *PackageID) + func (m *PackageID) Marshal() (dAtA []byte, err error) + func (m *PackageID) MarshalTo(dAtA []byte) (int, error) + func (m *PackageID) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PackageID) Reset() + func (m *PackageID) Size() (n int) + func (m *PackageID) Unmarshal(dAtA []byte) error + func (m *PackageID) XXX_DiscardUnknown() + func (m *PackageID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PackageID) XXX_Merge(src proto.Message) + func (m *PackageID) XXX_Size() int + func (m *PackageID) XXX_Unmarshal(b []byte) error + func (r *PackageID) Branch(catalog bool) string + func (r *PackageID) DNSName() string + func (r *PackageID) GitRevision() string + func (r *PackageID) OutDir() string + func (r *PackageID) Path() string + func (r *PackageID) PkgRevString() string + func (r *PackageID) PkgString() string + func (r *PackageID) Tag(catalog bool) string + func (this *PackageID) String() string + type PkgState int64 + const PkgState_Approved + const PkgState_Installed + const PkgState_NotAvailable + const PkgState_Processed + const PkgState_Scheduled + const PkgState_Validated + func (r PkgState) String() string + type Upstream struct + Package string + Realm string + Repository string + Revision string + func (*Upstream) Descriptor() ([]byte, []int) + func (*Upstream) ProtoMessage() + func (in *Upstream) DeepCopy() *Upstream + func (in *Upstream) DeepCopyInto(out *Upstream) + func (m *Upstream) Marshal() (dAtA []byte, err error) + func (m *Upstream) MarshalTo(dAtA []byte) (int, error) + func (m *Upstream) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Upstream) Reset() + func (m *Upstream) Size() (n int) + func (m *Upstream) Unmarshal(dAtA []byte) error + func (m *Upstream) XXX_DiscardUnknown() + func (m *Upstream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Upstream) XXX_Merge(src proto.Message) + func (m *Upstream) XXX_Size() int + func (m *Upstream) XXX_Unmarshal(b []byte) error + func (r *Upstream) PkgRevName() string + func (r *Upstream) PkgString() string + func (this *Upstream) String() string