Documentation

Overview

    Package task exists to break circular dependnecy of poller and pollertesting packages.

    Index

    Constants

    View Source
    const ClassID = "poll-gerrit"

    Variables

    View Source
    var File_go_chromium_org_luci_cv_internal_gerrit_poller_task_task_proto protoreflect.FileDescriptor

    Functions

    This section is empty.

    Types

    type PollGerritTask

    type PollGerritTask struct {
    	LuciProject string `protobuf:"bytes,1,opt,name=luci_project,json=luciProject,proto3" json:"luci_project,omitempty"`
    	// eta is when this task is supposed to run.
    	Eta *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=eta,proto3" json:"eta,omitempty"`
    	// contains filtered or unexported fields
    }

      PollGerritTask performs next poll for a given LUCI Project.

      Queue: "poll-gerrit".

      func (*PollGerritTask) Descriptor

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

        Deprecated: Use PollGerritTask.ProtoReflect.Descriptor instead.

        func (*PollGerritTask) GetEta

        func (x *PollGerritTask) GetEta() *timestamppb.Timestamp

        func (*PollGerritTask) GetLuciProject

        func (x *PollGerritTask) GetLuciProject() string

        func (*PollGerritTask) ProtoMessage

        func (*PollGerritTask) ProtoMessage()

        func (*PollGerritTask) ProtoReflect

        func (x *PollGerritTask) ProtoReflect() protoreflect.Message

        func (*PollGerritTask) Reset

        func (x *PollGerritTask) Reset()

        func (*PollGerritTask) String

        func (x *PollGerritTask) String() string

        Source Files