Back to godoc.org

Package pb

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Index

type Child

type Child struct {
	Suffix               string   `protobuf:"bytes,1,opt,name=suffix,proto3" json:"suffix,omitempty"`
	Sha1                 []byte   `protobuf:"bytes,2,opt,name=sha1,proto3" json:"sha1,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Child is the last part and its sha1 tip.

func (*Child) Descriptor

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

func (*Child) GetSha1

func (m *Child) GetSha1() []byte

func (*Child) GetSuffix

func (m *Child) GetSuffix() string

func (*Child) ProtoMessage

func (*Child) ProtoMessage()

func (*Child) Reset

func (m *Child) Reset()

func (*Child) String

func (m *Child) String() string

func (*Child) XXX_DiscardUnknown

func (m *Child) XXX_DiscardUnknown()

func (*Child) XXX_Marshal

func (m *Child) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Child) XXX_Merge

func (m *Child) XXX_Merge(src proto.Message)

func (*Child) XXX_Size

func (m *Child) XXX_Size() int

func (*Child) XXX_Unmarshal

func (m *Child) XXX_Unmarshal(b []byte) error

type DebugState

type DebugState struct {
	Known                []*DebugState_Ref `protobuf:"bytes,1,rep,name=known,proto3" json:"known,omitempty"`
	Current              []*DebugState_Ref `protobuf:"bytes,2,rep,name=current,proto3" json:"current,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

DebugState is returned as part of GetDebugJobState RPC response.

func (*DebugState) Descriptor

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

func (*DebugState) GetCurrent

func (m *DebugState) GetCurrent() []*DebugState_Ref

func (*DebugState) GetKnown

func (m *DebugState) GetKnown() []*DebugState_Ref

func (*DebugState) ProtoMessage

func (*DebugState) ProtoMessage()

func (*DebugState) Reset

func (m *DebugState) Reset()

func (*DebugState) String

func (m *DebugState) String() string

func (*DebugState) XXX_DiscardUnknown

func (m *DebugState) XXX_DiscardUnknown()

func (*DebugState) XXX_Marshal

func (m *DebugState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugState) XXX_Merge

func (m *DebugState) XXX_Merge(src proto.Message)

func (*DebugState) XXX_Size

func (m *DebugState) XXX_Size() int

func (*DebugState) XXX_Unmarshal

func (m *DebugState) XXX_Unmarshal(b []byte) error

type DebugState_Ref

type DebugState_Ref struct {
	Ref                  string   `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Commit               string   `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DebugState_Ref) Descriptor

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

func (*DebugState_Ref) GetCommit

func (m *DebugState_Ref) GetCommit() string

func (*DebugState_Ref) GetRef

func (m *DebugState_Ref) GetRef() string

func (*DebugState_Ref) ProtoMessage

func (*DebugState_Ref) ProtoMessage()

func (*DebugState_Ref) Reset

func (m *DebugState_Ref) Reset()

func (*DebugState_Ref) String

func (m *DebugState_Ref) String() string

func (*DebugState_Ref) XXX_DiscardUnknown

func (m *DebugState_Ref) XXX_DiscardUnknown()

func (*DebugState_Ref) XXX_Marshal

func (m *DebugState_Ref) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugState_Ref) XXX_Merge

func (m *DebugState_Ref) XXX_Merge(src proto.Message)

func (*DebugState_Ref) XXX_Size

func (m *DebugState_Ref) XXX_Size() int

func (*DebugState_Ref) XXX_Unmarshal

func (m *DebugState_Ref) XXX_Unmarshal(b []byte) error

type RefSpace

type RefSpace struct {
	Prefix               string   `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Children             []*Child `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RefSpace is a bunch of children which share the same ref namespace (prefix).

func (*RefSpace) Descriptor

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

func (*RefSpace) GetChildren

func (m *RefSpace) GetChildren() []*Child

func (*RefSpace) GetPrefix

func (m *RefSpace) GetPrefix() string

func (*RefSpace) ProtoMessage

func (*RefSpace) ProtoMessage()

func (*RefSpace) Reset

func (m *RefSpace) Reset()

func (*RefSpace) String

func (m *RefSpace) String() string

func (*RefSpace) XXX_DiscardUnknown

func (m *RefSpace) XXX_DiscardUnknown()

func (*RefSpace) XXX_Marshal

func (m *RefSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RefSpace) XXX_Merge

func (m *RefSpace) XXX_Merge(src proto.Message)

func (*RefSpace) XXX_Size

func (m *RefSpace) XXX_Size() int

func (*RefSpace) XXX_Unmarshal

func (m *RefSpace) XXX_Unmarshal(b []byte) error

type RepositoryState

type RepositoryState struct {
	Spaces               []*RefSpace `protobuf:"bytes,1,rep,name=spaces,proto3" json:"spaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

RepositoryState stores tips of all watched refs in a repo.

func (*RepositoryState) Descriptor

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

func (*RepositoryState) GetSpaces

func (m *RepositoryState) GetSpaces() []*RefSpace

func (*RepositoryState) ProtoMessage

func (*RepositoryState) ProtoMessage()

func (*RepositoryState) Reset

func (m *RepositoryState) Reset()

func (*RepositoryState) String

func (m *RepositoryState) String() string

func (*RepositoryState) XXX_DiscardUnknown

func (m *RepositoryState) XXX_DiscardUnknown()

func (*RepositoryState) XXX_Marshal

func (m *RepositoryState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepositoryState) XXX_Merge

func (m *RepositoryState) XXX_Merge(src proto.Message)

func (*RepositoryState) XXX_Size

func (m *RepositoryState) XXX_Size() int

func (*RepositoryState) XXX_Unmarshal

func (m *RepositoryState) XXX_Unmarshal(b []byte) error

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier